Page History
This page provides information on the User Attributes set that can be added to meshes.
floatingpagetoc
Overview
...
Allows the user to specify their own attributes, which can then be accessed with the User-defined Color Map (VRayUserColor) and User-defined Scalar Map (VRayUserScalar) textures to provide per-object values for shading attributes. They can also be used in the file name of File nodes to resolve the bitmap file name on a per-object basis. Several attributes can be specified in the string, separated with a semicolon ';' character. User attributes can also be specified on transform nodes. The final string of user attributes for a given object is a concatenation of the user attributes specified on the shape of the object and the user attributes specified on its parent nodes along the DAG path. This allows to conveniently add attributes to a large part of the DAG hierarchy.
...
||Select mesh|| > Attribute Editor > Attributes menu > VRay > User Attributes
User Attributes
...
Section | |||||
---|---|---|---|---|---|
|
|
Animated User Attributes
...
If you need to animate the value of a user attribute, you can create a custom dynamic attribute attached to the shape or transform of an object, and animate that. The dynamic attribute must be named vrayUserColor_attrName or vrayUserScalar_attrName or vrayUserString_attrName depending on the attribute type. You can then use the tag <attrName> in textures like VRayUserColor and VRayUserScalar as well as the file name of a File node.
...
UI Text Box | ||
---|---|---|
| ||
Creating an animated VRayUserColor attribute will require additional MEL scripting. |
...
Example: Animating a Scalar User Attribute
...