Print at Dec 19, 2025, 8:30:31 PM

Posted by neerajmourya at May 25, 2010, 10:29:08 AM
can anyone help me to know the midpoint of field of view
Hello everyone,First of all sorry for my english as i am learning English.
I am trying to write a plugin for yafaray export. i have a problem. Yafaray calculates the direction of camera using two points in the scene. one is the position of camera itself and other point is used to determine the direction. i can get position of camera using getX(), getY(), and getZ() method of Camera class in Sweethome3d. but how can i get the other point.
There is a getFieldOfView() method in Camera class. if i can get mid point of field of view then problem may solve. but how to calculate the midpoint.

Thanks in advance