Hi guys,
thanx a lot - its working like magic.
just alittle code snippet for future wanderers (or if you see some other
improvement):
Code:
osg::Vec3Array* vArr = new osg::Vec3Array(frameSize);
memcpy(&(*vArr)[0], vertex_array, frameSize*3*sizeof(float));
osg::ref_ptr<osg::Vec3Array> vertices(arr);
geometry->setVertexArray( vertices );
Thank you guy again!
Cheers,
Nir
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29971#29971
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org