Hi Fred, I didn't even realize there was a glVertexAttribIPointer... so yes this does sound like it will be the issue. Either osg::Geometry::drawImplementation or osg::State will need to be adapted to detect the use of the interger array and use the glVertexAttribIPointer. Feel free to dive into the code and add this handling.
Cheers, Robert. On Mon, May 16, 2011 at 4:56 PM, Fred Smith <[email protected]> wrote: > It looks like a problem with OSG to me. OSG should be using > glVertexAttribIPointer instead of glVertexAttribPointer when dealing with > integer attributes. > > See: > > http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=296704#Post296704 > > Not sure this is the actual problem but it looks like it. > > Cheers, > Fred > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=39414#39414 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

