Hi,

Am 08.09.11 15:14, schrieb Tobias Weißhaar:
> I want to develop OSG examples in iOS but OpenGL provides only a sub-set of 
> OSG. Is this the reason why for example this code doesnt work on the 
> simulator? :

yes

>     osg::DrawElementsUInt* pyramidFaceOne = new 
> osg::DrawElementsUInt(osg::PrimitiveSet::TRIANGLES, 0);

DrawElementsUInt is not supported by OpenGL ES 1, Try DrawElementsUShort
instead.

cheers,
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to