Questions tagged [mtl-file]
34 questions
0
votes
1 answer
Three JS OBJloader - obj not importing properly
i'm trying to import an obj with OBJLoader but it isn't importing properly
The obj is like this -
Obj img
And it's importing this -
Obj in three js
What happens is that the whole obj isn't importing well.
What can i do about it ?
The code that i'm…

Celso Madeira
- 13
- 6
0
votes
0 answers
Using mtl info in fragment shader in OpenGL for texture mapping
In my program I load .obj model. Now I want to make a use out of .mtl for my model. I have parsed all the attributes (including texture filename - actually I just want to map a texture to my model). And I guess the lighting and texture mapping will…

anako
- 125
- 7
0
votes
1 answer
Why A-frame is not loading OBJ .png textures from Maya.
I created a Maya file when I export it to OBJ with the .obj the .mtl and the texture .png everything is loaded except the textures everything is black. Am I missing something while exporting to maya?
Here is the OBJ and the texture:…

M_Maria
- 93
- 1
- 8
-1
votes
1 answer
Implementing material (mtl) files into objects (obj) in LWJGL/OpenGL
I have an object loader that right now takes in textures but I have tried making some textures and they never turn out exactly how I want also I found out that lot of them use a colour I want in one place and puts it on to a different place that I…

Zwei
- 1
- 3