HI Nicolas, Thanks to your example I've been able to reproduce the problem, track the cause down, fix it, and confirm the fix. An svn update will get the fix to GraphicsContext::realizeImplementation(). The fix was simply to disable to automatic resize of the Camera's viewport and projection matrix.
Cheers, Robert. On Wed, Feb 27, 2008 at 10:07 AM, nicolas peña <[EMAIL PROTECTED]> wrote: > Hi Robert, > > Here is the example, it behaves as described in my machine and in build > against OSG 2.3.4 > One event that triggers the image resize is to resize the window, just > moving it does not look to affect now. > > Cheers, > Nicolas. > > > 2008/2/27, Robert Osfield <[EMAIL PROTECTED]>: > > > Hi Nicolas, > > > > This does sound like a bug. Could you write a small example, or tweak > > one of the existing OSG example to demonstrate the configuration you > > are using so that others can test for the bug first hand. > > > > Cheers, > > Robert. > > > > > > On Tue, Feb 26, 2008 at 11:57 PM, nicolas peña <[EMAIL PROTECTED]> > wrote: > > > Hi all, > > > > > > I'm having a problem that is maybe well the result of my lack knowledge > but > > > smells like a bug; > > > I have a composite viewer with two views, one camera each. Both cameras > > > share > > > the rendering context. One renders to a window (defined in the traits > passed > > > to generate the > > > render context) and the other renders to a FBO. The later has an image > > > attached to the color > > > Buffer, whose size is supposed to determine the FBO size. > > > This is in fact what happens at first, but if I interact a bit with the > > > visible and only window > > > ( where the other camera is rendering)for example moving it, the size > of > > > the image attached to the FBO > > > is set to the same value as the window. > > > What I am missing here? > > > > > > Thanks a lot, > > > Nicolas. > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > 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 > > > > > _______________________________________________ > 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

