To Camera Interest (Expression Function Reference)
The Function > Distance > to Camera Interest command in the expression editor inserts the token ctr_dist_cam_int(<elem1>) at the insertion point in the editing pane. This token returns the distance between the center of an object and the interest of the output. Replace the dummy argument <elem1> with an object name.
![]()
|
Object names must end in a period. |
![]()
|
You may need to change frames to update the scene if you move the camera interest interactively. |
![]()
|
This token works only with the interest of the output camera. If you have changed the output camera from the default, you may need to force a refresh to see an update; e.g., by changing frames. You can also use Center to Center (Expression Function Reference) with the explicit camera name. |
Example
ctr_dist_cam_int(cone.)
Returns the distance between cone and the default camera interest.
Autodesk Softimage v.7.5