©BBB3viz

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Table of Contents

This page is about render elements and their basic usage.

Table of Contents

 

Overview


 

Render Elements are a way to break out renders into their component parts such as diffuse color, reflections, shadows, mattes, etc. This gives fine control over the final image when using compositing or image editing applications when re-assembling the final image from its component elements. Render elements are also sometimes known as render passes.

Render Elements are generated at render time based on the ones you choose before rendering. Most render elements have parameters that can be set to customize the render element or its later use in compositing software. These parameters are described on each render element's individual page, along with common uses and any notes on their generation and usage.

V-Ray supports the built-in 3ds Max Render elements user interface. However, V-Ray provides its own render elements and does not support the standard render elements implemented in 3ds Max. Therefore standard 3ds Max render elements will not work with V-Ray, and vice-versa.

For a complete list of render elements, see the List of Supported Render Elements below. All render elements support native V-Ray materials. Some render elements also support standard 3ds Max materials.

 

Since V-Ray Next Update 1, some of the render elements are rendered differently than before. The Lighting render element now contains all direct diffuse illumination and the GI element contains all indirect diffuse illumination. Similarly, all direct reflections of lights now go to the Specular element and all indirect reflections go to the Reflection element.


Previously this behavior depended on the sampling of the lights and not just on the type of the contribution. Some of the direct contributions that should be in the Lighting and Specular elements were written to the GI and Reflection elements instead. In both cases they compose back to Beauty correctly but the different types of contributions are now split between the elements more consistently.

This change makes the elements more consistent but it's also needed for preventing artifacts in these elements with the adaptive dome light (and possibly in the future with other adaptive lights).

The raw elements are affected only when the corresponding normal and filter elements are available, otherwise they're rendered as before. This is because the raw elements have to be derived internally from the corresponding normal elements in order to work with the consistent elements (f.e. VRayRawGlobalIllumination = VRayGlobalIllumination / DiffuseFilter).

There's an option to enable or disable the new behavior in the Global Switches rollout under the V-Ray tab in the Render Setup window. The consistent elements are automatically enabled when the scene contains an adaptive dome light so they don't have artifacts. They are also enabled by default for new scenes. For V-Ray GPU they are always enabled without an option to disable them.


 

 


When using the V-Ray frame buffer, V-Ray will write render elements only if you specify either one of the V-Ray raw image file output or the Separate render channels options. If you want to specify the render elements outputs using the 3ds Max Render Output field or using the output options of the various render elements, then you have to disable the V-Ray frame buffer.

 

UI Path


 

||Render Setup window|| > Render Elements tab

 

 


To use render elements, click the Add button to add the render elements you wish to generate at render time. When you render the scene, the added render elements will also render. The exception is the RGB color Render Element, which renders automatically without needing to be added.


Render Elements Sub-groups


Render Elements in V-Ray break down into four major groups:


 

 Beauty Render Elements


The Beauty Render Elements are the primary render elements that form V-Ray's 
pre-composited final render pass 
Beauty RGB_ColorThese Include the
LightingGlobal Illumination, ReflectionRefractionSpecular, etc.


 Matte Render Elements

The Matte Render Elements aid selection masking in the compositing process. 
These include the Material IDMultimatteObject ID, and Render ID render elements.

 


 

 Geometry Render Elements


The Geometry Render Elements rely on geometry to generate geometry data for the compositing 
process.
 These include the VelocityZ-DepthWire Color, and Normals render elements.

Utility Render Elements


The Utility Render Elements give insight into how V-Ray is running and extra functionality for compositing. 
These include the Distributed Render IDSample RateDenoiserExtra textureSampler Info, etc

 

 

Supported Render Elements


The following render elements are supported by V-Ray. All render elements support native V-Ray materials. Some render elements also support standard 3ds Max materials, and are noted in the table below.

In order to render a correct Raw render pass you need to also render the corresponding main element and filter i.e. for Raw Reflection you need Reflection and Reflection filter, for Raw GI you need GI and Diffuse filter etc.

Render element name

VRayMtl
support

Std. material
support
Filtering
control
Transparency
support
Description
MultiMatte(tick)(tick)

N/ACreates selection masks based on object G-buffer ID or material ID.

VRayAlpha

2

Alpha transparency

VRayAtmosphere

2

Atmospheric effects

VRayBackground

2

The image background
VRayBumpNormalsThe normals generated by bump maps, in screen space (which is not the same as camera space). Use the VRaySamplerInfo render element to get the normals in camera, world or object space.

VRayCaustics

1

2

The caustics on the material. Only present when the Caustics option of V-Ray is enabled. This channel does not include GI caustics.
VRayCryptomatteUses the Cryptomatte convention by Psypop to encode mattes into multichannel OpenEXRs.
VRayDenoiser 4Applies a denoising operation to the image after it is rendered (with the neccessary channels).
VRayDiffuseFilter

2

The pure diffuse surface color. Note that this is different from the standard 3ds Max Diffuse render element, which contains the diffuse surface lighting.
VRayDRBucketN/AN/AN/AN/AShows which render node rendered which bucket during distributed rendering
VRayExtraTexN/AN/AN/ARenders the entire scene with one texture mapped on all objects.
VRayGlobalIllumination1 2The diffuse surface global illumination. Only present if Global illumination is enabled.

VRayLighting

2

The diffuse direct surface lighting.
VRayLightingAnalysisProvides visual representation of the lighting intensity within a rendered frame.
VRayLightSelectExtracts the contribution of a user-defined light or a set of lights in the scene as a separate render element.
VRayMatteShadowThe matte shadow part of the image.
VRayMtlID

3

