8
574 Chapter 20: Managing Scenes and Projects
appearance are met. The Alpha Factor is
defined for each node, and its value is between
0 and 255.
•
Scope
:Allowsthescenegraphnodestoform
conceptual groups independent of the scene
graph hierarchy. By default, all objects are
visible to all cameras and lit by all light sources.
The scope is an integer bitmask set to -1 by
default.
Background
Ever y world object has two sub-objects:
[Background] and [Active Camera]. The only
parameter available for the Ac t ive Camera is
selecting an active camera f rom sub-objects of the
current World Object. Background parameters are
listed below:
• Approx.Object Size:Showstheobjectsizewith
sub-objects.
•
User-defined ID
:DisplaystheuserIDforthe
object.
•
Image Mode X and Image Mode Y
:Setsthe
background image repeat mode for the X and
Ydirections.Imagemodecanbesettoeither
Border or Repeat.
•
Depth Clear Enabled
: Enables or disables
depth buffer clearing. If depth buffer clearing
is enabled, the portion of the depth buffer that
corresponds to the viewport is cleared to the
maximum depth value. Se t this parameter to
True to enable depth buffer clearing. Set it to
False to disable.
•
Color Clear Enabled
: Enables or disables
colorbufferclearing.Ifcolorbufferclearing
is enabled, the portion of the color buffer that
corresponds to the viewpor t is cleared with
the background image and/or the background
color. Set this parameter to True to enable color
buffer clearing. Set it to False to disable.
Group
Group is a scene graph node that stores an
unordered set of nodes as its children. A Group
object is represented as <<Group>> in the
JSR-184 scene tree.
Note: Since most JSR-184 objects cannot contain
any sub-objects, the JSR-184 expor ter uses the
Group object to represent the 3ds Max hierarchy.
In this case, the Group object is assigned a
name such as <<ObjectName Group>>, where
ObjectName is the name of the 3ds Max object
w ith sub-objects. Parameters available for Group
objectsarethesameasparametersforWorld
objects.
Camera
Camera is a scene graph node that defines the
position of the viewer in the scene and the
projection from 3D to 2D . A Camera object is
assigned the same name as its counterpart in the
original 3ds Max scene.
• Approx.Object Size:Showstheobjectsizewith
sub-objects.
•
User-defined ID
: Displays the user ID for the
object.
•
Scope
:Allowsscenegraphnodestoform
conceptual groups independent of the scene
graph hierarchy. The default scope is -1,
imply ing that all no des are in the same scope.
By default, all objects are visible to all cameras
and are lit by all light sources.
•
Projection Type
:Setstheprojectionmode
for the Camera. Options are Parallel and
Perspective.
Ambient Light
Ambient light represents the ambient light color
from the 3ds Max environment setting. Ambient
light parameters are the same as Light parameters.