Perspective to Vray Physical camera

Simple script i created to emulate the perspective to camera (ctrl+c) in max, but this creates a physical camera instead.
EDIT #3: Even Newer version (likely the final one this time), supports also ortographic and user views, somehow (bad FoV as of now), and manages to get around a bug in the VRay camera target Users are encouraged to upgrade to this one. I left a silly typo in the code which prevented the caera from getting the FoV right.

http://rapidshare.de/files/30581286/Persp\_To\_Phys\_Cam\_01.ms.html

Macroscript, so it can be freely added to quad menus, or shortcuts.
Just run the .ms file, go into “Customize->Customize user interface”.
Under the “MainUI” Group, and the “VRay” category you’ll find the new command: “Persp_2_Phys_Cam”
I bound it to Shift+Ctrl+C (rest of max is at default), so my workflow remains similar to that used with standard max cams.

Have fun, and let me know if it has issues.

Lele

EDIT#4: relink here of the standard to VRay Camera converter, for lazy readers who don’t like scrolling :slight_smile:
http://rapidshare.de/files/30645477/MaxCam\_To\_PhysCam.ms.html

sweet!8)
will try as soon as possible!

thanx Lele! :wink:

thats sweet.. saves messing around getting the vray camera to match the normal camera.

brilliant, man!!!

doesnt work in viz05.

forgot to mention: only works with max 7.5+ and corresponding Viz versions.
No plans to have it work with earlier versions as i’d have to do by hand the calculation of FoV → Lens mm conversion, and i am lazy. :lol:

Lele

:frowning: but nice tool, i think^^

nice one lele.
I knew you could do it :slight_smile:

Thanks Lele, I’ll give it a try too! :slight_smile:

Awesome awesome awesome… i’m putting this into place right now! Thanks!!

lele, any chance of re-purposing this to convert a standard camera to a physical cam?

http://rapidshare.de/files/30645477/MaxCam\_To\_PhysCam.ms.html

supports multiple mixed selections (ie. objects, lights, cameras, targets, helpers, whatever) at once.
Run the script, it’ll be available under the “Vray” category of the MainUI group, in the customize interface panel, under the name “MaxCam_2_PhysCam”.

n1, thanks lele

nice one lele, just what I was after

Pretty nice Lele, like Jack have said: “I knew you could do it” hehehe :lol:
great idea and prog!!!

Cheers Lele :slight_smile:

really nice, are we able to set it on a shortkey?

Macroscript, so it can be freely added to quad menus, or shortcuts.
Just run the .ms file, go into “Customize->Customize user interface”.
Under the “MainUI” Group, and the “VRay” category you’ll find the new command: “Persp_2_Phys_Cam”
I bound it to Shift+Ctrl+C (rest of max is at default), so my workflow remains similar to that used with standard max cams.

ups :sweat_smile:

thanks man. :slight_smile:

Anytime :smile:

Thanks Lele !
U rock man :wink: :wink:

Best regards,
nikki Candelero