From MTL file to texture

Post Reply
User avatar
Phoenixflo44
Member
Posts: 639
Joined: Fri Jul 28, 2017 15:01
In-game: EvilPhoenix
Location: Behind my PC, in Germany

From MTL file to texture

by Phoenixflo44 » Post

I created a 3d model with texture in blender and exported it as an obj file. If you export the file as obj, a file is still in the contained where the textures come from. But in minetest you need a texture and so I want to ask how I converted the file into an image so that the textures are in place.
Spoiler
I hate my life

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: From MTL file to texture

by Nathan.S » Post

I think this could be of help to you, http://www.nathansalapat.com/minetest/b3d4minetest-08

The mtl file is useless, Minetest doesn't need it or use it. You need to UV unwrap the object, and then create the texture, and assign that with the code in your mod.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests