Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPU(s)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Filter functions by scene

Patrick_S_4
Beginner
783 Views

Hi, 

I'm wondering if there's a way to set the filter function for all geometries in a given scene at once. I have two types of filters I'd like to use for different ray_fires, but I don't want to have to track the number of geometries in each scene and reset them for each geometry when I switch between the two. 

I've considered using the Occlusion intersection function for one of the cases to avoid this switch, but it doesn't return enough information about the ray hit for me to use it I'm afraid.

Any suggestions?

Cheers, 

Patrick

0 Kudos
1 Reply
SvenW_Intel
Moderator
783 Views

You can workaround this limitation by setting a master filter function to all geometries, that by itself switches between the two filter functions you want to use. 

0 Kudos
Reply