Hi David,

we played around with android quite successfully. We could even run OSG on
the emulator, even if everyone says that it doesn't work. Most of the
problems come up, when creating the egl surface. Each device is different
and supports different configurations of depth and stencil buffer. So you
might play around with these 16 and 8 values in your code. Try to use

  mview.Init(false, 0, 0)

as a first step.

Also have a look into the NDK GLES examples where they show, how to debug
the EGL configuration.

Cheers,

Martin
Am 09.04.2014 13:22 schrieb "David" <[email protected]>:

> Hi,
>
> I was trying the OsgAndroid's buillt-in  application OsgSimple, it worked
> great on the Android phones, but the same apk file does hangs up on the
> tablet devices.
>
> Debugging into it shows that the program hangs at below code line:
> mViewer = new Viewer(this);
>
> Does any one know how to solve this? Or did you encounter same issue or
> have any suggestions? Thanks.
>
>
> Cheers,
> David
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=58679#58679
>
>
>
>
> _______________________________________________
> 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