I am currently working on a job, I need to load some model formats into a java object. And I dont have the time to read up on each file specification.
I need support for vrml, 3ds, stl.
Either develop a class to load the models into, something like (seperating group by texture):
1 2 3 4 5 6 7 8 9 10 11 12
| class Model { Group groups[]; } class Group { String texture; Face faces[] } class Face { Vector3f point[3]; Vector3f normal[3]; Vector2f textCoord[3]; } |
Or alternatively, create a converter to export them as OBJ with support for UV texture co-ordinates.