I'm working my way through some of the tutorials. Right now I'm on: http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/BasicGeometry
In the code on that page is this: osg::Vec2Array* texcoords = new osg::Vec2Array(5); (*texcoords)[0].set(0.00f,0.0f); (*texcoords)[1].set(0.25f,0.0f); (*texcoords)[2].set(0.50f,0.0f); (*texcoords)[3].set(0.75f,0.0f); (*texcoords)[4].set(0.50f,1.0f); pyramidGeometry->setTexCoordArray(0,texcoords); Can somebody explain what this is doing? Thanks, cr _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

