|
X3DToolKit is a LGPL free C++ library for loading displaying and processing X3D models. It
has been designed so that extending the X3D language is easy.
Different uses of the library are possible (see examples for a more exhaustive list) :
- simply load and render static X3D models in OpenGL
- load and traverse the scene graph in order to edit it or simply extract informations
- easily extend the X3D language and use the new nodes in the two first use cases
The library is made up of three views of the X3D model:
- the X3D scene graph providing a simple translation of the file into a more usable data structure
- the GL scene graph based upon nodes specialized in rendering
- the MESH scene graph providing fully customizable template mesh structures
To traverse the scene graphs while taking into account the class hierarchy, the "double
dispatching" technique is emulated, providing a way of factorizing code.
The library also provides a set of functionalities, implemented using processors that traverse
the scene graph and process each node. Moreover new processors are easy to create.
The library doesn't implement all the X3D nodes (see X3D conformance) and does not contain a
complete X3D browser but the rendering of static scene is possible and fast.
|