"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Convert .OBJ to my own .java MeshObject

Hi, 

I have my own .obj file and texture to display my own model instead of Teapot. I need to convert this .obj file to my own .java file just like teapot.java(MeshObject).

Is there any software that is used to make different models(.java files) like teapot, CylinderModel and BowlandSpoon models? What is required to retrieve indices, vertices, normals and texturecoordinates from an .obj file that I can use just like Teapot model. 

I used objtoopengl script that generated .h file from .obj file. But the converted .h file does not have indices. So I can not use it like the models used in samples.

 

Any kind of help will be appreciated.

Many thanks,

Munazza

waheed000sardar

Thu, 04/13/2017 - 10:54

 

Hi, 

I have my own .obj file and texture to display my own model instead of Teapot. I need to convert this .obj file to my own .java file just like teapot.java(MeshObject).

nabeloso

Tue, 08/01/2017 - 13:08

In reply to by waheed000sardar

Hello,

Have you solve the construction of the .java (MeshObject) from an .obj?

I have the same problem and I could´t find anything of this in the vuforia tutorials.

 

Thanks!

Yashu94

Fri, 10/06/2017 - 09:19

In reply to by waheed000sardar

Hi,

If you have got the solution , please send me the steps for this problem please.Thanks in advance.

yashaswini060294@gmail.com

mohammedqissa

Sun, 09/24/2017 - 21:36

you can use a 3rd party renderer that get the coordinates from vuforia and render the .obj object and lie it on the given position, there are many tools for rendering .obj or antother 3D extentions like Rajawali and