Page History
...
VRayProxy loads geometry from file on disk at render time only. The The geometry is not present in the scene, and does not use up any resources, except for the viewport preview. This allows rendering scenes with many millions of faces, more than Maya itself can handle.
The V-Ray Proxy in Maya is a VRayProxy node that loads the geometry from a file on disk. The node loads alembic ( .abc ) and V-Ray Proxy ( .vrmesh ) files. Any mesh can be exported to an an .abc or or .vrmesh file from Maya and then loaded as a proxy.
Meshes are exported to a special .vrmesh file format. This file contains all geometric information for a mesh such as vertices and face topology as well as texture channels, face material IDs, smoothing groups, and normals. In short, everything that is needed to render the mesh is included in the file. In addition, the mesh is preprocessed and subdivided into chunks for easier access. The file also contains a simplified version of the mesh used for preview purposes in the viewports. More information about the .vrmesh file format is available in the V-Ray SDK documentation that comes with the V-Ray for Maya installation.
UI Text Box | size | medium|
---|---|---|
| ||
This page describes working with the new and improved VRayProxy node in V-Ray 5 that's simpler, faster and offers new and powerful features. Scenes using the old V-Ray Proxy can be easily converted to the new VRayProxy with the built-int in converter found in the V-Ray menu > Tools > Convert to New V-Ray Proxy Node. |
...
Basic Parameters
...
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Object Hierarchy
...
Section | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Advanced Overrides
...
Section | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: Applying Visibility Overrides
...
Example: Applying Visibility Overrides
There is no difference between applying Visibility Overrides to .vrmesh (V-Ray Proxy) files and .abc (Alembic) files. Visibility overrides are applied to objects in the hierarchy.
You can use asterisks as wildcards when inputting the names of the objects/ groups in the Rule. Pressing Enter confirms the input.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: Applying Shader Overrides
Section | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
Example: Applying an Override to
...
Objects with
...
Similar Names
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Animation Parameters
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Alembic Layers
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Alembic proxy parameters
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Assigning Random Colors per Alembic Particle
...
These example workflows show how to assign random colors to alembic particles.
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Point Cloud
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
VRayMesh file info
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Material Assignment Overrides
...
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Code Block | ||||
---|---|---|---|---|
| ||||
<materialAssignmentRules> <patternRule> <pattern>/pCube*</pattern> <material>VRayMtl1@material</material> </patternRule> </materialAssignmentRules> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<materialAssignmentRules> <patternRule> <pattern>VRayMtl1</pattern> <material>VRayMtl1@material</material> </patternRule> </materialAssignmentRules> |
The sample XML assigns the VRayMtl1 material to all vrmesh objects matching VRayMtl1 pattern, i.e. all objects whose material name is VRayMtl1.
Code Block | ||||
---|---|---|---|---|
| ||||
from vray.utils import * appendSceneContent("C:/mtlAssignments/materials.vrscene") |
For this feature to work, you need to specify the path to the . vrscene containing the materials (procedural textures or paths to bitmaps). This only works with post-translate python script. The following example script specifies the path to the . vrscene file and should be copied into Render Settings > Common > MEL / Python callbacks > Post translate python script.
Code Block | ||||
---|---|---|---|---|
| ||||
<materialAssignmentRules> <patternRule> <pattern>/pCube*</pattern> <sceneMaterial>VRayMtl1@material</sceneMaterial> </patternRule> </materialAssignmentRules> |
The sample XML assigns the VRayMtl material to all alembic objects matching the pattern pCube* , i.e. all objects whose name starts with pCube. It uses the new sceneMaterial tag.
UI Text Box | ||
---|---|---|
| ||
The material assignment overrides is still an experimental feature and can change at any point! |
Example: Instancing V-Ray proxy with MASH
Section | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Notes
...
Fancy Bullets | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|