FOV Panel v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Frank Rueter
Website: www.ohufx.com
a panel to convert between fov, aperture and focal length
Requirements:
6.0, 6.1, 6.2, 6.3 or later
Linux, Mac, Windows
18 Oct 2011
1010

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


Please login in order to download these files.

Comments   

 
+1 # Florian Dehmel 2010-10-18 03:58
Very nice!
Had to add "paneMenu = nuke.menu( 'Pane' )" to the upper menu.py entry to make it work...
Greets, Flo
 
 
# Rayk Schroeder 2010-10-18 08:12
cool, i had such a tool on my todo-list for learning python :-D
 
 
# Frank Rueter 2010-10-18 16:11
oh man, I always forget something when ripping out the code out of my modules to post it. THanks for pointing it out Flo, I've updated the description now.
 
 
# Reiner Wiese 2011-03-11 05:02
Hi!
First: This looks awesome and truely professional!!!
Even if i am a traditional educated Photographer...:
I am a total Newbie to 3D and Pythonscripts.. . so, sorry if my Question sounds dumb.

Can i use this great Script with Smith Micro`s POSER 7 or 8 ?
I couldnt find (or oversaw?) any Hint for what Program you have written this....

Thank you very much for answering...
Reiner
 

You have no rights to post comments

We have 2124 guests and 62 members online