Re: update / new features
Jim Diamond via ntg-context <[email protected]> Wed, 29 Jul 2026 13:26:26 -0300
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 29, 2026 at 17:19 (+0200), Hans Hagen via ntg-context wrote:
> On 7/29/2026 4:42 PM, Jim Diamond via ntg-context wrote:
>> On Wed, Jul 29, 2026 at 13:57 (+0200), Jean-Pierre Delange via ntg-context wrote:
>>> 2.
>>> One internal cross-reference remains unresolved in the 3D document.
>> I notice that luametafun-threed.tex has
>> reference=fig:threed:process:2,
>> *twice*, once on like 513 and once on line 524.
>> I'd hate to go out on a limb and say this is the problem, but I'm
>> suspicious. :-)
> indeed, so now that you joined the testing:
I did? How careless of me.
I should have studied this: https://www.youtube.com/watch?v=Nks7C8JzyeA
> \startMPpage
> lmt_scene_start [
> width = 10cm,
> resolution = 150,
> supersample = 2,
> crop = true,
> projection = "perspective",
> light = (0,-1,-2),
> eye = (20,20,20),
> target = (0,0,0),
> up = (0,0,1),
> intensity = 1.1,
> cache = true,
> name = "example",
> ] ;
> lmt_scene_material [
> name = "surface",
> diffuse = (.9,.6,.2),
> specular = (.5,.5,.5),
> shininess = 25,
> opacity = 1,
> ambient = .25,
> ] ;
> lmt_scene_implicit [
> id = "chmutov",
> code = "32*(x*x*x*x*x*x + y*y*y*y*y*y + z*z*z*z*z*z) - 48*(x*x*x*x +
> y*y*y*y + z*z*z*z) + 18*(x*x + y*y + z*z) - 3",
> dfdx = "192*x*x*x*x*x - 192*x*x*x + 36*x",
> dfdy = "192*y*y*y*y*y - 192*y*y*y + 36*y",
> dfdz = "192*z*z*z*z*z - 192*z*z*z + 36*z",
> xmin = -1.3,
> xmax = 1.3,
> ymin = -1.3,
> ymax = 1.3,
> zmin = -1.3,
> zmax = 1.3,
> nx = 150,
> ny = 150,
> nz = 150,
> material = "surface",
> normal = "smooth",
> ] ;
> lmt_scene_stop ;
> \stopMPpage
> Needs 6.277 for the initial run
My poor old laptop (Ryzen 4700U, but not quite as old as yours) took
context test-mp.tex 6.67s user 0.15s system 99% cpu 6.852 total
> (5.866 metapost) ..
Pray tell: where/what are you reading for that number? When I
grep -i metapost the-log-file.log
I only find
mkxl run stats > metapost: 0.014 seconds, loading: 0.030, execution: 0.005, n: 3, average: 0.016, instances: 1, luacalls: 16452 (file: 15976, text: 0, script: 456, log: 20), memory: 0.000 M
If you spent 5.866 in metapost, it seems extremely unlikely I finished up
in 14 millis.
Similarly, the log file ends with
mkxl run stats > runtime: 0.353 seconds, 1 processed pages, 1 shipped pages, 2.831 pages/second
which seems to contradict the 6.67+0.15s reported by my shell.
Perhaps mkxl is reporting some metric version of seconds, and I'm stuck
with the Imperial one?
Aside from that, you will be pleased to know that it shows up well (*) in
all of xpdf, evince and my venerable Acroread 9.5.5.
(*) Not knowing what it is supposed to look like, I am speculating.
> only a million triangles and three times that on vertices. Kind of deep
> nested z-buffering here (some 1100 x 1100 pixels downsampled to 550x550
> anti aliased). I bet that on this silicon graphics machine of your past
> it took more time but maybe not.
I saw a SGI machine on sale a number of years ago, at a price I could have
afforded without crimping the budget substantially. But I resisted the
temptation. Which saved me some time today, because otherwise I would have
had to check your bet.
Jim
___________________________________________________________________________________
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
___________________________________________________________________________________