Hi All,

I was hoping someone would be able to help with a slight issue I have been 
having. 

I currently have a scene which is loosely based on osgMovie. essentially I have 
my geode which is centered in the screen but I would like to scale it up 
keeping the same aspect ratio. I have archived this by using 
setProjectionMatrixAsOrtho2d but when I call this my geode is the correct size 
but the geode is not displayed in the centre of the viewport.

Instead the centre of the geode now appears to be at 0,0 of the viewport i.e. 
bottom left hand corner and only 1/4 of the geode is displayed. I have tried 
translating the geode but this has no effect. If anybody has any ideas they'd 
be much appreciated


Cheers,
Ant[code]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28323#28323





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to