Hi Belthil,

I'm afraid I've read your email, but not really understand the problem is so
can't guess the source.  The best I can suggest is review the examples like
osgpagedlod and osgphotoablumn as they use PagedLOD.  The PagedLOD system is
mature and well tested so problems that you come across are likely down to
how you've constucted the scene.  I'd also recommend browsing through the
archives on the topic of paging and PagedLOD, its a big topic once you start
scratching the surface.

Robert.

On 5/9/07, belthil <[EMAIL PROTECTED]> wrote:

Hello!

    I have created .ive files that just contain one Geode that contains
one Geometry that contains points. One .ive file represents then just one
Geode like this. The only thing that changes is the number of points in the
Geometry. (Those files were created like this: osgDB::writeNodeFile(*
Geode.get(), filename); )
Then, in another application, i save those .ive files in a PagedLOD like
this:
plod->addchild(osgDB::readNodeFile(StrTab[i]), 0.0, 1e20);
root->addchild(plod.get());

plod is a PagedLOD, root is the root of the scene graph and StrTab
contains all the names (strings) of the .ive files. So i save all the .ive
files in a loop with these two lines of code.
But i have noticed something strange. For example, when the number of
points in all the .ive files is N, and that there are X .ive files read, in
my application there will be X*N stars... So with 1646 stars and 8 .ive
files, i will have 13168 stars instead of 1646.

Is it a bug or is it me who handles in a bad way osgDB and PagedLOD?

I thank you a lot!

Bye


*Créez votre adresse électronique [EMAIL PROTECTED]
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.*

_______________________________________________
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