Jump to content
Sign in to follow this  
spectronaut

Prim_Id EXR channel as "un-occluded geometry" index

Recommended Posts

spectronaut    2

Long story short, I have Prim_IDs written into a 32bit exr channel. 
I want to be able to delete geo primitives that do not show up in that EXR channel. 

I'm still a noob so any tips would be appreciated no matter how high level. Is it even possible to index all the render-present Prim_Ids and then translate them into an index that SOPs or VEX can operate on? 

Note: I had built a pretty cool set up that did traces from points on each primitive back back to the camera, but in order to avoid false positives and negatives without an absurd number of traces I thought the raster solution would be worth it. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×