Click or drag to resize
SoLDMResourceParametersmaxNumTriangles Property

Note: This API is now obsolete.

Maximum number of triangles allowed to be rendered by LDM render nodes.

Namespace: OIV.LDM.Nodes
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SoSFInt32 maxNumTriangles { get; }

Property Value

Type: SoSFInt32
Remarks

Mainly for SoHeightFieldRender. Default value is 0 meaning no limits.

Note: Starting with Open Inventor version 9.4, the default height field rendering algorithm (SoHeightFieldRender) does not use this parameter. The number of triangles rendered is controlled by the current complexity setting (SoComplexity).

This is an approximate value because some nodes using this parameter draw indivisible chunks of triangles. Particularly useful to limit the number of triangles generated for an SoHeightFieldGeometry. A global limit for all nodes can be set using SoLDMGlobalResourceParameters.Obsoletesince Open Inventor 9700 No longer used by the default heightfield rendering algorithm( SoHeightFieldRender ). Number of triangles is controlled by the node SoComplexity.

See Also