Page 1 of 1

LuxCore does not output AOVs

Posted: Tue Sep 04, 2018 2:44 pm
by DorPrz
Hi all,
I am trying to render simple scene with AOVs (Arbitrary Output Variables).
I am rendering using the python command bpy.ops.render.render(write_still=True)
But I don't get any AOV in my output directory.
I did disable the auto brightness in the tonemapper and yet no output
What could be the problem?
Image
Image
Image

Re: LuxCore does not output AOVs

Posted: Tue Sep 04, 2018 2:59 pm
by B.Y.O.B.
The AOVs are available as Blender passes.
You can save them like you would in Blender:
Either you save the image as "multilayer EXR", this includes all Blender passes (however only very few programs can read this format, one of them is Blender).
Or you make a little compositing setup where you route the AOVs into a file output node: https://docs.blender.org/manual/en/dev/ ... /file.html
Note that the interesting options of the file output node are only visible in the properties panel (N-panel) in the node editor.

I think this is the same procedure as in Cycles, or am I wrong?

Example attached.

Re: LuxCore does not output AOVs

Posted: Tue Sep 04, 2018 3:26 pm
by DorPrz
Thanks for the fast and detailed answer.
I am not a blender expert in blender so I am not sure about cycles.
I open .exr files with python opencv

Re: LuxCore does not output AOVs

Posted: Thu Sep 06, 2018 10:29 pm
by kintuX
Am testing AOVs a bit & i have a question... How or Where are settings for AO & Depth (Z-Depth)?

Re: LuxCore does not output AOVs

Posted: Fri Sep 07, 2018 8:02 am
by B.Y.O.B.
There is no Ambient Occlusion in LuxCore.

What do you mean with "Settings for Depth"?
The Depth AOV contains the distance from the camera in meters.
There are no settings to adjust.

Re: LuxCore does not output AOVs

Posted: Sat Sep 08, 2018 3:53 pm
by kintuX
B.Y.O.B. wrote: Fri Sep 07, 2018 8:02 am There is no Ambient Occlusion in LuxCore.
Ah, OK.
B.Y.O.B. wrote: Fri Sep 07, 2018 8:02 am What do you mean with "Settings for Depth"?
The Depth AOV contains the distance from the camera in meters.
There are no settings to adjust.
Was assuming it's uses technique where start and end can be defined or by Camera clipping or Scene Box... yup, infinitely deep Z-Depth sounds nonsense :D
But works fine, alike in Cycles.

Thank you.

Re: LuxCore does not output AOVs

Posted: Sat Sep 08, 2018 5:24 pm
by B.Y.O.B.
You can always multiply, add, subtract, ... the output of the Depth AOV with Blender compositing nodes if you need to rescale it.