
Rendering functionality
405
Movie properties
Use these properties to control which renderer the movie uses:
colorBuffer
Depth
Get
Either 16 or 32, depending on the
hardware card. Controls the precision of
the hardware output buffer.
None
getHardware
Info()
Returns a
property list of the
specifics of the
hardware card (if
any) on the
client’s machine
A property list with the following entries:
#present
:
TRUE (1)
if the card is present;
FALSE (0)
if the card is absent
#vendor:
the vendor name as a string, with
a value of Unknown if the name can’t be
determined
#model:
the name of the model of the
hardware card, as a string
#maxTextureSize[
maxWidth, maxHeight
]
:
maximum height and width of textures.
Textures are reduced in size if they
exceed these maximums.
#supportedTexturePixelFormat
: texture
pixel formats supported by card.
#textureUnits
: number of texture units
the card has
#depthBufferRange
: list of bit-depth
resolutions available
#colorBufferRange
: list of bit-depth
resolutions
Property
Access
Description
preferred3d
Renderer
Get and set
The renderer a particular movie prefers. The default value is
#auto
, which allows the movie to pick the best available
renderer. This property is not the same as the
currentRenderer
property. The
preferred3dRenderer
property stipulates which renderer the movie prefers,
whereas the
currentRenderer
property gives the renderer
currently in use. The possible values for the
preferred3dRenderer
property are as follows:
#openGL
: openGL drivers for a hardware accelerator
#directX7_0
: DirectX7_0 drivers for a hardware accelerator
#directX5_2
: DirectX5_2 drivers for a hardware accelerator
#software
: built-in Director software renderer
active3d
Renderer
Get
The renderer the movie is actually using. Equivalent to the
RendererServices
object
currentRenderer property
.
Possible values are as follows:
#openGL
: openGL drivers for a hardware accelerator
#directX7_0
: DirectX7_0 drivers for a hardware accelerator
#directX5_2
: DirectX5_2 drivers for a hardware accelerator
#software
: built-in Director software renderer
Property
Access
Description
Default
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...