Hi Glenn,

> In a nutshell, I am using a single slave camera (in order to embed my 
> OSG surface in a .NET control). If I resize the viewport after creation, 
> computeIntersections() no longer returns correct results -- the Y value 
> is incorrectly scaled. It only works correctly if I resize the window 
> back to its original aspect ratio.

Yes, that sounds like a different problem. In my case, I was not getting 
correct results from computeIntersections() whenever CompositeViewer was 
using a single view with slave cameras - no resizing at all involved, 
just using setUpViewAcrossAllScreens().

You'll have to dig further. I suggest you try starting with a breakpoint 
in Viewer/CompositeViewer::eventTraversal() (depending on the viewer 
type you use) and compare the behavior before and after resizing the 
viewport.

Good luck,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                                http://www.cm-labs.com/
                         http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to