Jump to content

Delete faces occluded by shadow?


Recommended Posts

Is there a way to use this technique and only keep the faces that the rays hit first, and to delete the faces that are occluded by shadow (or what would be in shadow)? Not sure if this makes sense, but I basically have a messy geo, with a bunch of inner faces. Normals facing in and out everywhere and I'd like to just be able to keep the outer most geometry. And I was thinking that using a set of lights might be a way to just select those outer faces. Any help is greatly appreciated.

deleteoutface.jpg

Link to comment
Share on other sites

Houdini allows you to sort primitives on many different criteria and there are a lot of tools for filtering different types of data and isolate specific group of primitives. However, methods and technique you will use, much depends on your geometry. If you found "illuminating" method as one that will solve your problem, well, yes, you can do that. Forget about light. You have RAY sop node. Connect let's say XY grid in first input and torus in second. Make sure normals (or your custom attribute) from grid point to direction of torus and make sure grid has enough divisions. That grid will be your "light". 

DeleteByIllumination.hipnc  

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