SoLDMGlobalResourceParametersSetMaxNumTriangles Method |
Note: This API is now obsolete.
Sets the maximum number of triangles allowed to be rendered for all VolumeViz render nodes.
Namespace: OIV.LDM
[ObsoleteAttribute("See documentation for more details")] [EditorBrowsableAttribute(EditorBrowsableState.Never)] public static void SetMaxNumTriangles( int maxNumTriangles )
The default value is zero, which means there is no limit.
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).
The sum of the max triangles values per data set (see SoLDMResourceParameters.maxNumTriangles field) must be less or equal to this value. This is an approximate value because some nodes using this parameter draw indivisible chunks of triangles. Particularly useful for limiting the number of triangles generated by SoHeightFieldRender.Obsoletesince Open Inventor 9700 maxNumTriangles is no longer used by SoHeightFieldRender. Number of triangles is controlled by the node SoComplexity.