18.6.2 RenderAtoms and RenderMolecule RenderAtomsare self-contained rendering units
18.6.2 RenderAtoms and RenderMolecule RenderAtomsare self-contained rendering units that can be passed to the underlying rendering engine. The RenderAtomcontains lights, fog, model clipping information, an Appearance, and a model transformation matrix. RenderAtomscan be linked using double linked-list RenderAtommembers within the RenderAtomclass. Higher level rendering operations are described using the RenderMoleculeclass. In addition to maintaining a list of RenderAtoms, RenderMoleculesare able to remove redundant changes in Appearancebetween consecutive RenderAtoms. In this way, the number of Appearancestate changes (Appearance, Material, Transparency, etc.) performed by the underlying rendering engine is minimized. 18.7 StructureUpdateThread The StructureUpdateThreadis a J3dThreadthat can be attached to a J3dStructureobject to perform message processing. The StructureUpdateThreadinstances are: J3D-GeometryStructureUpdateThread J3D-RenderStructureUpdateThread J3D-BehaviorStructureUpdateThread J3D-SoundStructureUpdateThread J3D-RenderingAttributesStructureUpdateThread J3D-RenderingEnvironmentStructureUpdateThread J3D-TransformStructureUpdateThread J3D-SoundSchedulerUpdateThread The StructureUpdateThreadis attached to an instance of a J3dStructureobject, and its doWork method calls the processMessagesmethod on the J3dStructure. The various classes derived from J3dStructure(such as SoundStructure) implement structure specific message execution. 18.8 TimerThread The J3D-TimerThreadmanages: Any number of WakeupOnElapsedTimeobjects, stored in a WakeupOnElaspsedTimeHeap (sorted, resizable array) 1 InputDeviceScheduler(sampling time loaded from Systemproperty) 1 SoundScheduler(WakeupOnElapsedTimeevery 2 minutes, by default) The TimerThreadwill call the setTriggeredmethod on each WakeupOnElapsedTimeas appropriate. 18.9 SceneGraphObject SceneGraphObjectis the base class for all the objects that can be added to a Java 3D scenegraph. It includes a number of interesting capabilities and defines some general architectural principals for Java 3D (such as capability bits and the retained delegate class pattern). The attributes of the SceneGraphObject class are described in more detail next. 324
Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services