[x3d-public] X3d constructors

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Sat Feb 5 10:07:29 PST 2022


Here are two recommended software libraries for X3D model creation that exactly match X3D4.  (If it is possible to use either library to create an invalid scene, I haven’t found it yet.)  Each has examples published for over 3900 scenes, created from .x3d master versions using X3dToJava.xslt and X3dToPython.xslt stylesheets.  Each .java and .py example includes a self-validation test as part of X3D Quality Assurance (QA). Trouble reports welcome.


  1.  X3D Java Scene Access Interface Library (X3DJSAIL)
     *   X3DJSAIL supports programmers with standards-based X3D Java interfaces and objects, all as open source.
     *   https://www.web3d.org/specifications/java/X3DJSAIL.html


  1.  X3D Python Scene Access Interface Library (X3DPSAIL), X3D Python Package
     *   The x3d.py Python X3D Package supports programmers with Python interfaces and objects for standards-based X3D programming, all as open source.
     *   https://www.web3d.org/x3d/stylesheets/python/python.html
     *   https://pypi.org/project/x3d



  1.  X3D Resources: Examples: Scene Archives for X3D
     *   The X3D Examples Archives demonstrate how X3D nodes and scenes work. Thousands of scenes are provided in all X3D encodings. You can browse them individually online or download fully complete, separately installable .zip archives.
     *   https://www.web3d.org/x3d/content/examples/X3dResources.html#Examples

JSON examples also exist in the X3D Examples archives.  John Carlson has a library to directly support those.  The .x3d conversions to JSON all seem stable and pass elementary JSON syntax checkers, and there is a draft X3D JSON schema, but a stable JSON schema has not yet been standardized by IETF.  Thus some caution is warranted using X3D JSON, but current stability is high and eventual formalization is expected.  Converter information follows.

     *   X3D to JSON Stylesheet Converter
     *   The X3D to JSON stylesheet converts .x3d XML to .json, supporting the forthcoming JSON Encoding for X3D Graphics.
     *   https://www.web3d.org/x3d/stylesheets/X3dToJson.html

Good luck with your work.

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: x3d-public <x3d-public-bounces at web3d.org> On Behalf Of Konstantin Smirnov
Sent: Saturday, February 5, 2022 3:35 AM
To: X3D-Public <x3d-public at web3d.org>
Subject: [x3d-public] X3d constructors

Hello
Who knows fast constructors of scenes with elements and code generation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220205/6a87b353/attachment.html>


More information about the x3d-public mailing list