Hi Robert, I use DatabasePager to receive the results from the research of my spacial data base? Exists some example of use of the DatabasePager?
Thanks, Ronald S.Serrao, Brasil. > Hi Ronald, > > For this type of big database paging may well be the solution, the OSG has > built in support for paging so all you'll need to do is build the paged > database and then load the topmost tile and the then the DatabasePager will > do all the updating of the scene for the current view position. > > Robert. > > On 9/14/06, ronaldss <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I am constructing an urban model to visualize a quarter entire, am using > > data base spatial to get the information of the streets, squares... and each > > entity has an object 3D for its representation. As the object number is > > great, I only load in my graph of scene those objects that are near of the > > camera. I used the osgimpostor example to make my manipulator of the camera, > > and each movement of the camera I consult in the data base the objects that > > are near of this position and the loaded. > > > > Here my problem appears, to each change in the position of the camera I > > all erase the content of mine of the scene graph and later I place all again > > the objects, and believe that is this the reason of mine framerate to fall > > very. > > > > I would like to know as I make to cross the scene graph to verify which > > nodes must be removed and which must be inserted, not to be necessary to > > remove all and again place them to each movement of the camera. > > > > Thanks, > > > > Ronald S.Serrao, > > Brasil. > > > > > > _______________________________________________ > > 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/
