By shahzadmajeed
on Tue, 05/06/2014 - 20:09
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
Convert .OBJ to my own .java MeshObject
If your .h file does not have indices, then replace this line
hey i have a problem that the
hey i have a problem that the .h file is too large .. do you have any idea how to solve that ?
Convert .OBJ to my own .java MeshObject
hello ,are you solve this problem ?
please help me
Convert .OBJ to my own .java MeshObject
同样的问题困扰着我
Convert .OBJ to my own .java MeshObject
hey can you please translate your answer in english?
Convert .OBJ to my own .java MeshObject
(同样的问题困扰着我) means The same problem plagued me !!!
Convert .OBJ to my own .java MeshObject
You may want to check this:
https://developer.vuforia.com/resources/dev-guide/replacing-teapot
Bacially it's a matter of reading out the vertex coordinates from your OBJ file or from your .h header file and feeding them as a vertex array in OpenGL.
Convert .OBJ to my own .java MeshObject
The problem is Alessandro, the link you keep posting, is for the NDK (C++) and the OP asked about using the .h data in JAVA.
Convert .OBJ to my own .java MeshObject
Convert .OBJ to my own .java MeshObject
I have been trying to figure out how to build the Vuforia NDK sample, but all the documentation is geared towards Eclipse, which I do not use (and a lot of other people also use Android Studio like myself these days)
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).
Hello,
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!
Hi,
Hi,
If you have got the solution , please send me the steps for this problem please.Thanks in advance.
yashaswini060294@gmail.com
How you resolved that, i need
How you resolved that, i need to do the same. Please help me.
you can use a 3rd party
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