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

RTCFilterFunctionNArguments.valid when N > 1

Burr__Adam
Beginner
512 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
512 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