Get V-Ray VRay.info T-shirts
Home

Topic: Setting VRay as the default renderer and VRayMat as the default material.

posted by Vlado
archived on 13.6.2005

EDIT 20.4.2008:
As of 1.50 SP2 this is now available from the Custom UI and Defaults Switcher in 3ds Max

------------------------------------------------------------
You can do this by creating a new Defaults scheme for 3dsmax.

For example, copy the maxroot\defaults\MAX folder into \maxroot\defaults\MAX.vray folder; then in the material editor, fill all the 24 sample slots with default VRay materials, and save the material editor as \maxroot\defaults\MAX.vray\medit.mat.

Optionally, edit the \maxroot\defaults\MAX.vray\CurrentDefaults.ini file to specify VRay as the default renderer by replacing the lines
DefaultProdRenderer=1 0
DefaultDraftRenderer=1 0
DefaultIReshadeRenderer=1 0
DefaultMEditRenderer=1 0
DefaultMEditRendererLocked=1

with
DefaultProdRenderer=0x73bab286 0x77f8fd0c
DefaultDraftRenderer=0x73bab286 0x77f8fd0c
DefaultIReshadeRenderer=1 0
DefaultMEditRenderer=0x73bab286 0x77f8fd0c
DefaultMEditRendererLocked=1


You can also specify that the default shadow type should be VRayShadow by replacing the lines
[30 1011 0]
castShadows=0
useGlobalShadowSettings=0
; Shadow Map
ShadowGenerator=0x100 0


with
[30 1011 0]
castShadows=0
useGlobalShadowSettings=0
; Shadow Map
; ShadowGenerator=0x100 0
ShadowGenerator=0x1daee05f 0x74b2d60f


You can also make other changes, as you wish. Then, start 3dsmax and from Customize > Custom UI and Defaults Switcher choose the Max.vray configuration. Restart 3dsmax.

Now VRay will be your renderer by default when you start 3dsmax, and the material editor will contain the 24 VRay materials by default. Also, the standard lights will have vray shadows by default when they are created.

> print this entry
VRay.info v1.8 | VRay.info is not the official VRay site. VRay is property of Chaos Group