A VRay Camera "Real Camera Settings" script

I'd like to commission a script which I'd like to own and possibly sell onto the community (in order to allow for further developing).

It is to at least work for 3DS Max 2014 but if possible also for the new Physical Camera in 3DS Max 2016.

I'd like it to allow you to pick a camera from the scene, and at a click of a button take ownership of the camera's f-stop, shutter speed and ISO so that you can change then using sliders (but to make those changes like a real camera, using real world shutter, iso and aperture values).

At the top of the script's dialog box I'd like to have a set of three buttons, called "Interior", "Exterior", "Studio" which at a click of any one of those buttons, the camera's aperture, shutter speed and ISO are set to my preferred settings (I'd like those stored in an ini file so that people can change those settings to their own preferred defaults).

Below those 3 buttons would be a checkbox to lock or unlock the exposure (see significance of this below).

I'd then like below that 3 rows; Aperture, Shutter-speed and ISO and next to each of these items would be a SLIDER (if a slider is possible, otherwise another idea instead of a slider would be needed).

To the right of each slider I'd like radio buttons, which by default would be set to ISO, indicating that ISO will be fixed, so that when you change the Aperture, the Shutter speed will change (and vice versa). If this radio button were to be checked so that it became selected next to Aperture, then one would be free to change either the ISO or the Shutter speed (whilst the Aperture remained fixed).

If the Exposure Lock checkbox is unchecked, then NO radio button would be checked and all three would be greyed out.

Finally, ALL the sliders would have real world values ONLY available to them (i.e. f/1.4, f/1.8, f/2, f/2.8 etc, 1/2s, 1/4s, 1/8s, 1/15, 1/30, 1/60 etc, ISO 25, 64,, 100, 200, 400, 800 etc.). Basically all the Full, Whole Stops for halving or doubling the amount of light.

Finally, somewhere on the interface, there would be another set of radio buttons, so that you had a choice of either moving the sliders in 1-stop, 1/2-stop or 1/3 stop increments.

At the bottom of the dialog box would be a button to commit these camera settings to the selected camera.

Other tiny refinements will be necessary including the layout design, but the general idea is written above.

Many thanks.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
JezUK's picture

These are the changes I'd like to see to "VRayCamera SLR"

1) I'd like a 'lock' exposure feature so that if my exposure is already correct, a change in aperture will automatically change the shutter speed (whilst leaving the ISO fixed). Same for when changing the shutter speed, and same for when changing the ISO.

2) The ability to change settings in 1/2 or 1/3 stop increments (if you want).

3) The ability to set with one-click the selected camera(s) to either my favourite "Interior", "Exterior", or "Studio" default settings.

4) One-Click feature to set camera(s) to Neutral White Balance.

5) One-Click feature to turn on/off Vignetting for camera(s).

6*) To fully comment maxscript code (I want to learn about Maxscript !) - so this is optional but would be really nice :)

fajar's picture

it s good omen for you , why

it s good omen for you , why dont you just collect all free script here first (ms file, not mse file) , collect the info, open maxscript editor and then try to write it by yourself ...even if you're copying all the source [not copy past but manually write it yourself], its all right, your head will remember it little by little like that, by the time you'll gain your own knowledge....so just start it by little and start it by doing little experiment.

JezUK's picture

Found something close - maybe this can be modified ?

"VRayCamera SLR Setup" is already very close - maybe this can be modified ?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.