I’m searching for a method to determine whether a vertex lies within the camera’s field of view. Specifically, I want to identify vertices positioned on the visible front side while excluding the backside (backside view) and lateral views (Side Views)."
Here’s what I’ve attempted:
scene.pickWithRay() function to check if the ray intersects with any other objects in the scene, but it didn’t yield the expected results.
The idea was… If the ray hits something, it means that the vertex is not in the camera’s front view, and if it doesn’t hit anything, the vertex is in the camera’s front view.
However, the method mentioned above proved to be ineffective, as it falsely identified all vertices as hits.
Any help on this issue would be greatly appreciated.