Android app to load 3D models in obj, stl, dae & gltf format using pure OpenGL ES 2.0. Published on Play Store https://play.google.com/store/apps/details?id=org.andresoviedo.dddmodel2
I can see that in your code camera always translate 360 based on object's (0,0,0) position. But how do I fix the camera and just move the object just by scrolling/dragging or translate the camera from (0,0,0) position to dragged position on the 3d object? Need suggestion on this.
There was a problem rendering the object 'Mesh.0101':Must use a native order direct Buffer
java.lang.IllegalArgumentException: Must use a native order direct Buffer
at android.opengl.GLES20.glVertexAttribPointerBounds(Native Method)
at android.opengl.GLES20.glVertexAttribPointer(GLES20.java:1910)
at org.andresoviedo.android_3d_model_engine.drawer.DrawerImpl.setColors(DrawerImpl.java:274)
at org.andresoviedo.android_3d_model_engine.drawer.DrawerImpl.draw(DrawerImpl.java:132)
at org.andresoviedo.android_3d_model_engine.drawer.DrawerImpl.draw(DrawerImpl.java:97)
at org.andresoviedo.app.model3D.view.ModelRenderer.onDrawFrame(ModelRenderer.java:412)
at org.andresoviedo.app.model3D.view.ModelRenderer.onDrawFrame(ModelRenderer.java:232)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1589)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1280)