The project this chapter describes is a Java package that handles large parts of VRML 1.0. Of course to model VRML 1.0 in Java you'll need to understand VRML first so this chapter begins with a lightning introduction to VRML. Then you'll see how you can abstract the underlying three-dimensional geometry of VRML into Java classes. Finally you'll see some examples of VRML worlds you can build using Java that would be too difficult to build with VRML alone.

Topics covered include

- The Virtual Reality Modeling Language 1.0
- Modeling VRML with Java classes
- Using Java to create complex VRML worlds

- Example 23.1:A Cube Node
- Example 23.2: A VRML file with two cubes
- Example 23.3: A VRML file with two cubes
- Example 23.4: A VRML file with a sphere of radius three
- Example 23.5: Three cones
- Example 23.6: Three rotated cylinders along the coordinate axes
- Example 23.7: Hello World!
- Example 23.8: Font Tester
- Example 23.9: Integrally spaced points
- Example 23.10: A Java program to enumerate coordinates
- Example 23.11: Integrally spaced points
- Example 23.12: An open cube
- Example 23.13: The Abstract Shape Class
- Example 23.14: The Cube Class
- Example 23.15: The world Class
- Example 23.16: A large city of cubes (May Crlash Some Browsers!)
- Example 23.17: The Cylinder Class
- Example 23.18: The Cone Class
- Example 23.19: The Sphere Class
- Example 23.20: The Point Class
- Example 23.21: The Line Class
- Example 23.22: The Triangle Class

Examples from Other Chapters

[ Cafe Au Lait | Books | Trade Shows | Links | FAQ | Tutorial | User Groups ]

Copyright 1996 Elliotte Rusty Harold

elharo@sunsite.unc.edu

Last Modified July 23, 1996