Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed TOC

This page provides information on the .vrmesh format in V-Ray for Unreal.

Floatingpagetoc

 


Overview

...

Section
Column
width45%

VRayProxy imports geometry from an external file at render time only. The .vrmesh contains all geometric information for a mesh – vertices and face topology as well as texture channels, face material IDs, smoothing groups, normals – in short, everything that is needed to render the mesh. 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.

Unreal breaks the .vrmesh to its Face IDs, making the different elements of the mesh available for material assignment.

Column
width5%

 


Column
width50%
Before after
afterLabelVFB
beforeLabelViewport
Panel

Panel

...

UI Text Box
typetip

You can use the .vrmesh in Unreal's Foliage Scatter system.

...


Usage Example

...

...


Foliage Use

Section
Column
width45%

In this short example, a .vrscene file, containing a number of .vrmesh trees, is loaded.

You can preview each proxy in the StaticMesh Editor, but it is only a representation and the full geometry is revealed only when you render.

Using the Paint method, you can select a .vrmesh to scatter with around the scene.

Render to see the final result.

Column
width5%
 

Column
width50%
Align
alignright
HTML
<iframe width="640" height="480" src="https://www.youtube-nocookie.com/embed/3qmMRAHqsXY?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

...

Section
Column
width45%

Normally, a proxy is not baked during a bake light process.

However, it is possible to import a proxy and bake it with a light map, provided the mesh has correct UV mapping.

Select the proxy and go to Static Mesh > Import Settings rollout. Press the Reset to Default button, which converts the proxy to a static mesh. The static mesh can now be baked.

Column
width5%
 

Column
width50%

 

...