Hi Sergey,
I think it's not what I need or I didn't find an example to apply to my problem.
What I have is an array of positions, and I'm drawing the path with this:
Code:
for (int i = 0; i < dr->agents.size(); i++) {
dr->agents[i]->getPath()->dirty();
dr->agents[i]->getArrayLines()->setFirst(0);
dr->agents[i]->getArrayLines()->setCount(dr->agents[i]->getPath()->size());
}
Now instead to draw the lines from position 0 to position N, I'd like to draw a
dot or sphere in all these N positions, without line links.
Could you give me some code sample?
Thanks
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61648#61648
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org