Hi David, Thanks for your reply!
Yes, I have set a view matrix. For the time being, I have created manually a matrix that works with a perspective view. So I should expect this also would work with the ortho2D view. But it still doesn't work, so maybe that's the problem? Right now this is my viewmatrix: Viewer->getCamera()->setViewMatrixAsLookAt(osg::Vec3d(-3254.245223,582.225235,243.433186), osg::Vec3d(-3253.255848,582.274344,243.296343), osg::Vec3d(0.136638,0.007528,0.990592)); I positioned my object the way I wanted an printed the matrix values. So that's how I got these variables. Thank you! Cheers, Marco ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59680#59680 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

