Hi,

I have found one interesting behaviour yet:

osg::ref_ptr < osg::UIntArray >    array = new osg::UIntArray();
array->push_back( 0 );
array->push_back( 1 );
array->push_back( 2 );
array->push_back( 3 );
p_geometry->addPrimitiveSet( new osg::DrawElementsUInt( 
osg::PrimitiveSet::TRIANGLES, array->size(), & array->front() ) );

And it works. But anybody have any idea what was wrong before?
Thank you!

Cheers,
Robert

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=33174#33174





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to