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
1193 4 1-
- papsphilip
- Member
- 387 posts
- Joined: 7月 2018
- Offline
-
- Hatchery
- Member
- 139 posts
- Joined: 3月 2016
- Offline
-
- papsphilip
- Member
- 387 posts
- Joined: 7月 2018
- Offline
-
- animatrix_
- Member
- 4826 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] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- papsphilip
- Member
- 387 posts
- Joined: 7月 2018
- Offline
-
- Quick Links