Tutorials

Sections

j3d.org

Quick Fixes

Short, quick and dirty tutorials on a small topic area. Usually extracted from posts to the java3d-interest list.

Performance

  • J3D 1.3 Performance Tuning Guide What to know how to quickly get the best from your Java 3D application for the latest version of the spec (even though it is still in beta). This leads you through a couple of quick problems and solutions to make things run better.
  • J3D 1.1 Performance Tuning Guide What to know how to quickly get the best from your Java 3D application. This leads you through a couple of quick problems and solutions to make things run better.
  • BranchGroup.compile() What does it do, and why should you use it.

Techniques

  • Dot3 Bump Mapping Bump mapping is a texturing technique very familiar to games programmers to make objects look more realistic. There are several different techniques, and Java 3D 1.3 introduces the simplest and most common version - using the texture combiner hardware of your video card.
  • Adding Transparency. The use of transparent objects in Java3D is something of a black art. This aims to outline the basics of how transparency is applied to objects.
  • Volume Rendering Yes, Java 3D can do volume rendering. Here is how to do it.
  • Backgrounder to Triangulator and GeometryInfo These seemingly innocuous classes actually do a lot of work down the back. This introduces just what it does, and why it will benefit your application.
  • Integrating Swing and Java 3D The ever popular question about how to get Java 3D and swing playing nicely together is covered in this quick fix tutorial. It covers the major issues that you need to be aware of and some potential workarounds.
  • Non-photorealistic rendering in Java3D. This simple tute shows one way of achieving NPR effects within Java3D.

Setup

  • Java 3D Auto Installation (JDK 1.3) JDK 1.3 features automatic installation of standard extensions. This allows the user to install java3d automatically if they don't already have it installed. A very useful feature for web based applications.
  • Making Visual J++ work with Sun's JDK.. Microsoft's Visual J++ environment does not allow you to normally use Java 3D and many other standard API's because it does not implement the complete Java specification. None the less, it is possible to hack J++ to run the standard SUN VM and class libraries allowing you then use Java3D within the environment.