SoSceneManagerSetAntialiasing Method (Boolean, Int32) |
Note: This API is now obsolete.
Enables smoothing and/or multi-pass antialiasing for rendering.
Namespace: OIV.Inventor
[EditorBrowsableAttribute(EditorBrowsableState.Never)] [ObsoleteAttribute("Obsolete since Open Inventor 9100. 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.")] public void SetAntialiasing( bool smoothing, int numPasses )
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 |
---|
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. |