Our First Java 3D Program

The best way to learn any programming language is by writing programs. To be able to write Java 3D programs you must first be able to write Java programs. As we said in Chapter 1, the examples we’ll be presenting here assume a working knowledge of Java and some background in 3D graphics. Only concepts that are new in Java 3D will be explained. We’ll start by explaining so me of the concepts that are fundamental to a Java 3D program. Next we’ll write a very simple program that displays a static cube from a fixed viewpoint. In further chapters we’ll modify and add features to this pro gram to learn the other features of Java 3D.