
Tue, 05/17/2005 - 17:29
I have to create a photo realistic image of a “3d_view” (OCC) with a ray tracing engine.
I have already get objects from the scene, and I would like to understand better how the position's camera works in OCC. (perspective model).
Eye and At define the direction in which the camera look at, right ?
Up indicates the direction of the top of the “image plane” (the view)
It seems that Focale is the distance between FocalReferencePoint and the “projection plane”, but I'm not sure...
I understand that a shorter Scale gives a wider view while a longer Scale zooms in for close-ups.
But what is Scale based on ?
I mean, is it a ratio between two “items”( FocalReferencePoint, Eye, At... ) of the camera or other thing ?
Thank you in advance.
Best Regards
Lionel
PS : The raytracing engine I use doesn't have “Scale”. That's why I'm trying to re-interpret it.
Wed, 04/14/2010 - 13:34
Hi Lionel,
Have you solved your problem? I try to do the same thing...
Thanks,
Fred
Wed, 04/14/2010 - 19:10
From what i have seen, I think the view's scale is related to the glScale-function from the OpenGL library.
It is used to scale the entire scene by a factor, so it does not seem to have any relation to the View eye and at - coordinates.
Setting a scale to something different from 1 leads will scale the display of your current sceneFrom your current viewpoint: All objects (and there positions relative to your viewpoint) are 'inflated' or 'deflated' by the scale factor.