Package xj3d.replica
Class ConfigureThreePointLights
java.lang.Object
xj3d.replica.ConfigureThreePointLights
- All Implemented Interfaces:
FrameStateListener
A utility that inserts three point light nodes to the scene root.
- Version:
- $Revision: 1.10 $
- Author:
- Chris Shankland
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
Flag used in the end of frame listener, indicating that the new nodes may be added to the sceneprotected boolean
Synchronization flagprotected FrameStateManager
The frame state managerprotected VRMLWorldRootNodeType
The scene root, parent for the nav info and viewpoint nodes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLights
(OGLConstruct construct) This function adds three-point lights to a scene.void
Notification that the rendering of the event model is complete and that rendering is about to begin.
-
Field Details
-
root
The scene root, parent for the nav info and viewpoint nodes -
fsm
The frame state manager -
configComplete
protected boolean configCompleteSynchronization flag -
addNodes
protected boolean addNodesFlag used in the end of frame listener, indicating that the new nodes may be added to the scene
-
-
Constructor Details
-
ConfigureThreePointLights
public ConfigureThreePointLights()
-
-
Method Details
-
allEventsComplete
public void allEventsComplete()Description copied from interface:FrameStateListener
Notification that the rendering of the event model is complete and that rendering is about to begin. If the node needs to update itself for this frame, it should do so now before the render pass takes place.- Specified by:
allEventsComplete
in interfaceFrameStateListener
-
addLights
This function adds three-point lights to a scene.- Parameters:
construct
-
-