Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides a tutorial on using V-Ray's Render Mask feature.

 


Overview

...

Section
Column
width50%

The Render Mask makes it easy to choose just a part of the image you'd like to re-render. It's more accurate and offers more control than Render Region. It can be found in the Image Sampler (Antialiasing) rollout.

 
Column
width5%


Column
width45%

...


Workflow

...

Here's our base render: 


Section
Column
width25%

 


Column
width50%

Column
width25%

 

 

...




In the next steps, we render just a few different objects and not the whole scene again.

...

Then we go to theV-Ray tab > Image sampler (Antialiasing) rollout and choose the dropdown for Render mask.

 

Image Removed

 

 


Image Added



From the dropdown we have several choices:

...

Render the scene, and you'll notice only the selected objects are re-rendered. The rest of the image remains unchanged. 


Section
Column
width25%

 


Column
width50%

Column
width25%

 

 

...




To make it a bit more noticeable, clear the VFB by selecting Clear Image from the VFB toolbar. 


 

 



In the VFB Confirm dialog that appears, choose Yes to confirm. 


 

 



Now that we've cleared the VFB, we render again.

Section
 
Column
width25%


Column
width50%

Column
width25%

 

...

 




This time it's easier to see that only the selected objects were re-rendered. 

If we look at the Alpha Channel, it is updated as well.

Section
 
Column
width25%


Column
width50%

Column
width25%

 

...



Notes

...

Fancy Bullets
typecircle
  • When rendering animation with Render Mask, the previous render can be cleared by going to the Render Setup window > Settings > System rollout and setting the Previous parameter to Clear.
  • When using VRayPhysicalCamera and Auto Exposure enabled, note the following: after the initial render is done, use the Transfer to camera button from the Render Setup. Then disable the Auto Exposure. This way, the exposure is constant regardless of the region or object selection.