User Guide
417
Example
The following statement sets the near property of the fog of the camera Defaultview to 100. If
the fogās enabled property is set to
TRUE and its decayMode property is set to #linear, fog will
first appear 100 world units in front of the camera.
member("3d world").camera("defaultview").fog.near = 100.0
See also
fog, far (fog), enabled (fog), decayMode
nearFiltering
Syntax
member(whichCastmember).texture(whichTexture).nearFiltering
member(whichCastmember).shader(whichShader).\
texture(whichTexture).nearFiltering
member(whichCastmember).model(whichModel).shader.texture\
(whichTexture).nearFiltering
member(whichCastmember).model(whichModel).shaderList\
[shaderListIndex].texture(whichTexture).nearFiltering
Description
3D texture property; allows you to get or set whether bilinear filtering is used when rendering a
projected texture map that covers more screen space than the original texture source. Bilinear
filtering smooths any errors across the texture and thus improves the textureās appearance. Bilinear
filtering smooths errors in two dimensions. Trilinear filtering smooths errors in three dimensions.
Filtering improves appearance at the expense of performance, with bilinear being less
performance-costly than trilinear.
When the propertyās value is
TRUE, bilinear filtering is used. When the value is FALSE, bilinear
filtering is not used. The default is
TRUE.
Example
This statement turns off bilinear filtering for the texture named gbTexture in the cast
member Scene:
member("Scene").texture("gbTexture").nearFiltering = FALSE
neighbor
Syntax
member(whichCastmember).model(whichModel).meshdeform.mesh[index].\
face[index].neighbor[index]
Description
3D command; meshDeform command that returns a list of lists describing the neighbors of a
particular face of a mesh opposite the face corner specified by the neighbor index
(1,2,3). If the
list is empty, the face has no neighbors in that direction. If the list contains more than one list, the
mesh is non-manifold. Usually the list contains a single list of four integer values:
[meshIndex,
faceIndex, vertexIndex, flipped]
.
The value
meshIndex is the index of the mesh containing the neighbor face. The value
faceIndex is the index of the neighbor face in that mesh. The value vertexIndex is the index of
the nonshared vertices of the neighbor face. The value
flipped describes whether the face
orientation is the same as
(1) or opposite (2) that of the original face.
See also
meshDeform (modifier)