Hi,

Another thing that I don't understand is why adding the view with the FBO
and the
image attached makes my process suck all the CPU available.
I am limiting the number of frames to 60 per second (forcing sync)
I understand that copying the image to main memory each frame takes time,
but this effect occurs even if the image is  very small.

Any ideas of what is happening?


Cheers,
      Nicolas.

2008/2/27, nicolas peña <[EMAIL PROTECTED]>:
>
> 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
> > >  osg-users@lists.openscenegraph.org
> > >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> > osg-users@lists.openscenegraph.org
> >
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to