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/