View Full Version : camera position

04-06-2005, 03:26 AM
Dear All,

Please explain how should I calculate the camera parameters to capture whole object with any size (zoom all command) :

- For example, I have a mesh with object center at xo,yo,zo and with object size A

- I want to put camera at xc,yc,zc
- How do I calculate xc,yc,zc and DepthofView and FocalLength to get the whole scene on viewport?

Thanks for your advice.

04-06-2005, 04:42 AM