• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. JAVA 3D FUNDAMENTALS > Creating a Simple Virtual Universe

Creating a Simple Virtual Universe

Although you do not have to code Java 3D programs from scratch in order to customize existing Java 3D content (as you'll see in the following chapters), you must understand the basic structure of a Java 3D program nonetheless. Almost every Java 3D program that you encounter will share fundamental characteristics of the simple program constructed from Listing 12.1 (HelloUniverse.java) and 12.2 (SimpleUniverse.java), and so it is a good exercise to walk through these code examples (appearing later in this chapter) in preparation for customizing more sophisticated Java 3D content later on.

You should note that the source code for HelloUniverse and SimpleUniverse, and many other Java 3D examples, are provided free of charge by Sun Microsystems (see sidebar "Java 3D Demos and Source Code"). If you haven't already installed Java 3D, you should consider doing so now (see Chapter 11, "Java 3D Overview," for details). You will gain a much greater understanding of Java 3D if you take the time to explore and customize the demonstration programs discussed here and in the next few chapters. Not to mention the flat out thrill you'll get upon seeing these programs in action as compared to reading what amounts to static, lifeless source code listings in the pages that follow.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint