Reviewing the code to share the framestamp in all the instances of the viewer I have seen this..
// tell the database pager which graphic context the compile of rendering objexts is needed.
databasePager->setCompileGLObjectsForContextID(itr->sceneView->getState()->getContextID(),true);
this maybe give me some problems too, isn't it?.. I have seen that is possible to share the context.. and maybe
is what I need.. How can I do it?.. There is any example???
Thanks again...
Rafa.
On 8/31/06, Robert Osfield <
[EMAIL PROTECTED]> wrote:
Hi Rafa,
You can make it work, but you need to be careful how you manage the FrameStamp of the different views, you need to make sure that you update both the views with the same frame number and time otherwise the DatabasePager will be confused by objects being requested as being older than they really are, something that will cause it to discard them as being stale.
Robert.On 8/31/06, Rafa Gaitan < [EMAIL PROTECTED]> wrote:Hi,
I have a problem in my application, I have two different Viewers, with two different sceneviews,
which every one loads different PagedLOD scenes. The main problem is when the
DatabasePager try to do the work.. I'm not sure what is really doing.. but some tiles
disappear or are not shown correctly.
The question is if is it possible to use the same DatabasePager in two different scenes
at same time?.. in two different Viewers or more?. If not.. any ideas on how to afford the problem?
Thanks.Rafa.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
