nw::demo::RenderSystem::CalcStereoCamera Member Function
void CalcStereoCamera(
gfx::Camera * leftCamera,
gfx::Camera * rightCamera,
gfx::Camera * baseCamera,
f32 depthLevel = 1.0f,
f32 depthRange = 1.0f
);
| Name | Description | |
|---|---|---|
| out | leftCamera | Camera for the left eye. |
| out | rightCamera | Camera for the right eye. |
| in | baseCamera | Camera used as the base. |
| in | depthLevel | Distance from the base camera to the base plane. |
| in | depthRange | Parallax correction value. |
Calculates the stereo camera.
CONFIDENTIAL