Computing (center - eye).normalize() we are doing unnecessary work. Look
direction could be obtained directly from camera's matrix.

2009/4/28 Jean-Sébastien Guay <[email protected]>

> Hi Mangu,
>
>  If the the center is what I look at, so basically it's the normal of the
>> plane ( described by the screen) isn't it??
>>
>
> Both eye and center are points, not vectors. So center can't be the normal
> of the screen's plane... (center - eye).normalize() is.
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    [email protected]
>                               http://www.cm-labs.com/
>                        http://whitestar02.webhop.org/
>
> _______________________________________________
> 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