Click or drag to resize
SoWinRenderAreaSetSortedTrianglesSortFrequency Method

This method specifies the angle between each sorting axis when using the transparency type SORTED_TRIANGLES_XXX or SORTED_OBJECT_TRIANGLES_XXX.

Namespace: OIV.Inventor.Win
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void SetSortedTrianglesSortFrequency(
	int angle
)

Parameters

angle
Type: SystemInt32
Remarks

Transparent triangles are sorted based on the nearest axis. (in terms of the dot (inner) product). If the triangles have already been sorted on this axis (or the opposite), and the sort result is cached, the triangles are rendered using the cached information.

The default value for sort frequency is 90, meaning that a sorting is made every 90 degrees. If the value is 0, sorting is always done and the camera orientation vector is the axis used for sorting. In this case, no cache is made.

See SoGLRenderAction for additional details and figures.

See Also