Pj3d
Pj3d is a simple interface to Java3d. It enables users to build a whole scenegraph with only some lines of code without deep knowledge of scenegraphs.
Pj3d is developed by Michael Zoellner and Daniel Kupczyk for the Raumagent project. It can be used as a plugin for Processing or as Java library. The project is licensed under a Creative Commons License.


Installation (Processing):

Linux and Windows (Simple Installation):
Download the archives for Linux (1.5 MB) or Windows (1.9 MB) and extract it. There are two ways to use the library:
1. Put the content of the Pj3d folder into the code folder of your sketch.
2. Put the Pj3d folder into the lib folder (version .68) or libraries folder (version .7x) inside your Processing folder. Then you have to use the batchfile(.bat) / shellscript (.sh) to start Processing. This adds the needed CLASSPATH information.

Linux and Windows (Expert Installation):
Download and install Sun's Java3D for your platform (Linux or Windows). Then download Pj3d.jar and put it into the code folder of your sketch.

Apple OS X:
Download and install Apple's Java3D and put the Pj3d.jar into the code folder of your sketch.





Creative Commons License
How to use Pj3d:

Basics
Initialize Pj3d

Camera and Light
Camera
Light

Primitives and 3D Objects
Box
Sphere
Cone
Cylinder
Plane
Text2D
Text3D
Line

Transform, Shaders and Colors
Transform
Shader

Interaction
Mouse
Keyboard
Picking

Import 3D Files
3ds
Obj