Square Enix © Goodbye Kansas

Table of Contents

This page provides general information about the Mesh sub-section of the Rendering tab of the V-Ray Volumetric Grid.

Overview


The options for this rollout are accessible when the Render Mode is set to MeshOcean Mesh, or Cap Mesh.

 

 

Parameters


Mesh Type | rendMeshType – Specifies the type of mesh to render.

Static Mesh - this mode will generate a V-Ray Static mesh type at render time. Static geometry is generated at the beginning of the rendering and remains in memory until the frame is rendered. This can speed up the rendering but will increase the memory usage.
Dynamic Mesh - this mode will generate a V-Ray Dynamic mesh type at render time. Dynamic geometry is generated 'on the fly' which can potentially save memory. Not recommended when Render Mode is set to Ocean Mesh.
Maya Mesh (not suitable for Ocean) - this mode will generate a standard Maya mesh. When you enable Show Mesh from the Preview roll-out, this mesh is also available in the Viewport for processing as any other Maya geometry/ This way it can be exported to Alembic for example, from Maya's Cache → Alembic Cache menu. If the Render Mode is Ocean Mesh or Cap Mesh, the generated mesh will have low detail because the Ocean mesh is deliberately low-res in the viewport preview for performance reasons. In Maya Mesh mode, you can use the Velocity Color Set field to control the name of the color set with vertex velocities that will be needed for rendering the mesh with motion blur.

Ocean Level | rendOcean – Generates an infinite ocean plane, starting at the boundaries of the grid. Used with the Ocean Mesh and Cap Mesh rendering modes. Specifies the water level as a percentage of the total grid height. The Ocean Level should remain constant and should not be animated for the duration of the render sequence.

Ocean Subdivisions | rendMeshSubdiv – Used with the Ocean Mesh and Cap Mesh rendering modes. When generating the far areas of the surface, this determines how many vertices are generated for each pixel of the image. Like with V-Ray subdivisions, the square of the parameter value is used. For example, if you increase the subdivisions twice, the vertices count grows four times. For more information, see the Ocean Subdivisions example below.

Increasing the Ocean Subdivisions may dramatically increase the amount of consumed RAM.

Horizon Roughness | rendOceanHorizRough – Controls the roughness of the distant ocean surface near the horizon. Adds more detail to the waves, which is especially helpful when using a highly reflective material for the ocean surface. Increasing this value can potentially produce visible noise when rendering an animation. To counter this effect, increase the Ocean Subdivisions parameter.

Off-Screen Margin (%) | rendOceanExtraMargin – The ocean is generated only in the camera view, which can lead to problems when using camera motion blur, using reflections, or when the ocean casts shadows on objects underwater. This option allows you to extend the ocean further from the borders of the camera view in order to solve such issues. The value is a percentage of the image size.

Pure Ocean | rendPureOcean – Creates a flat ocean surface up to the Ocean Level height. It does not need loaded caches and if there are any, it ignores their content, so no simulation details show. Thus changing frames and generating the ocean surface is very quick. This allows you to preview the behavior of the Ocean Texture  when Displacement is enabled. The option is available for both preview and rendering in Ocean Mesh or Cap Mesh modes. During preview, it requires the Show Mesh option to be enabled in the Preview roll-out.

Underwater Goggles rendUwGoggles – This option is designed to be used when the camera is placed under the water in Ocean Mesh or Cap Mesh mode. When enabled, a surface gets automatically added in front of the camera, using the same material that is assigned to the VolumeGrid, and this way mimics the effect of real life underwater goggles. This way the ocean volume receives the Fog color from the material assigned to the VolumeGrid, and the field of view shrinks when the index of refraction of the material is above 1. For more information, see the Underwater Goggles example below.

Prevent Moblur Self IntersectrendMbSelfIsect – In all Mesh modes, some motion blurred vertices might penetrate the opposite side of the geometry. When enabled, this option prevents such situations. The self-intersection analysis is expensive, so enable this parameter only when an intersection is obvious.

V-Ray VolumeGrid meshes are motion blurred in a different way than regular transforming and deforming geometries. When rendering regular meshes with motion blur, the entire mesh is moved along its transformation path back and forward in time, and so each individual vertex of the mesh follows this path. However, for each rendered frame, a new VolumeGrid mesh must be built from the voxel grid, and so it usually has a different number of vertices than the previous and the next frame. Because of this, individual vertices can not be traced back or forward in time between frames. Instead, motion blur of fluid meshes uses the velocity of vertices which is recorded by the simulation, and moves each vertex back and forward in time along the vertex velocity. This is why the generated liquid mesh does not support frame sub-sampling for motion blur. This may cause a mismatch between the liquid and transforming/deforming objects in your scene that interact with it. The fluid mesh is generated from data at the exact rendered frame and fluid data for the preceding or following frames is not used, unlike regular deforming meshes. As a consequence, the liquid and the objects in your scene would synchronize best if those objects do not use additional geometry samples for motion blur.

Mesh Smoothness | rendSmoothMesh –  Specifies the number of smoothing passes. The higher the value, the smoother the result, but the mesh will require more time to calculate. Used when Render Mode is set to MeshOcean Mesh, or Cap Mesh to reduce the roughness of the mesh. 

Use Liquid Particles for Smoothing | rendSmothUsePrt –  Enables particle-based smoothing of the mesh. It requires Liquid particles to be simulated and exported to the cache files. This method overcomes the limitations of the basic smoothing without particles, which can flicker in animation and cause small formations in the mesh to shrink.

Smoothing Particle Size | rendSmoothPrtSz – Used to make the liquid thicker or thinner. Works only when Use Liquid Particles is enabled. This parameter specifies the distance from the mesh surface to the particle centers.

Velocity Color Set | rendMayaMeshVelSet – You can use this field to control the name of the color set with vertex velocities that will be needed for rendering the mesh with motion blur. For example, VRayProxy in Maya looks for a color set named 'v' or 'velocity'. Unlike VRayProxy, in order to get motion blur rendering of the Maya Mesh or an imported Alembic, you have to manually put the name of the color set into the Mesh Shape → Mesh Controls → Motion Vector Color Set field. In order to export the mesh as Alembic with included velocity, make sure to enable Write Color Sets in the Advanced Options of the Alembic Export window.

 

 

Example: Ocean Subdivisions


 

 

2
8

 

Example: Underwater Goggles



 

Notice how the field of view shrinks when the option is enabled, due to using Refraction IOR = 1.33 in the Simulator's VRayMtl.

Off
On