nn::ulcd::CTR::StereoCamera Class

Header file: nn/ulcd.h

Syntax

class StereoCamera

Description

Class that supports the creation of camera matrices for rendering images that take binocular parallax into account.

Member Functions

StereoCamera Creates the module that generates camera matrices for stereoscopic vision. No initialization is performed.
~StereoCamera Destroys the module that generates camera matrices for stereoscopic vision.
Initialize Initializes the module that generates camera matrices for stereoscopic vision.
Finalize Finalizes the module that generates camera matrices for stereoscopic vision.
SetBaseFrustum Sets the parameters that form the base camera's view volume.
SetBaseCamera Sets the base camera's view matrix.
SetLimitParallax Sets the parallax limit for objects that appear to be going into the screen (the depth direction).
CalculateMatrices Calculates the view matrices and projection matrices for the left and right cameras, using the application priority method.
CalculateMatricesReal Calculates the view matrices and projection matrices for the left and right cameras, using the realism priority method.
GetParallax Gets the ratio of the parallax at a point located a specified distance away from the camera to the screen width.
GetMaxParallax Gets the parallax at the farthest possible distance, as the ratio of the parallax to the screen width.
GetLimitParallax Gets the parallax limit configured for objects that appear to be going into the screen (the depth direction).
GetDistanceToLevel Gets the distance from the camera to the base plane.
GetDistanceToNearClip Gets the distance from the camera to the near clipping plane.
GetDistanceToFarClip Gets the distance from the camera to the far clipping plane.

Revision History

2010/04/02
Initial version.

CONFIDENTIAL