i need some information about obj files. I was able to extract a model with textures from a game file. The extracted file looks like this.
Code: Select all
g Mesh 0
v 0.053712 0.020744 -0.039279
v 0.061784 0.008303 -0.013566
v 0.053478 0.007107 -0.034874
v 0.024713 0.154537 0.04836
vt 0.175401 0.654691
vt 0.169565 0.67048
vt 0.175952 0.67048
vt 0.107216 0.547805
f 4 1 3
f 2 3 1
1. The vertex texture command defines how a texture is mapped on the object, right?
2. The face command defines the triangles from the object. What about the vt command, must they have a face definition?
3. How can i include the texture in the obj file? I wanna open the obj
(Blender, Max,..) and see the complete textured object.
4. Are more information necessary for mapping a texture to a object?