Multi-texturing in .obj?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
hksduhksdu
Posts: 4
Joined: Wed Mar 24, 2004 4:54 am

Multi-texturing in .obj?

Post by hksduhksdu »

If I load an object from .obj, then set the texture to it, it will set the texture to the entire object. What if that object is a cube and there are six faces, I want to assign 6 different textures on this object, what can I do with irrlicht API? Does it support? What mapping system is it using with .obj(.mtl)?

Thank you very much

Andy
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

.obj files are loaded into one single mesh bufffer in irrlicht, so you can only set one material. Try to use .x instead for example.
Post Reply