The material ID of the object.
VRayMtlReflectGlossinessGrayscale image from materials' reflection glossiness amount.
VRayMtlReflectHilightGlossinessGrayscale image from materials' highlight glossiness amount.
VRayMtlReflectIORN/AGrayscale float image from materials' Fresnel reflections IOR amount.
VRayMtlRefractGlossinessGrayscale image from materials' refraction glossiness amount.

VRayMtlSelect

This element allows you to write the result of a V-Ray compatible material into a separate element. The material can be a top-level material or a sub-material of VRayMtlBlend.
VRayNoiseLevelOutputs the noise level for pixels. Same as the noiseLevel render element produced by the VRayDenoiser, but as a standalone render element.
VRayNormals

The surface normals in screen space (which is not the same as camera space). To output the normals in camera/object/world space, use VRaySamplerInfo render element.

VRayObjectID

3

The object G-buffer ID (set through the node's Properties dialogue).
VRayObjectSelectStores only the object(s) called out with a specific Object or Material ID.
VRayOptionREN/AN/AN/AN/AControls some internal settings for V-Ray that are otherwise inaccessible.
VRayRawDiffuseFilterA solid mask of raw diffuse surface color information not affected by fresnel falloff.
VRayRawGlobalIllumination

2The raw diffuse global illumination (not multiplied by the diffuse surface color). Only present if Global illumination is enabled.

VRayRawLighting

2

The raw diffuse direct illumination before it's multiplied by the diffuse surface color.
VRayRawReflection

2

The pure surface reflection, before it is multiplied by the reflection filter color.
VRayRawReflectionFilterN/AA solid mask of raw reflection information not affected by fresnel falloff.

VRayRawRefraction

2

The pure surface refraction before it is multiplied by the refraction filter color.
VRayRawRefractionFilterN/AA solid mask of raw refraction information not affected by fresnel falloff.
VRayRawShadow 2The raw light that was blocked by other objects.
VRayRawTotalLightingThe sum of all raw lighting - direct and indirect.
VRayReflection 2The reflections on the surface.
VRayReflectionFilter

2The reflection filter (the color by which the raw reflections are multiplied to give the final surface reflection). This may be considered as an alpha channel for the reflections.
VRayRefraction 2

The refractions on the surface.
VRayRefractionFilter 2The refraction filter (the color by which the raw refractions are multiplied to give the final surface refraction). This may be considered as an alpha channel for the refractions.
VRayRenderID 3The node render ID of the object that contributes most to the pixel value.
VRayRenderTime
Shows a floating-point number for each pixel's render time measured in milliseconds.
VRaySampleRateN/AN/AN/AN/AShows an image where the pixel brightness is directly proportional to the number of samples taken at this pixel.
VRaySamplerInfoN/AN/AN/AN/AProvides information about various aspects of the shaded points - position, normal, bump normal, reflection/refraction vectors and UVW coordinates. Can be used f.e. for world position passes or normal passes.
VRaySelfIllumination

2

The self-illumination of the surface.
VRayShadows 2The diffuse light that was blocked by other objects.
VRaySpecular 2The surface specular highlights.
VRaySSS2Renders just the subsurface part of VRaySSS2 and VRaySkinMtl materials on a separate layer.
VRayToonStores the toon outlines information.
VRayTotalLightingThe total lighting in the scene, direct and indirect.
VRayUnclampedColor 2The unclamped image color.
VRayVelocityThe surface velocity. This channel will not be generated if 3d motion blur is enabled.
VRayWireColorThe wire color of the object as set in the 3ds Max scene. This can be used to generate masks for the objects based on their wire color.
VRayZDepthThe z-depth of the surface.

 

Footnotes


1 – For Standard materials, the VRayLighting element includes the direct and indirect lighting, as well as caustics, while the VRayGlobalIllumination and VRayCaustics elements are black. However, for all materials, adding the VRayLighting, VRayGlobalIllumination, and VRayCaustics elements always gives the total diffuse surface lighting.

2 – When Enable Filtering is on, the element is dimmed by atmospheric effects like fog, etc. However, when an element is unfiltered, it is not affected by atmospherics.

3 – Filtering is never applied to this Render Element.

4 – The channels needed for the denoise operation are automatically generated when the render element has been added before rendering.

5 – VRayIlluminance doesn't work with the following VRay materials - VRay2SidedMtl, VRayBlendMtl, VRayBumpMtl, VRayLightMtl, VRayMtlWrapper, VRayOverrideMtl, VRayStochasticFlakesMtl.

 Back to the table 

 

Notes


  • When the V-Ray VFB is enabled, all V-Ray render elements will appear switched off in the Render Elements tab inside the Render Scene dialog. This is a work-around so that 3ds Max does not create its own render elements bitmaps - this is not required as the elements are stored in the V-Ray VFB itself. If the V-Ray VFB is used, the render elements can be enabled or disabled by using their own V-Ray VFB parameter.
  • V-Ray always antialiases with respect to the RGB color channel. Therefore, other channels may appear jagged or noisy in areas where V-Ray has placed fewer samples.
  • Render elements will render in Distributed Rendering mode, both in the V-Ray frame buffer and the 3ds Max frame buffer.
  • Render elements require additional storage when rendering and thus increase the amount of RAM taken during the rendering. When rendering to the V-Ray VFB, you can reduce this memory by rendering directly to a .vrimg file on disk and not storing the final image in memory.
  • Render elements may slow down the final image rendering a little bit, depending on the number of elements that the user has selected. They have no effect on GI/reflection, etc. calculations.
  • The Illuminance Render Element can no longer be created in V-Ray Next. Instead, use the Lighting Analysis Render Element. If you work with scenes created with older V-Ray version that store this render element, it will be loaded in V-Ray Next.

 

Was this helpful?