Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
265 Discussions

RTCFilterFunctionNArguments.valid when N > 1

Burr__Adam
Beginner
284 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
284 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.

Reply