Getting Started with 3DzzD Dev Kit
1 - Setting up development environment
Step 1 - Install Java SDK
Before starting to work with 3DzzD you must ensure that you have a recent Java SDK properly installed on you work station. If requiered you can download latest Java SDK here
http://download.java.net/jdk6/binaries/
Step 2 - Create a dummy certificat
Once JDK installed you must create a dummy certificat, this certificat is requiered to build extension package and can be created using the provided script
./build/utils/makeDummyCertificate
, just run it and enter a password when prompted (choose a simple password as you will have to type it for each build)
Step 3 - Build the 3DzzD API JavaDoc (optional)
To build the API JavaDoc use the provided script
./BuildAPIJavaDoc
(at any time after modifying the API source code you can refresh the doc by running this script)
2 - Modifying the 3DzzD API
Step 1 - Modify source code
API source code is divided in three projects :
- 3DzzD => Main 3DzzD project
- 3DzzDExtensionJOGL => JOGL extension
- Extension => Extension Loader
you can find projects sources code here =>
./sources/
Step 2 - Compil source code
you can easily compil source code by using the provided script
./sources/compil
it compil all project and output classes here
./build/debug/
Step 3 - Build the 3DzzD API jar
Once projects compiled you can either build debug or release Jar using the right script
./build/BuildDebug or ./build/BuildRelease
those scripts will create the three Jar : dzzd.jar, extension.jar, DzzDExtensionJOGL.jar in the build directory
3 - Create 3D Applet using 3DzzD API
the best way to start is to look at the
HelloWorld
sample project located
here