Robert,
But in this in case that I can only load objects near of the camera and each
change of position I will be able to load other objects? Or is necessary to
load all models at the beginning?
I need to load the models in accordance with my data base spatial, therefore
necessary to make a consultation of a buffer around the position of the camera
to each interaction. I saw the example to osgsimplepager, but he was not
clearly for me with making.
I need to create one osgDB:: DatabasePager for each entity (it squares, street,
lot,
), or only one for the model all? Below the structure of the current graph:
root
/ | \
Square Street Lot
/.. .. ..
models..
Thanks,
Ronald S.Serrao,
[EMAIL PROTECTED]
São Luís, 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/