Hi, according to documentation: "Fast paths use vertex arrays, and glDrawArrays/glDrawElements."
- what is the difference between vertex arrays and glDrawArrays, or is it meant as generic term for glDrawArrays/glDrawElements? will the use of something like this drop me into slow path mode? Code: osg::TemplateIndexArray |unsigned int, osg::Array::UIntArrayType,4,4| *colorIndexArray; colorIndexArray = new osg::TemplateIndexArray |unsigned int, osg::Array::UIntArrayType,4,4|; colorIndexArray->push_back(0); // vertex 0 assigned color array element 0 ... if not, i'm looking for a way to assign normals to vertices per indexed array, like the colorindexarray above. does this work in the same way? Code: osg::TemplateIndexArray |unsigned int, osg::Array::UIntArrayType,3,4| *normalsIndexArray; normalsIndexArray = new osg::TemplateIndexArray|unsigned int, osg::Array::UIntArrayType,3,4|; normalsIndexArray->push_back(0); // vertex 0 assigned normals array element 0 ... Thank you! Cheers, Christian ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=11985#11985 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

