i have a project with the stereo camera. I want delete all the objects outside the volume of rendering of the camera.
I have all the parameters of the camera and i have calculated the near plane, the far plane and the convergence plane (i know all the vertices).
But i don't understand How can I see if an object is inside the volume rendering of the camera.
I know how put the objects in the camera's coordinate system
camera.matrix_world.inverted() * obj.location
Some ideas?
p.s. i have see this question: What are the formulas to define the camera's view cone? it's good but it does not work very well