Click or drag to resize
SoGLRenderActionSetNumPasses Method

Sets number of rendering passes for multipass antialiasing.

Namespace: OIV.Inventor.Actions
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void SetNumPasses(
	int num
)

Parameters

num
Type: SystemInt32
Remarks

The default is 1. Specifying more than one pass will result in antialiasing of the rendered scene, using OpenGL's accumulation buffer. (Camera nodes typically move their viewpoints a little bit for each pass to achieve the antialiasing.) Each additional pass provides better antialiasing, but requires more rendering time.

The default value can be set using the environment variable OIV_NUM_RENDER_PASSES.

NOTE: Multipass antialiasing can have very poor performance for large scenes. Full-scene antialiasing (multi-sample) is strongly recommended when the hardware supports it. See OIV.Inventor.SoSceneManager and OIV.Inventor.Nodes.SoFullSceneAntialiasing.

See Also