Hi Sameer,

Issue like this are typically down to the scene graph being used
contain OpenGL state that simply isn't supported on your target OpenGL
ES version, with a quick look at the .osg file I can see an
osg::Program object which isn't supported by GLES 1, this should be a
implemented as non operation under GLES 1.x but perhaps something
associated with this is the cause of the error, but it could just as
likely be some other OpenGL state setting this doesn't map across.  I
would recommend iteratively hand editing the .osg to remove
osg::StateSet elements till you get something that works, from this
you should be able to spot the problem elements.

Robert.

On 25 December 2012 17:24, Sameer Ababneh <[email protected]> wrote:
> Greetings,
> i have attached some osg model that has no textures and its not that heavy, 
> well when loading it using the sample osgAndroidExampleGLES1, the logCat logs 
> that the model was sucessfully loaded and then each frame it logs :
>
> Code:
>
> Warning: detected OpenGL error 'invalid enumerant' at after 
> RenderBin::draw(..)
>
>
>
> and i just cant see anything on the screen,
>
>
> Thanks,
> max
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=51696#51696
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/miku_202.osg
>
>
> _______________________________________________
> 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

Reply via email to