Hi IIRC osg by default tweaks projection matrix depending on window aspect ratio, you can set desired behavior with camera->setProjectionResizePolicy(...) Also you can check if viewport is actually same (there can be some difference because of window decoration or something)
01.12.2011, 23:33, "Juan Herrera" <[email protected]>: > Hi, > > I'm reframing my AR question like this: > > Given same projection matrices and model view matrices in OpenGL and OSG, my > rendering results do not coincide exactly. The OSG ones are slightly > displaced, but the on-screen rotation coincide. There is no skewness in > either. > > I think the OpenGL results are the correct ones. > > Where are the places this error could be? My windows size coincide, so I > think the viewport is fine. (640x480). > > Thank you! > > Cheers, > Juan > > PS: Note to moderator: replies to my posts are not being approved. See > http://forum.openscenegraph.org/viewtopic.php?t=9485 . > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=44172#44172 > > _______________________________________________ > 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

