Thanks for clearing that up for me Robert.

- Edgar

Robert Osfield wrote:
Hi Edgar,

signalBiginFrame()/EndFrame() is designed to wrap the rendering
traversals rather than update traversal - the main purpose is to allow
the database pager is scale back its thread priorty to allow cull-draw
to work efficiently.  sgProduce is correct and osgsimplepager was
wrong.

osgsimplepager wasn't simple, and it use of SceneView is deprecated by
SimpleViewer which has the database pager built into it.  This makes
this example redundant so I have removed it, so it doesn't need fixing
anymore.

Philip's assertion is that their is problem even with
osgProducer::Viewer usage.  I can't confirm or deny this untill I'm
able to recreate and track down the problem.

Robert.

On 1/12/07, Edgar Ellis <[EMAIL PROTECTED]> wrote:
Hi,
I posted a message about this on the 9th
(http://openscenegraph.net/pipermail/osg-users/2007-January/072777.html)

Basically:
- signalBeginFrame() set the pagers frame #
- updateSceneGraph() syncs the active and inactive PagedLOD lists (based
on frame number comparison)
- the cull traversal updates the frame # for visible PagedLODs.

If the order of operations is as above, then all PagedLODs are placed in
the inactive list since the pagers frame number is one ahead of the
PagedLOD frame number.

However I'm not sure what the correct solution is. osgProducer calls
updateSceneGraph before signalBeginFrame.

- Edgar

Philip Lowman wrote:
> Robert, et. al.,
>
> Can someone on this list confirm that the _activePagedLODList is indeed > the list of PagedLOD nodes that are completely outside of their PagedLOD > ranges (by moving the eyepoint very far away)? This can be verified by
> uncommenting this line (around line 774) in DatabasePager.cpp.
>
> //osg::notify(osg::NOTICE)<<"_activePagedLODList.size()="<<_activePagedLODList.size()<<"\t_inactivePagedLODList.size()="<<_inactivePagedLODList.size()<<std::endl;
>
> If this can be confirmed then there is indeed a bug in
> DatabasePager.cpp. If not, then the implementation is correct and I'll
> have to try to figure out why my _activePagedLODList and
> _inactivePagedLODList are backwards.
>
> - --
> Philip Lowman
> Simulation Development Engineer, Modeling and Simulation Technology
> General Dynamics Land Systems
> http://www.gdls.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFp8XVe0tOktX6RKkRAobTAJ9S7oCJN4vY5NGXzNE4HKE0YJlsLwCdFD5t
> +I+zRwbm74yqBHT7ceiKFoE=
> =pGL2
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to