< Zurück | Inhalt | Weiter >

18.1 Introduction

The implementation of the Java 3D API has undergone considerable revision between the 1.1 and 1.2 versions of the API. About 70 percent of the Java code was rewritten between these two versions! The Java 3D 1.1 architecture was fairly simplistic and could be considered a proof−of−concept implementation of the API.


Version 1.2 moved to a message−based architecture and took tighter control of the various worker threads created by the API implementation. The collision detection thread was removed in 1.2, and collision detection is carried out by the new TimerThread functionality. By explicitly activating the threads in the system, the

1.2 API has removed the free−running threads (behaviors and collision detection) that caused 100 percent

CPU utilization in Java 3D 1.1.