Skip to content

3DS Max Domemaster3D Tips And Tricks

Andrew Hazelden edited this page Nov 26, 2016 · 2 revisions

Automating Stereo Rendering in 3DS Max

It's possible to automate the process of generating left & right views with the domemaster stereo shader in 3DS Max. Since the lens shader uses a mental ray generic UI builder .mi file, the shader's parameters are accessible using maxscript.

If you want to switch the lens shader's camera view you can access the Camera selector with:

renderers.current.camera_lens_shader.camera

You can set the view using on of the following values:

0 = Center
1 = Left
2 = Right

Using maxscript you can list the accessible lens shader parameters:

showproperties renderers.current.camera_lens_shader.camera

If you would like to know more about Maxscripting lens shaders check out the http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/files/GUID-EE96053B-6E67-4578-B1C7-2738CF47C5B1.htm MaxScript Help topic on the Mental Ray Renderer

Clone this wiki locally