[OBJ files] Do MTL is used ?
Posted: Sat Sep 11, 2010 5:05 am
I always add the MTL file to the OBJ one in the "script" folder. It is necessary or do i don't need it ?
=> by the way, it will be pretty cool if TA3D can read the MTL and use it for texturing and color. Not the texturing directly rendered by the 3D software, mind you, but at least plain colors and files textures. After the MTL indicate what texture files are used and how.
That eliminate the need for UV work. Can you imagine ?
- You model your unit in the 3D modeller,
- You create the texture in 'toshop (or other 2D graphic software),
- You save the texture file as a PNG file,
- You apply the PNG file as a texture in the 3D modeller,
- You export/save in OBJ. The modeller save all the colors and texturing in the MTL file,
- You copy your texture PNG in a "textures".
And then, TA3D :
- Read the OBJ file,
- "Create" the model with it,
- Read the name textures (only the name, not necessary the path) in the MTL compagnon file, and how he need to apply it,
- Apply the texture.
And voilĂ , no need for UV mapping. For making a unit, yo ujust need a notepad, a 3D modeller and a 2D graphic software (and not even the last if you use downloaded textures from Internet).
DO you think it's possible ?
=> by the way, it will be pretty cool if TA3D can read the MTL and use it for texturing and color. Not the texturing directly rendered by the 3D software, mind you, but at least plain colors and files textures. After the MTL indicate what texture files are used and how.
That eliminate the need for UV work. Can you imagine ?
- You model your unit in the 3D modeller,
- You create the texture in 'toshop (or other 2D graphic software),
- You save the texture file as a PNG file,
- You apply the PNG file as a texture in the 3D modeller,
- You export/save in OBJ. The modeller save all the colors and texturing in the MTL file,
- You copy your texture PNG in a "textures".
And then, TA3D :
- Read the OBJ file,
- "Create" the model with it,
- Read the name textures (only the name, not necessary the path) in the MTL compagnon file, and how he need to apply it,
- Apply the texture.
And voilĂ , no need for UV mapping. For making a unit, yo ujust need a notepad, a 3D modeller and a 2D graphic software (and not even the last if you use downloaded textures from Internet).
DO you think it's possible ?