Page 1 of 1

Retrieve the shadow map?

Posted: Thu Aug 11, 2022 11:19 am
by DECO
Hi,

I have a really simple scene composed of planes. After adding a light, I would like to retrieve the shadows on each planes for further analysis.
I don't care if I have to read structures or else, I just want the info.

The whole process must happen programmatically, preferably from C++,as I won't use blender.

Is Luxcore the right tool to do that?
If yes, what class would get me started?

Thanks,

Re: Retrieve the shadow map?

Posted: Thu Aug 11, 2022 6:19 pm
by DECO
Reading https://wiki.luxcorerender.org/static_h ... 357caeecaa,
maybe OUTPUT_DIRECT_SHADOW_MASK and OUTPUT_INDIRECT_SHADOW_MASK are what I am after, but not sure..

But it seems to be for the whole scene.. I want it by object.. OUTPUT_OBJECT_ID and OUTPUT_BY_OBJECT_ID maybe ?

Digging..