Would it be possible to have a feature to render only selected object? Like automask and render only that specific object.
It would be super useful to preview render only selected object(s) but with all the lighting and reflection of the scene
also for small tweaks of materials for compositing.
render selected
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Re: render selected
At the moment, it is possible to get the mask of an object doing a first rendering (it is used to select an object by clicking over the image in LuxCoreUI) than it would be possible to do a rendering using an arbitrary image mask. The support for te second step is missing at the moment (but it is doable).lacilaci wrote: ↑Fri Jan 11, 2019 9:04 am Would it be possible to have a feature to render only selected object? Like automask and render only that specific object.
It would be super useful to preview render only selected object(s) but with all the lighting and reflection of the scene
also for small tweaks of materials for compositing.
An alternative could be to use the mask coming from the first step to compute the 2D image bounding box of the object and than do automatically a simple border rendering. It is a less optimized option but it would be doable without implementing any additional feature in LuxCore.
Re: render selected
You could use a render layer in Blender:
Put the object on an extra layer and make sure that only this layer is selected in the renderlayer's "layer" list (top right).
This makes all objects on other layers invisible to the camera, so you still get correct lighting on the object.
Put the object on an extra layer and make sure that only this layer is selected in the renderlayer's "layer" list (top right).
This makes all objects on other layers invisible to the camera, so you still get correct lighting on the object.
I think the bounding box computation could be done from Python in Blender (no need to render the 2D mask).Dade wrote: ↑Fri Jan 11, 2019 10:19 am An alternative could be to use the mask coming from the first step to compute the 2D image bounding box of the object and than do automatically a simple border rendering. It is a less optimized option but it would be doable without implementing any additional feature in LuxCore.
Re: render selected
Thanks...B.Y.O.B. wrote: ↑Fri Jan 11, 2019 10:29 am You could use a render layer in Blender:
Put the object on an extra layer and make sure that only this layer is selected in the renderlayer's "layer" list (top right).
This makes all objects on other layers invisible to the camera, so you still get correct lighting on the object.
2019-01-11_11-28-10.pngI think the bounding box computation could be done from Python in Blender (no need to render the 2D mask).Dade wrote: ↑Fri Jan 11, 2019 10:19 am An alternative could be to use the mask coming from the first step to compute the 2D image bounding box of the object and than do automatically a simple border rendering. It is a less optimized option but it would be doable without implementing any additional feature in LuxCore.
But I still think it should be a feature... (like a checkbox in render settings "render selected")