Hi Martin and David, Are you talking about osgAndroid's project on gitorious or the examples inside osg source code?
If it's the osgAndroid project I haven't reviewed the project for some time since I'm pretty busy on other projects (osg related but for desktop) but if do you find a better approach for initialize the EGL context, I'd be glad to merge the changes :). Cheers, Rafa. 2014-04-09 19:07 GMT+02:00 Martin Siggel <[email protected]>: > 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 > > -- Rafael Gaitán Linares CTO at Mirage Technologies S.L - http://www.mirage-tech.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

