Hi, I successfully compiled OSG for Android on Windows using the nice tutorial from this forum ([Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10). The example runs pretty well (especially if you ignore everything Eclipse says).
My problem is that my 3D Model dissapears from the viewer when the device goes to sleep or when I go to the home screen and go back in the App. The model is still in the App (I can delete it from the scene) but it doesn't show. The problem also appears when the SurfaceView is resized. I've been looking for an answer for a week now and didn't find any real solution. Setting up PreserveEGLContextOnPause (public void setPreserveEGLContextOnPause (boolean preserveOnPause) Control whether the EGL context is preserved when the GLSurfaceView is paused and resumed. ) didn't do anything for me... I also tried to reload the objects by deleting/loading them. That looks like a bad idea to me... anyway it doesn't work properly. I'm using a Tegra3 Android 4.0.3 Device. Is it an Android problem ? A basic OSG problem ? An OSG on Android problem ? I simply wanted to know if any of you already had (and hopefully solved) this problem or if you could show me the right direction. Thank you! Cheers, Keep up the good work, Emil ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48632#48632 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

