Property | Type | Description | |
---|---|---|---|
aspect | double | ||
fov | double | ||
zoom | double |
Method | Description | |
---|---|---|
PerspectiveCamera ( double fov, double aspect, double near, double far ) : System |
fov — Camera frustum vertical field of view. aspect — Camera frustum aspect ratio. near — Camera frustum near plane. far — Camera frustum far plane.
|
|
setLens ( double focalLength, double frameSize ) : void |
focalLength — focal length frameSize — frame size Uses focal length (in mm) to estimate and set FOV 35mm (fullframe) camera is used if frame size is not specified. Formula based on http://www.bobatkins.com/photography/technical/field_of_view.html
|
|
setViewOffset ( double fullWidth, double fullHeight, double x, double y, double width, double height ) : void |
fullWidth — full width of multiview setup fullHeight — full height of multiview setup x — horizontal offset of subcamera y — vertical offset of subcamera width — width of subcamera height — height of subcamera Sets an offset in a larger frustum. This is useful for multi-window or multi-monitor/multi-machine setups.
|
public PerspectiveCamera ( double fov, double aspect, double near, double far ) : System | ||
fov | double | |
aspect | double | |
near | double | |
far | double | |
return | System |
public setLens ( double focalLength, double frameSize ) : void | ||
focalLength | double | |
frameSize | double | |
return | void |
public setViewOffset ( double fullWidth, double fullHeight, double x, double y, double width, double height ) : void | ||
fullWidth | double | |
fullHeight | double | |
x | double | |
y | double | |
width | double | |
height | double | |
return | void |