hello everyone,

Just another strange issue I can't solve by myself here:

I have a scene with an osgEarth earth model,
I use a composite viewer to manage the display,

-> When I use a single View on that scene everything is fine, and I get for
instance something around 200fps
-> As soon as I add an additional View on the same scene, my global
framerate drops to no more than 30 fps !

I used the on screen statistics and noticed that when I have two views, then
the first one takes ages during the draw phase whereas the second one seems
to behave just fine. (the GPU phase is also a lot longer) (I'm using
SingleThreaded mode for now)

Also, this is when I use a shared context for my scene,

If I disable context sharing, then with a single View everything is still
fine, but with two views *both* views will take ages during the draw phase
(and also a very long time for the GPU phase)...

Strangely, this doesn't seem to happen when I don't have an osgEarth model
in my scene (ie so it could be somehow PagedLODs & databasePager related ?)

Did someone already face this situation ? Or do you have an idea where I
should start investigating ?

Thanks for you help guys !

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

Reply via email to