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
1279

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
 
 
0 # Rayk Schroeder 2010-10-18 08:12
cool, i had such a tool on my todo-list for learning python :-D
 
 
0 # 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.
 
 
0 # 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
 
 
0 # Kenzo JOCHER 2022-12-14 17:10
Hi Frank !
Really cool tool but is it possible to update it for Nuke 13/14 and, above all, make it compatible with Python 3 ?

Thx !
 
 
0 # Frank Rueter 2022-12-14 19:30
oh that's a blast from the past. yes, I should
 
 
0 # tony cole 2024-02-08 00:15
Hi Frank
This downloads a py file ... where can I find the icons ?
 

You have no rights to post comments

We have 2322 guests and 126 members online