[x3d-public] Renderer for x3d.py
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Thu Dec 28 00:29:09 PST 2023
No renderer is planned for x3d.py. The stated design notes that “Creating a native-Python implementation for X3D data structures appears to provide the greatest possible portability.” That has been accomplished successfully.
We have over 4,000 scene graphs built and validated using x3d.py as part of the X3D Examples Archives. Certainly they show how to create Python data structures containing scene graphs.
Building a renderer involves a Small Matter of Programming (SMOP)! Indeed writing an all-purpose renderer is much harder, and a historically a moving horizon for computer graphics every year. This is why X3DJSAIL and X3DPSAIL can be used by others. Rendering is avoided intentionally in the design of these libraries and without any impediment to progress, since each library has various export methods for producing X3D and Classic VRML, also for publishing to a web page using X_ITE or X3DOM. Boom presto, wide portability for a large number of X3D-capable tools and viewable rendering anywhere.
* https://en.wikipedia.org/wiki/Small_matter_of_programming
Hope this is now clearer. Happy new year.
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https://faculty.nps.edu/brutzman
From: John Carlson <yottzumm at gmail.com>
Sent: Thursday, December 28, 2023 12:13 AM
To: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>; GPU Group <gpugroup at gmail.com>; Peitso, Loren (CIV) <lepeitso at nps.edu>; X3D Graphics public mailing list <x3d-public at web3d.org>
Subject: Renderer for x3d.py
Kivy appears to be the best (most community) cross-platform OpenGL library for Python. Did you explore this option, Doug?
Another, more GUI library is BeeWare Toga.
Web-oriented tools are Django and Flask, then choose a front-end.
If someone can lay out a pattern for building a renderer using x3d.py as scenegraph, with additional packages for rendering the scenegraph, maybe I can start looking into developing an Interchange profile renderer?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231228/af20fab3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5464 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20231228/af20fab3/attachment-0001.p7s>
More information about the x3d-public
mailing list