Monday, March 5, 2007

Java3D-Very basics

How to install java3D
1. Download Java3D distribution provided by
2. Install Java3D with installer

Tutorial on Java3D

Procedure for Java3D programming
1. Create a Canvas3D object
2. Create a VirtualUniverse object
3. Create a Locale object, attaching it to the VirtualUniverse object
4. Construct a view branch graph (Major effort is required)
a. Create a View object
b. Create a ViewPlatform object
c. Create a PhysicalBody object
d. Create a PhysicalEnvironment object
e. Attach ViewPlatform, PhysicalBody, PhysicalEnvironment, and Canvas3D objects to Viewobject

5. Construct content branch graph(s)
6. Compile branch graph(s)
7. Insert subgraphs into the Locale

Procedure using SimpleUniverse
1. Create a Canvas3D Object
2. Create a SimpleUniverse object which references the earlier Canvas3D object
a. Customize the SimpleUniverse object
3. Construct content branch
4. Compile content branch graph
5. Insert content branch graph into the Locale of the SimpleUniverse

No comments:

Post a Comment