Multiplying Exposures

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
alexxgrigg
Posts: 9
Joined: 14 Mar 2016, 03:12

Multiplying Exposures

Post by alexxgrigg »

Hi guys, I was wondering if anyone has made a script to easily double (or quadruple etc) multiple exposures at once. This would be similar to the inbuilt "set exposure" buttons, except instead of exposure+n it would be exposure*n
I ask because I often block out scenes on 6's or 8's then retime the scene when I want to add breakdowns.

Thanks guys. I'm just not code savy enough to dive into this by myself.
User avatar
NathanOtano
Posts: 1209
Joined: 01 Apr 2014, 07:07
Location: Biarritz, France
Contact:

Re: Multiplying Exposures

Post by NathanOtano »

Hey :)

I made this panel for you. It requests a number when you click on the button (default 2), then it multiplies all selected exposures by this number. You can also divide your exposures by mutiplying by a floating number (use 0.5 to divide by 2 for exemple).

If you search this line in the embedded script :

Code: Select all

tv_reqfloat 2 0 10000 "Multiply by"
mult = result
IF ( CMP( mult, "cancel") == 1 )
    exit
END
You can replace the "2" after tv_reqfloat by any default number you want.

Also, you can replace those five lines by this line only :

Code: Select all

mult = X
While X is a number you choose. This way the panel will always multiply by this given number (so you can duplicate the button, set multiple presets of different numbers on each button's script). That way you'll avoid having to type it by hand each time you use the button.
Attachments
OTANO_MultiplyExposures.tvpx
(85 KiB) Downloaded 905 times
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
User avatar
alexxgrigg
Posts: 9
Joined: 14 Mar 2016, 03:12

Re: Multiplying Exposures

Post by alexxgrigg »

Dude! This is amazing. Thanks so much :)
Post Reply