How Matlab calculates the camera view angle?

Posted by iman on Stack Overflow See other posts from Stack Overflow or by iman
Published on 2010-05-31T19:28:38Z Indexed on 2010/05/31 19:33 UTC
Read the original article Hit count: 209

Filed under:

I am using matlab to visualise a scene. In order to zoom in the scene, I can do that by eather: - Fix the cameraposition and the cameratarget and change the cameraviewangle.or - Fix the cameratarget and the cameraview angle and moving the camera along the viewing line (defined by the cameraPosition and the cameraTarget).

I know how to set the values of cameraposition CameraTarget and viewangle, but I do not how to define the optimal view angle. In auto mode of cameraviewangle, matlab calculate the smalest view angle that capture all the scene from the specefied camera position. I appreciate any help in understanding this.

Iman

© Stack Overflow or respective owner

Related posts about matlab