Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get issue in color rendering for some gltf file #8

Open
ranashahidbashir opened this issue Sep 2, 2022 · 0 comments
Open

I get issue in color rendering for some gltf file #8

ranashahidbashir opened this issue Sep 2, 2022 · 0 comments

Comments

@ranashahidbashir
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant