Retrieve the shadow map?

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
DECO
Posts: 3
Joined: Thu Aug 11, 2022 11:12 am

Retrieve the shadow map?

Post 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,
DECO
Posts: 3
Joined: Thu Aug 11, 2022 11:12 am

Re: Retrieve the shadow map?

Post 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..
Post Reply