* [NTG-context] Curious about 3D Metapost
@ 2024-09-25 12:30 Shiv Shankar Dayal
2024-09-25 13:00 ` [NTG-context] " Hans Hagen via ntg-context
0 siblings, 1 reply; 4+ messages in thread
From: Shiv Shankar Dayal @ 2024-09-25 12:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
Please correct me if I'm wrong. LMTX has Metapost built in then can we
not write a pure lua extension of it to do real 3D probably using Vulkan?
--
Respect,
Shiv Shankar Dayal
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Curious about 3D Metapost
2024-09-25 12:30 [NTG-context] Curious about 3D Metapost Shiv Shankar Dayal
@ 2024-09-25 13:00 ` Hans Hagen via ntg-context
2024-09-25 13:16 ` Shiv Shankar Dayal
0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2024-09-25 13:00 UTC (permalink / raw)
To: ntg-context; +Cc: Hans Hagen
On 9/25/2024 2:30 PM, Shiv Shankar Dayal wrote:
> Please correct me if I'm wrong. LMTX has Metapost built in then can we
> not write a pure lua extension of it to do real 3D probably using Vulkan?
You're kidding right? Interfacing to some huge system that dwarfs the
luametatex code base, creates a horrible dependency on what is fashion
today (and replaced in a few years by what is then the fashion in
graphics), adds plenty of runtime while in practice one can just create
these graphics externally once and then include them.
If we talk 3d in mp we mean simple 3d for visualizing data and so. For
artwork one should use programs made for that purpose (fwiw, going over
the top in tikz runtime also makes little sense).
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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Curious about 3D Metapost
2024-09-25 13:00 ` [NTG-context] " Hans Hagen via ntg-context
@ 2024-09-25 13:16 ` Shiv Shankar Dayal
2024-09-25 13:35 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Shiv Shankar Dayal @ 2024-09-25 13:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
> You're kidding right? Interfacing to some huge system that dwarfs the
> luametatex code base, creates a horrible dependency on what is fashion
> today (and replaced in a few years by what is then the fashion in
> graphics), adds plenty of runtime while in practice one can just create
> these graphics externally once and then include them.
>
> If we talk 3d in mp we mean simple 3d for visualizing data and so. For
> artwork one should use programs made for that purpose (fwiw, going over
> the top in tikz runtime also makes little sense).
I see your point and also understand that rendering 3D is very time consuming
compared to file access for sufficiently complex 3D scenes while for simple
drawings it is faster to draw them rather than file access.
--
Respect,
Shiv Shankar Dayal
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: Curious about 3D Metapost
2024-09-25 13:16 ` Shiv Shankar Dayal
@ 2024-09-25 13:35 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2024-09-25 13:35 UTC (permalink / raw)
To: ntg-context
On 9/25/2024 3:16 PM, Shiv Shankar Dayal wrote:
>> You're kidding right? Interfacing to some huge system that dwarfs the
>> luametatex code base, creates a horrible dependency on what is fashion
>> today (and replaced in a few years by what is then the fashion in
>> graphics), adds plenty of runtime while in practice one can just create
>> these graphics externally once and then include them.
>>
>> If we talk 3d in mp we mean simple 3d for visualizing data and so. For
>> artwork one should use programs made for that purpose (fwiw, going over
>> the top in tikz runtime also makes little sense).
>
> I see your point and also understand that rendering 3D is very time consuming
> compared to file access for sufficiently complex 3D scenes while for simple
> drawings it is faster to draw them rather than file access.
it might be that loading a small file is faster than loading and
initializing a large library (that then also has to load extra stuff)
in that respect ssd's had a big impact on tex processing
btw, you will be surprised to see where tex does(n't) spend it time on;
users are free to identify bottlenecks that they think can be avoided by
improvements in the engine; for instance the most recent upload has a
potential speed bump but who will notice it as it relates to extreme
usage patterns; one will never read remarks here like "Oh, all became
faster, why's that?"
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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-25 13:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-25 12:30 [NTG-context] Curious about 3D Metapost Shiv Shankar Dayal
2024-09-25 13:00 ` [NTG-context] " Hans Hagen via ntg-context
2024-09-25 13:16 ` Shiv Shankar Dayal
2024-09-25 13:35 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).