PathTracer::traceBuffer, a bug inside?

24 views
Skip to first unread message

lefan zhong

unread,
Nov 29, 2023, 6:59:20 PM11/29/23
to G3D Users
It calls 
traceBufferInternal(buffers, output, nullptr, distance, directLightArray, indirectLightArray, 1);

The 3rd parameter is nullptr. It is supposed to be:

const shared_ptr<Image>&            radianceImage,

Inside traceBufferInternal(...), we can see the code:

int radianceImageWidth = radianceImage->width();

Does it mean radianceImageWidth = nullptr-->width()?

Linwan Song

unread,
Jan 8, 2024, 12:01:32 PM1/8/24
to g3d-...@googlegroups.com
Thanks for catching this! We'll look into it. 
- Linwan

--
You received this message because you are subscribed to the Google Groups "G3D Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to g3d-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/g3d-users/404272ba-653a-4eb3-aa16-5acc6a01a799n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages