FOV Panel

a panel to convert between fov, aperture and focal length

Updated: 19 October 2011

Author: frank

Compatible Nuke versions: 6.0 or later

Compatibility: Linux, Mac, Windows

v1.1: fixed code to work with Nuke 6.3

This panel lets you convert between focal length, aperture and fov.

You can create a new camera with the found values or drive an existing one.
The preset list is read from a text file called "apertures.txt" in your plugin path (an example is in the zip file). this way people can configure their own presets. If no such file is found, the drop down knob will not appear.
Check the tooltips and the quicktime for more information. 

example menu.py entry:

1
2
3
4
5
6
7
import FovCalculator
def addFovCalc():
    fovCalc = FovCalculator.FovCalculator()
    return fovCalc.addToPane()
nuke.menu( 'Pane' ).addCommand( 'Fov Calculator', addFovCalc )
nukescripts.registerPanel( 'com.ohufx.FovCalculator', addFovCalc )
 

Make sure to put the icons from the zip file into your plugin path so the panel can find them.

fovCalc_01


Sign in or register to download or rate.