Page History
This tutorial demonstrates the flexibility of VRayProxy and VRaySwitchMtl when working with user defined attributes.
Overview
3ds Max User Defined Properties dialog allows adding custom attributes per object. These attributes can have unique values even between instanced geometry.
In this tutorial we use this feature to link a variety of materials and vrmesh assets to VRayProxy instances.
First, we define the custom object attribute that we use as switch for both material and geometry. Then, we set the switch in a VRaySwitch material to specify the exact sub-material which is used. And finally, we instantiate the VRayProxy objects and set their custom attribute values, effectively specifying the exact vrmesh and material to use.
Step 1: Set the object property attribute
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Step 2: VRaySwitchMtl and VRayUserScalar
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Step 3: Using Proxy Instances
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|