Skylark wrote:
> Hi David,
> 
> 
> > Well, I got something working for now! What I had to do was to call
> > 
> > hudCamera->setProjectionMatrixAsOrtho2D(0,<  windowWidth>  ,0,<  
> > windowHeight>  );
> > 
> > for every time I resize the OSG window. Fortunately I have a resize command 
> > for the window to do just that. I had to add the function there and 
> > someplace else that is activated when a tab is moved. Tested this out and 
> > that seemed to fix the problem so far.
> > 
> 
> Hmmm, if you're using the *new* window width and height in that call to 
> setProjectionMatrixAsOrtho2D, then you're probably doing the same thing 
> as if you'd set the projection resize policy to something other than 
> FIXED on your ortho camera... I would think...
> 
> J-S
> -- 
> ______________________________________________________
> Jean-Sebastien Guay    
> http://www.cm-labs.com/
> http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


Yea! You would think so (and I have the resizing policy set to default). Still, 
this is the only way that I was able to get it to work. Either QT is doing 
something weird with OSG or there might be a bug! As far as I can tell, I'm 
passing on all the resize events that I know of to OSG from QT! You don't 
recall by chance any fixes that were made after the OSG 2.8.1 release based on 
resizing issues?

------------------------
D Glenn (a.k.a David Glenn) - Moving Heaven and Earth!

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





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

Reply via email to