Hi Carlos,

Thanks for the explanation.  Using SceneView rather than osgViewer
will mean that you can create your own graphics context that
DatabasePager will never know about, unless your explicitly tell it.
Do you call the DatabasePager method:

        void setCompileGLObjectsForContextID(unsigned int contextID, bool on);

At all in your app?

Could you try adding this.  To see if it fixes the problem.  I'll do
the reverse at my end (comment out it's usage in osgViewer) to see if
can reproduce the problem.

Robert.

2009/4/20 Carlos M. Gutiérrez Ceñal <[email protected]>:
> I'm afraid i've no way to reproduce it with a little app right now. It's
> part of our library wich is used in our visual simulation apps. I've tried
> to use the database pager as seen in osgviewer classes but we're not using
> viewer in our library. I call updateSceneGraph method from pager in our
> update method and signalBeginFrame/signalEndFrame during render, apart from
> this there is only the pager init, something like:
>
> m_databasePager = osgDB::DatabasePager::create();
> m_databasePager->setTargetFrameRate(60.0);
> m_databasePager->registerPagedLODs( sceneView->getSceneData() );
> sceneView->getCullVisitor()->setDatabaseRequestHandler( m_databasePager );
>
> and thread configuration (setup, affinity and start).
>
> Hope this helps.
>
> Regards.
>
>
> ----- Original Message -----
> From: Robert Osfield
> To: OpenSceneGraph Users
> Sent: Monday, April 20, 2009 3:24 PM
> Subject: Re: [osg-users] Back and trawling through backlog...
> 2009/4/20 Carlos M. Gutiérrez Ceñal <[email protected]>
>>
>> Hi Robert,
>>
>> remember to look for the database pager bug ;)
>
> Thanks for the reminder.  It's still on my TODO list.
>
> Could you explain how I might reproduce the problem as none of the OSG
> examples have a problem like this.  Once I can reproduce the bug I can then
> fix the code and confirm that it's fixed.
>
> Cheers.
> Robert.
>
> ________________________________
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org
>
> ________________________________
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.12.0/2068 - Release Date: 04/19/09
> 20:04:00
>
>
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com
> Version: 8.0.238 / Virus Database: 270.12.0/2068 - Release Date: 04/19/09
> 20:04:00
>
> _______________________________________________
> 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

Reply via email to