3d obj file loader at sdk 1.0

Tutorials concerning the OpenGL® ES cross-platform API for full-function 2D and 3D graphics on the Google-Android platform.

3d obj file loader at sdk 1.0

Postby Irene » Wed Apr 15, 2009 3:39 am

Hello Everyone~!
I am working at 3D Model viewer and 3D animation at m3 version sdk.
I had work with opensource at http://code.google.com/p/android-gl/
However I need to change mywork m3 to 1.0 sdk.

First, i changed the AndroidMainfest.xml for 1.0 version.
and then, I imported

import javax.microedition.khronos.egl.EGL10;
import javax.microedition.khronos.egl.EGL11;
import javax.microedition.khronos.egl.EGLConfig;
import javax.microedition.khronos.egl.EGLContext;
import javax.microedition.khronos.egl.EGLDisplay;
import javax.microedition.khronos.egl.EGLSurface;
import javax.microedition.khronos.opengles.GL;
import javax.microedition.khronos.opengles.GL10;

then, I got some errors with context.

"context = new OpenGLContext(OpenGLContext.DEPTH_BUFFER);"
"context.waitGL();"
got error.
I tried to use EGLContext, but it doesn't work.

Does anyone already upgrade the ModelViewer Open source??
Or can u tell me how I can do it?

Help me
thanks a lot.
Irene
Freshman
Freshman
 
Posts: 2
Joined: Mon Apr 06, 2009 11:58 am

Top

Return to Android 2D/3D Graphics - OpenGL Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests