Hi Hans,
I recompiled the reduced-range gyroid test (after changing the ranges
from |-2pi … 2pi| to |-pi … pi| and adding the vector mesh as you
suggested) and reopened the resulting PDF in Acrobat.
The grey veil I initially saw was not persistent and was apparently an
artefact of the preview renderer. The newly generated PDF displays the
coloured gyroid correctly in Acrobat, without any grey opaque overlay.
The cached compilation took:
MetaPost: 0.014 seconds
ConTeXt runtime: 0.271 seconds
Acrobat remains responsive with the vector mesh enabled, although the
0.05 pt mesh lines are naturally very difficult to distinguish at
ordinary zoom levels.
So the PDF viewer stress test appears successful here (Adobe Acrobat Pro
64-bit, version 2026.001.21691, on Windows 11.).
JP
Le 29/07/2026 à 15:40, Hans Hagen via ntg-context a écrit :
Hi,
So on this machine the cached run is roughly 27 times faster than the
initial run.
Good.
The complete |context gyroid-test.tex| command performed both runs
automatically and was measured with |/usr/bin/time -v| as:
|wall-clock time: 7.10 seconds maximum resident set size: 432,172 kB
CPU usage: 88% |
single core (no gpu usage)
This means that, on this Ryzen 5 5600 machine, the initial
calculation is about twice as fast as the approximately 14 seconds
you reported, while the cached run is also somewhat faster than your
0.45 seconds.
Ok, that fits when i compare cpu speeds charts.
The bitmap output remains compact and responsive in the PDF viewer,
despite the mesh containing more than 1.2 million triangles.
If you want to see the mesh ... best go for "pi" and not "2pi" ranges:
.....
normal = "smooth",
vector = true,
] ;
lmt_scene_render ;
draw lmt_scene_mesh "gyroid"
withpen pencircle scaled 0.05pt withcolor .8 ;
;
A nice stress test for pdf viewers (i tested sumatra/mupdf and okular).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry
to the Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net
(mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________