Jump to content

Prim_Id EXR channel as "un-occluded geometry" index


spectronaut

Recommended Posts

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...