SetNURBSDisplayQualityDefault

Introduced

v5.0

Categories

display

Description

Changes display smoothness setting for NURBS curves/surfaces to default 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

SetNURBSDisplayQualityDefault( [Quality] );

Parameters

Parameter Type Description
Quality Integer Display mode

Default Value: 0

Possible Values:

Description:

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

Examples

JScript Example

// Create a Sphere primitive
CreatePrim( "Sphere", "NurbsSurface", "MySphere" );
// Set Display quality to default
SetNURBSDisplayQualityDefault();

See Also

SetNURBSDisplayQualityLow SetNURBSDisplayQualityMedium SetNURBSDisplayQualityHigh