EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 942

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
942 Chapter 14: Properties
quality (3D)
Usage
member(whichCastmember).texture(whichTexture).quality
member(whichCastmember).shader(whichShader).texture\
(whichTexture).quality
member(whichCastmember).model(whichModel).shader.texture\
(whichTexture).quality
member( whichCastmember ).model( whichModel ).\
shader.texturelist[TextureListIndex].quality
member(whichCastmember).model(whichModel).shaderList\
[shaderListIndex]. texture(whichTexture).quality
member( whichCastmember ).model( whichModel ).shaderList\
[ shaderListIndex ]. texturelist[ TextureListIndex ].quality
Description
3D texture property; lets you get or set the image quality of a texture by controlling the level of
mipmapping applied to the texture. Mipmapping is a process by which additional versions of the
texture image are created in several sizes that are smaller than the original image. The 3D Xtra
extension then uses whichever version of the image is most appropriate to the current size of the
model on the screen and changes the version of the image that is being used when needed.
Trilinear mipmapping is higher in quality and uses more memory than bilinear mipmapping.
Mipmapping is not the same as filtering, although both improve texture appearance. Filtering
spreads errors out across the texture’s area so that errors are less concentrated. Mipmapping
resamples the image to make it the appropriate size.
This property can have the following values:
• #low is the same as off, and mipmapping is not used for the texture.
• #medium enables a low-quality (bilinear) mipmapping for the texture.
• #high enables a high-quality (trilinear) mipmapping for the texture.
The default is
#low.
Example
This statement sets the quality property of the texture Marsmap to #medium:
member("scene").texture("Marsmap").quality = #medium
See also
nearFiltering
radius
Usage
modelResourceObjectReference.radius
member(whichCastmember).modelResource(whichModelResource).radius
Description
3D model property; when used with model resource of type #sphere or #cylinder, allows you
to get or set the radius of the model.
The
radius property determines the sweep radius used to generate the model resource. This
property’s value must always be set to greater than 0.0, and has a default value of 25.0.