[osg-users] Better data loading

Valerian Merkling niarkoleptik at gmail.com
Mon Sep 12 08:13:50 PDT 2016


Hi,

Reading this thread
http://forum.openscenegraph.org/viewtopic.php?t=16128  scared me a little : I'm using a UpdateCallback to add node into my scene graph.

I've no problem with it for know but my goal was to make a clean migration from openGL to OSG, so I would like to make it better.

I'm looking at the DatabsaePager class to try to get what to do, but since I'm working on a old app, all the threaded data loading is already done, I just need to add those data to the scene graph, and I would like to know if the DatabasePager can also help me in this case.

And another quick question : database pager seems to work a lot with paged LOD, and I'm using a lot of PagedLOD to hide/show if the camera is in a fixed range (and absolutely no data loading). Is that bad ? Could it slow down somethings ?

Thank you!

Cheers,
Valerian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68582#68582








More information about the osg-users mailing list