X3DToolKit



Here is the X3DToolKit web page, where you can find the sources and the documentation

documentation

download the library

Download the new version of X3DToolKit.

dependencies

X3DToolKit depends on Xerces 2.2 and Qt for compiling. For running the examples, you need QGLViewer.

installation

Decompress X3DTK-0.3.2.tar.gz:

tar xzf X3DTK-0.3.2.tar.gz

Compile the library:
cd src
qmake OPTIONS
options:
- XERCES22_LIB_DIR=dir : indicates in which directory is located libxerces-c.22
- XERCES22_INCLUDE_DIR=dir : indicates in which directory is located xercesc/
- XERCES22_DIR=dir : indicates in which directory is installed Xerces-c 2.2, meaning that XERCES22_LIB_DIR is dir/lib and XERCES22_INCLUDE_DIR is dir/include
- QGLVIEWER_LIB_DIR=dir : indicates in which directory is located libQGLViewer.so
- QGLVIEWER_INCLUDE_DIR=dir : indicates in which directory is located QGLViewer/
- QGLVIEWER_DIR=dir : indicates in which directory is installed QGLViewer, meaning that QGLVIEWER_LIB_DIR is dir/lib and QGLVIEWER_INCLUDE_DIR is dir/include
Note that by default, XERCES22_DIR and QGLVIEWER_DIR are /usr/local.

make

cd install
qmake OPTIONS
options:
- X3DTK_LIB_DIR=dir : indicates in which directory will be installed libX3DTK.so
- X3DTK_INCLUDE_DIR=dir : indicates in which directory will be installed X3DTK/
- X3DTK_DIR=dir : indicates in which directory will be installed X3DTK, meaning that X3DTK_LIB_DIR is dir/lib and X3DTK_INCLUDE_DIR is dir/include
Note that by default, X3DTK_DIR is /usr/local.

make install (root)

Compile the examples:
cd examples
qmake OPTIONS
options:
The options you put before.

make

X3D models

You will find here a few X3D models.
Yannick Le Goc - 16/04/2003