Ok, here is my next challenge:
I have currently a fixed value for field of view and distance.
The lookat point is calculated as the middle of the bounding box.
But how can I calculate the field of view and the distance (camera location point) to get the same behaviour like all other viewers out there???
I have currently a fixed value for field of view and distance.
The lookat point is calculated as the middle of the bounding box.
But how can I calculate the field of view and the distance (camera location point) to get the same behaviour like all other viewers out there???