Hi Paulo,

What am I doing wrong? Do I need to call some method to flag that the array changed?

Yep, good intuition: _geometry->dirty();
Also, since you're changing the vertices each frame, set _geometry->setUseDisplayList(false); or otherwise you'll get bad performance.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to