HI Igor,

I believe you are getting your terms mixed up.  Focal length is not
something that varies for X and Y axis of camera, and an osg::Camera
no GL camera don't have a concept of a focal length.  If you are doing
depth of field rendering technique then field of view would be
relevant, but it really doesn't sound like this what you mean.

I can't work out what you mean given you use of terms is so confused.

Robert.

On Thu, Dec 9, 2010 at 9:54 AM, Igor Galochkin <[email protected]> wrote:
> Hi,
>
> Just to understand how setProjectionMatrix works, say, I need to set X-Focal 
> length of viewer's camera to 1000 and Y-Focal length to 600.
> Also i need the Camera to be translated by x by 0.5 to the right and y by 0.7 
> down.
> What matrix m should i pass to viewer.getCamera()->setProjection(m) to 
> achieve that? Or should I use some other function?
>
>
> ...
>
> Thank you!
>
> Cheers,
> Igor
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=34656#34656
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to