I have an animated camera going through a large model. How could i remove all geo that is never seen by the camera for the entire frame range?
i know this needs a solver for one and also maybe the intersect function. Shooting from the camera to each point if we find an intersection then its occluded but later it might not be. If its not then hit=-1. So if i multiplied every frame the hit value with the new one if the end result is negative it means the camera saw the geo at least once so i keep it.
Does this sound reasonable or is there some other easier way to do this?
Delete occluded geo from animated camera
969 4 1-
- papsphilip
- Member
- 385 posts
- Joined: 7月 2018
- Offline
-
- Hatchery
- Member
- 136 posts
- Joined: 3月 2016
- Offline
-
- papsphilip
- Member
- 385 posts
- Joined: 7月 2018
- Offline
-
- animatrix_
- Member
- 4616 posts
- Joined: 2月 2012
- Offline
I did this many times in production where I generally scatter points on faces to get more uniform raytracing towards the camera in a solver sop and if it ever not hit anything for any of its points, then I keep those faces.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
![](http://imgur.com/fY0VxdV.png)
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
![](http://imgur.com/fY0VxdV.png)
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
-
- papsphilip
- Member
- 385 posts
- Joined: 7月 2018
- Offline
-
- Quick Links