Xith3D

 
 
Xith3D is scenegraph-based Java 3D programming API focused on game creation.

More information about Xith3D can be found at: http://xith.org

The latest Xith3D version can be downloaded from: http://www.xith.org/pages/download.html







Installing Xith3D.



Information
none

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Java 2 Standard Edition (J2SE) SDK, version 1.2 or higher.

Procedure
  1. Create the following directories:

    C:\Tools\joal\lib
    C:\Tools\jogl\lib
    C:\Tools\junit\lib
    C:\Tools\log4j\lib
    C:\Tools\jorbis\lib
    C:\Tools\vecmath\lib

  2. Download from http://www.xith.org/download/third-party/ the following files:

    Download from directoryDownload fileDownload into
    joal/windows OpenAL32.dllC:\Tools\joal\lib
    joal/windows joal.dllC:\Tools\joal\lib
    joal/windows joal.jarC:\Tools\joal\lib
    jogl/windowsjogl.jarC:\Tools\jogl\lib
    jogl/windows/jogl-win32 jogl.dllC:\Tools\jogl\lib
    jogl/windows/jogl-win32 jogl_cg.dllC:\Tools\jogl\lib
    miscjunit.jarC:\Tools\junit\lib
    misclog4j.jarC:\Tools\log4j\lib
    miscvorbis.jarC:\Tools\jorbis\lib
    vecmathvecmath.jarC:\Tools\vecmath\lib

    The files must be downloaded into their respective created directories.

  3. Download from http://www.xith.org/download/builds/latest/
    the file: Xith3D_yyyy-mm-dd_cvs.tar.gz.

    Unzip and unpack this file.
    For example: C:\Tools\xith3d
    The xith3d.jar is located at C:\Tools\xith3d\libs



  4. The java code libraries (*.jar) location are identified by the java.ext.dirs on your system.
    If you want to know your "java.ext.dirs" locations, download DisplaySystemProperties.class and run it on your system:

    java DisplaySystemProperties.class

    The java code libraries files can be placed in any of the "java.ext.dirs" paths. You can ALSO refer to these files in the CLASSPATH system environment variable.

    Edit the CLASSPATH variable:
    • Right-click My Computer, and then click Properties.
    • Click the Advanced tab.
    • Click Environment variables.
    • Edit the CLASSPATH system environment variable:
      CLASSPATH=xxxx;C:\Tools\joal\lib\joal.jar;C:\Tools\jogl\lib\jogl.jar;
      C:\Tools\junit\lib\junit.jar;C:\Tools\log4j\lib\log4j.jar;
      C:\Tools\jorbis\lib\vorbis.jar;C:\Tools\vecmath\lib\vecmath.jar;
      C:\Tools\xith3d\libs\xith3d.jar
    • Edit the CLASSPATH user environment variable:
      CLASSPATH=xxx;%CLASSPATH%

  5. The native code libraries (*.dll) location are identified by the java.libary.path on your system.
    If you want to know your "java.libary.path" locations, download DisplaySystemProperties.class and run it on your system:

    java DisplaySystemProperties.class

    The native code libraries files can be placed in any of the "java.libary.path" paths. In Windows XP the "java.libary.path" values refers to your PATH system environment variable.

    Edit the PATH variable:
    • Right-click My Computer, and then click Properties.
    • Click the Advanced tab.
    • Click Environment variables.
    • Edit the PATH system environment variable:
      PATH=xxxx;C:\Tools\jogl\lib\;C:\Tools\joal\lib\

  6. To test if Xith3D is installed correctly, do the following:

    cd C:\Tools\xith3d
    java com.xith3d.test.CubeTest


    You should see the following:

    Xith3D CubeTest