In Max/vray exist cool feature Render Mask. Is it possible to use it in Blender vray?
Announcement
Collapse
No announcement yet.
Render Mask in Blender
Collapse
X
-
> Is it possible to use it in Blender vray?
Now yes: https://github.com/bdancer/vb30/comm...c171965e49b4ff
"Update exporter" will help.
-
This is nice feature indeed, I tested it supports many object ID's at the same time like "1,5,10". Good thing is that you can mix masked/normal images inside Blender because VFB does not support that yet
Thank you and remember 3dmax system also (selected objects)Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,
Comment
-
Little script to render mask only selected objects. Just set render mask type to Object ID, select objects and run the script.
import bpy
index = []
ID = 32767
for o in bpy.context.selected_objects:
index.append(o.pass_index)
o.pass_index = ID
bpy.context.scene.vray.SettingsImageSampler.render _mask_object_ids = str(ID)
bpy.ops.render.render()
c = 0
for o in bpy.context.selected_objects:
o.pass_index = index[c]
c += 1Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,
Comment
-
Render mask script for selected objects: http://www.pasteall.org/60832Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,
Comment
Comment