Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Patrick_S_4
Beginner
85 Views

Filter functions by scene

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
85 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. 

Reply