SetNURBSDisplayQualityMedium
 
 
 

SetNURBSDisplayQualityMedium

Introduced

v5.0

Description

Changes display smoothness setting for NURBS curves/surfaces to medium quality. Specifically, the four values under the Parametric - Steps group on the Hardware Display tab of the object's Geometry Approximation property page comprise these 'smoothness settings'.

Geometry approximation specifies how polygons, surfaces, and curves should be tessellated (divided into triangles at rendering time). The various methods of approximation let you reduce the number of triangles in the geometry of an object and still render a very smooth surface.

Scripting Syntax

SetNURBSDisplayQualityMedium( [Quality] );

Parameters

Parameter Type Description
Quality Integer Display mode

Default Value: 2

Possible Values:

Description:

0 Default quality
1 Low quality
2 Medium quality
3 High quality

Examples

VBScript Example

' Create a Sphere primitive
CreatePrim "Sphere", "NurbsSurface", "MySphere"
' Set Display quality to medium
SetNURBSDisplayQualityMedium

See Also

SetNURBSDisplayQualityLow SetNURBSDisplayQualityHigh SetNURBSDisplayQualityDefault