<viz>.fov

Sets the vertical field of view and the window aspect ratio

 

<viz>.fov(
    verticalFOV    # vert. FOV in degrees
    aspectRatio    # horz. to vert. aspect ratio

)

 

verticalFOV

Specifies the vertical field of view of the viewport in degrees.


aspectRatio

Specifies the horizontal to vertical aspect ratio of the viewport.


Remarks

Use this command to modify the perspective transformation properties of the render viewport. Ideally, one should match the rendered field-of-view to the display field of view. For information on achieving this, see here.

Return Value

None

Example

viz.fov(50, 1.333)

See also

<viz>.clip
<viz>.ipd
Perspective Rendering