Hello all,
I am preparing a test / demo of an adventure game like Alone
in the Dark series. I need to know what a camera is seeing in order
to set a rectangle tied to that camera. Then, when the actor enters
in that rectangle the engine will change the current camera position
and orientation to the camera related to the rectangle.
The rectangle will be on the ground "virtually". I would calculate
the intersection between the view frustrum and the ground in order
to obtain the polygon vertex. I believe is called the view frustrum (?).
Is there any way to visualize the field of view of a len?.
Ideas, comments, criticism are welcome.
Regards
Alberto.