Early roadmap #3

Closed
opened 2023-08-28 18:44:21 +00:00 by glen · 5 comments
Owner
- [x] Get a simple dom modifier that shows something for pages like those at https://mathcs.clarku.edu/~djoyce/java/elements/elements.html working - [x] Get a dom modifier that displays .wrl files such as those found at https://people.math.sc.edu/Burkardt/data/wrl_1/wrl_1.html or http://georgehart.com/virtual-polyhedra/alphabetic-list.html. Most of George's models can be viewed on FreeCAD, but it doesn't show anything for the Burkardt models. Another modern tool that can handle these files is https://castle-engine.io/view3dscene.php and it has a really nice viewer. (It's part of a huge package, the castle engine game engine, open-source but in Pascal, so it may not be that helpful in porting to a javascript parser/viewer.) - [x] Get the code above working as a plugin - [x] Extend the Geometry Applet translator to cover all of the interactive Euclid pages. - [x] Handle the automatic VRML1 generator (Conway notation done, prism next)
Author
Owner

Looks like the easiest-to-use package for x3d viewing in a web page is https://github.com/create3000/x_ite
The only hitch may be that it may not support vrml 1.0. Some VRML 2.0 files to try are at: https://www.web3d.org/x3d/content/examples/X3dResources.html and https://people.math.sc.edu/Burkardt/data/wrl_2/wrl_2.html. So it may be necessary to translate from vrml1.0 .wrl files to 2.0 on the fly; not sure exactly how that would work...

Looks like the easiest-to-use package for x3d viewing in a web page is https://github.com/create3000/x_ite The only hitch may be that it may not support vrml 1.0. Some VRML 2.0 files to try are at: https://www.web3d.org/x3d/content/examples/X3dResources.html and https://people.math.sc.edu/Burkardt/data/wrl_2/wrl_2.html. So it may be necessary to translate from vrml1.0 .wrl files to 2.0 on the fly; not sure exactly how that would work...
Author
Owner
More VRML 97 == VRML 2.0 at http://www.wiley.com/legacy/compbooks/vrml2sbk/toc/toc.htm
Author
Owner

A page that may shed some light on handling vrml 1.0: https://castle-engine.io/vrml_engine_doc/output/xsl/html/section.vrml_1_2_sum.html

A page that may shed some light on handling vrml 1.0: https://castle-engine.io/vrml_engine_doc/output/xsl/html/section.vrml_1_2_sum.html
Author
Owner

OK the best vrml 1 to 97 converter I could find is an import plugin for Wings 3D https://github.com/dgud/wings/blob/master/plugins_src/import_export/x3d_import.erl
Has a very simple tokenizer, can probably use Moo for that, and then a relatively straightforward parser/transformer -- probably just translate it by hand directly into javascript. Will do this in a separate repo and publish the result.

OK the best vrml 1 to 97 converter I could find is an import plugin for Wings 3D https://github.com/dgud/wings/blob/master/plugins_src/import_export/x3d_import.erl Has a very simple tokenizer, can probably use Moo for that, and then a relatively straightforward parser/transformer -- probably just translate it by hand directly into javascript. Will do this in a separate repo and publish the result.
glen added this to the Submission milestone 2024-02-18 17:03:56 +00:00
Author
Owner

Seeing as how all of the boxes are checked, closing :-)

Seeing as how all of the boxes are checked, closing :-)
glen closed this issue 2024-02-19 21:54:12 +00:00
Sign in to join this conversation.
No description provided.