C++
virtual void setStereoParameters( double magnitude, double parallax ) = 0;
Description
Use this method to set stereo parameters such as magnitude and parallax. magnitude adjusts the view separation. The default value for magnitude is 1.0. A magnitude of 0.0 gives no stereo effect, while magnitude values greater than 0.0 produce a stereo effect, and a magnitudes value of 2.0 double the stereo effect. parallax adjusts the plane of zero parallax. The default value of 1.0 has the zero parallax plane at the view target. If view target is at the center of the object, half the object will appear in the screen and half extending from it. A value of 0.0 shifts the object into the screen, and a value of 2.0 shifts the object out of the screen. Both magnitude and parallax should be between 0.0 and 2.0 inclusive. Also note that to see the effect of stereo, the view must be set to perspective projection.
Parameters
Parameters | Description |
---|---|
magnitude | Input magnitude of view separation |
parallax | Input parallax |