FOVConstraint
This node constrains the field of view of a camera to fit the target geometry. FOVConstraint closes or opens the field of view of a camera from all sides while the center of the frame remains the same. If an object is located at the edge of a light's view, the FOVConstraint should be combined with an AimConstraint to tighten the view right on the object.
See also DollyConstraint.
Connection Type |
Connection Name |
Function |
Input |
input |
The place in the node graph where you want to constrain the field of view of a camera. |
Control (UI) |
Default Value |
Function |
basePath |
N/A |
Describes the scene graph location of the object to constrain. The basePath parameter options are available in either the scene graph widget or dropdown menu to the right of the parameter. For more information, refer to the Scene Graph Location Widget Type in the Common Parameter Widgets. |
targetPath |
N/A |
Describes the object(s) location to which the basePath object is constrained. The targetPath parameter options are available by clicking Add Locations or dropdown menu. For more information, refer to the Scene Graph Location and Locations Widget Types in Common Parameter Widgets. |
targetBounds |
box |
Sets the type of bounds to use for the target object(s). • box - the field of view is constrained to fit the bounding box of the target object(s). This can be very useful for shadow maps, as it produces a tight fitting bounding box. • sphere - the field of view is constrained to fit a sphere that encloses the bounding box of the target object(s). This can be very useful for turntables when you don't want the field of view to change as the object rotates. |
angleOffset |
0 |
Sets the angle added to the FOV during calculation. |
allowMissingTargets |
No |
When set to Yes, silently ignore the constraint if its target is not in the scene graph. When set to No, produce an error on constraint resolution if the target is missing. |
addToConstraintList |
No |
Adds base path to globals.constraintList at /root/world. This is only needed for cases in which one constraint depends on another constraint already being evaluated. The globals.constraintList is used to specify the order of evaluation of constraints. |
setRelativeTargets |
No |
Stores target paths in the scene graph constraint definition as paths relative to the base path. Targets should still be specified as absolute paths in this node's parameters. |