User Guide

Chapter 3188
depth
Syntax
imageObject.depth
member(whichCastMember).depth
the depth of member whichCastMember
Description
Image object or bitmap cast member property; displays the color depth of the given image object
or bitmap cast member.
This property can be tested but not set.
Examples
This statement displays the color depth of the image object stored in the variable newImage. The
output appears in the Message window.
put newImage.depth
This statement displays the color depth of the cast member Shrine in the Message window:
put member("Shrine").depth
depth (3D)
Syntax
member(whichCastmember).model(whichModel).sds.depth
Description
3D subdivision surfaces (sds) modifier property; specifies the maximum number of levels of
resolution that the model can display when using the
sds modifier.
If the
sds modifiers error and tension settings are low, increasing the depth property will have
a more pronounced effect on the models geometry.
The
sds modifier cannot be used with the inker or toon modifiers, and you should be careful
when using the
sds modifier with the lod modifier.
Example
This statement sets the depth property of the sds modifier for the model named Baby to 3. If the
sds modifier’s error and tension settings are low, this will cause a very pronounced effect on
Baby’s geometry.
member("Scene").model("Baby").sds.depth = 3
See also
sds (modifier), error, tension
Depth Number of Colors
1Black and white
24 colors
4, 8 16 or 256 palette-based colors, or gray levels
16 Thousands of colors
32 Millions of colors