How to check if a point is visible by the camera? #597
-
Given a point x on some surface in a scene, is it possible to know if it is visible by the camera at location y? |
Beta Was this translation helpful? Give feedback.
Answered by
ziyi-zhang
Mar 17, 2023
Replies: 1 comment
-
Hey @UmarSpa , |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
njroussel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @UmarSpa ,
You can use
sensor.sample_direction()
. The pdf will be zero if it's out of the clip range.