OK just a quick post, along with a new script. This script automatically generates a Vray Physical Camera inside 3Ds Max, in much the same way as you create a standard camera.

Earlier today Mark Hunter (@Hunter_1st) challenged me to create a script which converts the viewport view to Vray Camera inside 3Ds Max, in the same way as you create a standard camera by pressing "CTRL C".

So with a little lateral thinking, I have knocked up a script that hopefully will serve his purpose, and maybe be of use to others (and possibly even myself!).

Anyway, here is the script.

Run it inside 3Ds Max and assign it to a short cut (if you soley use vray you might just want to assign it to CTRL C and override the standard camera), or do as I normally do and assign it to a button on the UI.

When you click the button (or use the shortcut) the Vray camera is created, and a dialogue box will pop up where you can rename the camera. This is useful for two reasons, firstly you should rename things anyway!! And secondly, the script is simple, and if you plan to create more than one camera, you will need to have renamed the previous cameras, otherwise the script will just move the old camera to your new view.

If this script is useful to you, or you notice any bugs, please let me know!