Log in or register to post comments

Replace MeshObject to Java

July 29, 2017 - 2:53am #1

how to convert .obj/.fbx file to .java file  to replace teapot in android studio 

Replace MeshObject to Java

May 18, 2019 - 5:18am #3

i have the same problem while using java sdk , did you got any solution as vuforia support don't know how to do that.

 

i don't why they didn't develop anything that load obj, gltf, fbx mesh files. It's hard to create java opengl mesh.

Replace MeshObject to Java

July 31, 2017 - 12:02pm #2

Hello achyut505,

The Android sample uses the Teapot.java file to define the features of an object to render in OpenGL. You can see how the rendering is done in ImageTargetRenderer.java's renderFrame() function. In order to render something different, you will need to read out the vertex coordinates from you model file (.obj/.fbx) and feed them into a vertex array in OpenGL. You can find some more information on this here: https://library.vuforia.com/articles/Solution/Working-with-Vuforia-and-OpenGL-ES#How-To-Render-Static-3D-Models-using-OpenGL-ES

Thanks,

-Vuforia Support

Log in or register to post comments