Hi Martin, On 10/09/09 11:25 AM, Martin Großer wrote:
I think it is inefficient when I have to change the values everytime. Because I must traverse all vertex points for every frame and the module that calculate the x and y values is independent of osg.
I understand your problem; if you don't have control over how you're passed the data there aren't any good ways around that.
How much data are we talking about? If you keep the vertex array and only copy the values into it it's much cheaper than re-creating and pushing the values into it.
And if you can get a hint from the data processing module whether or not any values have changed that obviously would help as well.
Cheers, /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

