On 7/17/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
I would like  to add texture coords one by one , is it possible?
In fact I'm looking for a function like "addTexCoordArray".

Have a look at the osggeometry example, and the interface for osg::Geometry.

Its worth noting that all the subclasses from osg::Array base class
are inherted from std::vector so all the usual methods for operator on
a vector are available.  For instance
texcoordArray->push_back(osg::Vec2(x,y)) will work just fine.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to