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.