OBJ texture

Started by
2 comments, last by sprite_hound 15 years, 9 months ago
Hi, I'm new to this forum (this is my first post). I want to say if it is possible to fit a texture on an OBJ model loaded in opengl with a specific library. The model is a skittle therefore I can't make it vertex by vertex... How can I do? I'm sorry for my bad english Thanks in advance
Advertisement
If the model is an .obj mesh, just texture it in a modeling package, e.g. Milkshape3D, Wings, Blender, 3DS, Maya, ect... Then just load the model and all the vertex, texture information and you are set. Not sure if that is what you are looking for.
Thanks for the response!

I'll try this solution but i'm also interested to know if it is possible to load the texture on the OBJ model via OpenGL.
.obj models tend to come with .mtl files that specify the material used on the object, part of which may be the texture (usually a file name). You'll have to just load the texture in the ordinary way to use it on your model.

This topic is closed to new replies.

Advertisement