Page 1 of 1

MEL question: creating sliders for camera attributes

Posted: Mon Apr 14, 2008 4:43 am
by deadalvs
hi !

i wanted to ask this:

(i'm currently taking a matchmoving class, so i have often to zoom into the image plane for better seeing details)

i'd like to try to make a script that lists all renderable and non-orthogonal cameras and then create a window with sliders for the following attributes:

• horizontal film offset
• vertical film offset
• overscan

a tab for each camera should be created in a simple window. each tab should be named as the camera.

i have never worked with sliders before, so maybe someone could give me a few hints or important tips.

(also, i'd like to implement a reset button for the values and an update button to recalc the whole window if cameras have been created or deleted ... )

Posted: Sat Apr 19, 2008 9:58 pm
by deadalvs
solved so far.

i'll post the code if someone is interested ...