Click or drag to resize
SoSceneManagerSetAntialiasing Method (Boolean, Int32)

Note: This API is now obsolete.

Enables smoothing and/or multi-pass antialiasing for rendering.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
[ObsoleteAttribute("Obsolete since Open Inventor 9.1.0.0. To enable smoothing and/or multi-pass antialiasing for rendering use the setAntialiasing(float,AntialiasingMode) method with mode SUPERSAMPLING or use the setAntialiasing(SoAntialiasingParameters*) method with an SoAccumulationAntialiasingParameters object.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public void SetAntialiasing(
	bool smoothing,
	int numPasses
)

Parameters

smoothing
Type: SystemBoolean
numPasses
Type: SystemInt32
Remarks

There are two kinds of antialiasing available: smoothing and multipass antialiasing. If smoothing is set to true, smoothing is enabled. Smoothing uses OpenGL's line- and point-smoothing features to provide cheap antialiasing of lines and points. The value of numPasses controls multipass antialiasing. Each time a render action is applied, Open Inventor renders the scene numPasses times from slightly different camera positions, averaging the results. numPasses can be from one to 255, inclusive. Setting numPasses to one disables multipass antialiasing. You can use either, both, or neither of these antialiasing techniques. By default, both smoothing and multipass antialiasing are disabled.

Caution note Caution

Obsolete since Open Inventor 9100. To enable smoothing and/or multi-pass antialiasing for rendering use the OIV.Inventor.SoSceneManager.SetAntialiasing(System.Single, OIV.Inventor.SoSceneManager.AntialiasingModes) method with mode SUPERSAMPLING or use the OIV.Inventor.SoSceneManager.SetAntialiasing(OIV.Inventor.Antialiasing.SoAntialiasingParameters) method with an OIV.Inventor.Antialiasing.SoAccumulationAntialiasingParameters object.

See Also