Object3D is in front (fov) or behind the camera

camera

#1

Hi,

can I check if an Object3D is in front and fov of the camera, or behind (out of fov) of the camera?


#2

Sounds like you want to perform a view frustum intersection test with the object’s bounding volume. This test (also known as view frustum culling) is performed by THREE.WebGLRenderer. It’s best to study, how THREE.Frustum is used in the renderer. After setting up the frustum, you can use Frustum.intersectsObject() in order to perform the intersection test.