Mr.Studio

20 votes
Version: 
1.5
Date Updated: 
05/18/2009

mrStudioMr.Studio is a tool to simulate studio lighting with Mental Ray. It has some features to simplify the control of lights and provide previews.

Features:
-When you press Create Studio Button, Mr.Studio creates the bended ground plane and four lights. If there is some object or objectsselected, Studio will be built around the center of selection. Groundwill beplaced to the bottom of selection. Mr.Studio will inform you that itwill change unit and render settings. Save your important work beforeproceed.

-Delete Studio button will delete the lights and ground plane, it doesnt effect the presets.

-Left, Right and Back Lights are Photometric Area Lights. Their areasampling samples are set to 128. If you want you can increase ordecrease this value or area sampling totally. Ambient Light is an omnilight,which has a ambient occlusion shader as a projector map. It practicallycreates an overall ambient light with ambient occlusion. AmbientOcclusion options are accessible through its shader, which could befound in the second material slot.

-It is possible to change each lights value and color interactivelyfrom ui. Slider and spinner values are synchronized for easier usage,but it is possible to go over slider limits using spinner values.

MrStudio_ui


-Preview button provides an easy overlook for direction and intensityof lights, softness of shadows, color of lights etc. It reducessampling values for both area lights and ambient light for reduce the preview rendering time.

-There are three seperate Store buttons. While a store button ischecked, all light and color values will be stored in correspondingstore button. These values will be stored in there with the projectfile. So closing and opening the script, even closing and opening Maxwont cause any loss.

Version History:

1.5

-One version for both Max 2008 and 2009, didnt try on 2010, I would appreciate if anyone let me know.

-Names of Lights converted to buttons, which can be used to easily select lights.

-Added some properties to the previewing stuff. Now you can select different AA and Shadow Sample rates for thumbnail preview.

----------------------------------------------------

1.4

First Release

----------------------------------------------------

Additional Info: 

This is a Macroscript. After you run the script, you can find the
script under customize => customize user interface - category: Tik
Works, and can assign it to a hotkey, menu or quad menu

Version Requirement: 
Written in 3ds Max 2008
Video URL: 

Comments

Comment viewing options

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

I didnt test it on 2010,

I didnt test it on 2010, only on 2008 and 2009.

It seems there are lots of changes in 2010.

I didnt own and dont intend to get 2010. I am moving to Maya because of my job requirements.

But thank you for letting me (in fact the others who is interested with this script) know about the issue.

regards

 

 

 

leejk's picture

Does not seem to work for

Does not seem to work for using Max 2010 64bit. It errors when I run the script, the error being:

--  Frame:
--   preset4: undefined
--   MrStudio_preset3: $MrStudio_preset3
--   PreviewAA_minVal: -4
--   LeftLightVal: undefined
--   PreviewSSVal: 32
--   LeftLightSamp: undefined
--   MrStudio_Presets_layer: <MixinInterface:LayerProperties>
--   Ambient_samples: 64
--   RightLightCol: undefined
--   orbity: undefined
--   BackLightVal: undefined
--   objVol: undefined
--   BackLightSamp: undefined
--   orbitzCenter: undefined
--   AmbLightCol: undefined
--   PresetRefresh: undefined
--   preset1: undefined
--   MrStudio_initial: $MrStudio_initial
--   preset3: undefined
--   MrStudio_preset2: $MrStudio_preset2
--   preset5: undefined
--   LightPresetCA: <AttributeDef:LightPreset>
--   CrStudio: undefined
--   PreviewAA_maxVal: 4
--   LeftLightCol: undefined
--   Area_samples: 128
--   RightLightVal: undefined
--   orbitx: undefined
--   RightLightSamp: undefined
--   orbitz: undefined
--   BackLightCol: undefined
--   LightPosMult: undefined
--   AmbLightVal: undefined
--   ControlPoint: undefined
--   AmbLightSamp: undefined
--   preset2: undefined
--   MrStudio_preset1: $MrStudio_preset1
--   PresetRetrieve: undefined
>> MAXScript MacroScript Error Exception: -- Unknown system exception <<

davidlecardinal's picture

of max 2010, it works too,

of max 2010, it works too, but not the render preview :(
The viewport is really better, so it's ok.

davidlecardinal's picture

ups... I'm tired This is a

ups... I'm tired
This is a Macroscript. After you run the script, you can find the script under customize => customize user interface - category: Tik Works, and can assign it to a hotkey, menu or quad menu

it works pretty :)

davidlecardinal's picture

Does not work in Max

Does not work in Max 2009;
or maybe I am wrong. The idea is great and I wish to try...

The same but with Max 2009. Run the script but nothing happened (no problem too)?

masquerade's picture

I have added a Max 2009

I have added a Max 2009 version also.

I wasnt aware, that max 2009 photometric lights a bit different than 2008. The main thing that effect the Mr.Studio is that you can not assign custom colors to Max 2009 photometric lights. Instead you define the filter color for the current kelvin value. In another words, in Max 2009 version, if you change the color, it acts like a filter added to the current color.

masquerade's picture

No you are not wrong.

No you are not wrong. Because in max 9  ao shader can be accessed with a different command, it throws an error there. I changed that code and re-uploaded as a Max 9 version.

I'd like to hear your comments when you have the chance to try. By the way, it seems like working, but there is a chance that it may be another incompabilities with max 9. I appreciate if you let me know in case you find out something. 

jrulier's picture

Does not work in Max9; or

Does not work in Max9; or maybe I am wrong. The idea is great and I wish to try.

"Will scan for food"

Comment viewing options

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