Well i feel stupid...

I finally found why it didn't work. During a debugging session, after having 
passed my five turn of loop, who work like a charm, i try to continue runing my 
program, and the five trees where here...

It appears that the srand(time(0)) made inside the loop made only one tree 
apears when you don't "step by step" the program in the loop.... 

I just put the srand before my loop, and it work like a charm....

Sorry for the inconvenience....

Tanks again for your help.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22976#22976





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to