CameraFocus.mel

This script creates a focus control for a maya, mental ray and Octane camera.  You can easily create a connection to another renderer by reading the first lines of the script and creating the connection yourself to the proper attribute.

If you do not have Octane Render for Maya, you will get an error message but the connection will still be made to your standard maya camera.


procedure:
- install in your script directory
- select your camera
- load the script and run "CameraFocus;"
- control the focus point with the "FocusControl" locator.