On Tue, Mar 4, 2008 at 6:19 AM, Roni Rosenzweig <[EMAIL PROTECTED]> wrote:
> Hi Robert
> I found the problem and fixed it:
> Turns out is wasn't the MatrixTransform but how I set the camera position.
> I used:
> getCamera()->setViewMatrixAsLookat(eye, center, up)     which receives
> osg::Vec3f instead of osg::Vec3d.
> when I switched to:
> getCamera()->setViewMatrix(osg::Matrixd::lookat(eye, center, up)) (which
> receives osg::Vec3d)
> the problem was completely solved.
>
> Is there a reason why setViewMatrixAsLookat doesn't receive osg::Vec3d??

An oversight...  I'll add it in now as an option.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to