Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
282 Discussions

RTCFilterFunctionNArguments.valid when N > 1

Burr__Adam
Beginner
562 Views

Does RTCFilterFunctionNArguments.valid point to a single unsigned int? Or an array of size RTCFilterFunctionNArguments.N? Ie, is it possible to selectively reject some rays in a packet, or is it an all-or-none choice? It isn't a problem either way, I just want to be sure I'm understanding the documentation correctly.

 

 

 

0 Kudos
1 Reply
SvenW_Intel
Moderator
562 Views

It points to an array of unsigned int's of size N. If a slot is 0 the ray is inactive, if a slot is 0xffffffff the ray is active.

0 Kudos
Reply