Search code examples
javax3d

How do I import X3D models into my Java code?


I'm working on a project and I have multiple X3D models that I need to use in the final project outcome. I'm using Java as the main programming language and I've been told that I can import the X3D models into the Java project and I don't know how to.


Solution

  • You may have a look at xj3d. It builds a scene-graph from X3D file.

    The latest version can be found at http://sourceforge.net/projects/xj3d/, the official site (http://www.xj3d.org/) does not seems to have been updated recently.

    EDIT: Replying to comment above (I don't have enough reputation to comment) There is also a binary format for X3D, so standard XML parsers won't work with it.