Hi Stephan and Robert! Thank you for your help! You are right Stephan, it was because i created the instance of plod outside the loop! Now it is working properly, thank you.
But now, i have another little question. Apparently with PagedLOD, in the function "addChild (Node*child, float min, float max)", min and max are distances to the center of the scene and not to the node. I tested and all my nodes disappear when the viewer is farer than max, indeed. But i would like the nodes to disappear according to the distance from the center of each node to the viewer, like with a LOD. How can i do? I thank you again! Belthil 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/
