< Zurück | Inhalt | Weiter >

CHAPTER 11

Behaviors—navigation, alignment, and LOD

11.1 Introduction


11.2 Behavior class


11.3 Anatomy of a typical behavior 11.4 Overview of the built−in behaviors 11.5 Overview of Wakeup criteria

11.6 Using keyboard behaviors 11.7 Using mouse behaviors 11.8 Billboard behavior

11.9 Using LOD behaviors 11.10 Summary

Java 3D includes a rich set of built−in behaviors that can be used for everything from automatically modifying the transparency of objects to keyboard navigation and collision detection.


Some behaviors automatically execute complex code to modify objects within the scenegraph, so take care to ensure that behavior processing does not bog down application performance. With prudent design and knowledge of some of the limitations, behaviors can be a powerful asset in quickly developing or prototyping application logic.


By the time you finish this chapter, you should have a broad knowledge of the behaviors built into Java 3D and a good sense of how to develop your own behaviors. By mixing and matching your own behaviors and built−in behaviors, you should be able to design your application logic within Java 3D’s behavior model.