I'm trying to figure out which points on Object B are occluded by Object A from camera's point of view. What's the best way to figure this out?
Thank you.
Which points are behind the object (from camera pov)
959 1 0- monomind
- Member
- 22 posts
- Joined: Nov. 2017
- Offline
- Matthew05
- Member
- 94 posts
- Joined: April 2011
- Offline
Hi,
The best way for you would be to test if there is any occlusion between the points in the object B and the object A based on the camera direction.
For that, you can use the intersect vex function, and then if the returned value is negative, it would mean that no object are between this point and the camera.
I included a quick example on how to do it
The best way for you would be to test if there is any occlusion between the points in the object B and the object A based on the camera direction.
For that, you can use the intersect vex function, and then if the returned value is negative, it would mean that no object are between this point and the camera.
I included a quick example on how to do it
-
- Quick Links