Hi Joseba; You should try to use GLSL to accomplish dynamic texture coordinate changing in pretty straightforward way.
Regards. 2009/6/8 Joseba Rodriguez <jrodrig...@landersimulation.com> > Hi, > > Im trying to do some texture animations in different objects (billboards). > For this purpose im using Geometry::setTexCoordArray(unsigned int > unit,Array*) in a Update callback. > I found out that using this function is quite expensive, making my app slow > down from 120 fps to 40 fps with 2000 billboards (quads). > Is there any other cheaper way to dinamically change the texture coords? > > Thank you! > > Cheers, > Joseba > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=13668#13668 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Ümit Uzun
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org