Syntax

dbSetCamerasStereoscopic(RenderingMode, LeftCamera, RightCamera, BackImage, FrontImage)

Description

This command will take the output of two cameras representing the left and right eye and generate new images which you can use as textures to paste to the screen either as a texture on a 3D object or a sprite. The command dbPasteSprite is recommended since it will produce a perfect 3D quad to render the processed camera output perfectly to the backbuffer (and front buffer if applicable).

 

RenderingMode

Stereoscopic mode of one uses Anaglyph rendering to the Back image. A value of two uses IZ3D stereoscopics to render the back/front images required for double wide backbuffer rendering.

 

LeftCamera

The camera number representing the left eye.

 

RightCamera

The camera number representing the right eye.

 

BackImage

The back image number.

 

FrontImage

The front image number.