SoRenderAreaCoreActivateStereo Method |
Activate (or deactivate) stereo rendering with specified parameters (see setStereoParameters).
Namespace: OIV.Inventor.ViewerComponents
The stereo mode is determined by which subclass is used to set the parameters. For example, passing an OIV.Inventor.ViewerComponents.SoRawStereoParameters object activates OpenGL "quad buffered" stereo (if possible on the current graphics board).
Stereo rendering needs a OIV.Inventor.Nodes.SoStereoCamera to be activated. The edited camera is the first stereo camera found in the current scene graph. If no stereo camera is found, a warning is displayed. This method must be called to update the edited camera if the scene graph changed.