Hi,
although everyone here said, that you can't run osg in the android emulator, i
finally managed to run an example in the emulator (see attached screenshot).
Our app is based on the osgAndroidExampleGles1 sample. I had to modify the
constructors in EGLview.java to:
public EGLview(Context context) {
super(context);
//init(false, 16, 8);
init(false, 0, 0);
}
public EGLview(Context context, AttributeSet attrs) {
super(context,attrs);
//init(false, 16, 8);
init(false, 0, 0);
}
If you wan't to know more in detail, I can provide more code. To my setup:
Android x86 target with HAXM driver and host GPU support.
It will probably also work on an arm emulator device.
Cheers,
Martin
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57856#57856
Attachments:
http://forum.openscenegraph.org//files/osg_android_207.png
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org