Game Development Community

Multiple Textures

by Mike Samuel · in Artist Corner · 06/20/2012 (12:39 pm) · 5 replies

OK, so I'm trying to get a model in torque to have multiple textures on it. I've created a box primitive in 3DS and converted it to an editable mesh.

Gave three of the faces to match the material ID 2 and three of them to match material ID1. So far so good, the correct textures appear on the model

http://postimage.org/image/mda35ix8j/b1278d6d/


I then UV map the box, export it to torque then it looks like this http://postimage.org/image/97j8hpg0f/


If anyone can give me some advice on this, it would be hugely appreciated.


Thank you in advance.


Mike

#1
06/20/2012 (1:49 pm)
Mike, its hard to see from the images but from what I gather you are trying to apply different textures to the same mesh on the same level with one uv map? If so you need to break it down. If you want to apply different colours to different faces you can do this on the same texture image by sorting the uv map out before applying the materials. map it so you have each face mapped differently with material mapped to the uv map

You can apply different textures to the same model via the texture layers in torque, but you're best off applying a single texture that includes the different materials on each face.

If you need a hand I can set it up for you to import and see how it works?

Tim
#2
06/21/2012 (4:10 pm)
That would be extremely helpful, I've only just recently started learning the whole UV mapping and things , having something to actually see how it works would be a great visual help.

Thank you Tim !
#3
06/21/2012 (8:33 pm)
Mike, try unwrapping the UV map and then doing the testure work. The UV map (unwrapped) will allow you to fit all the islands onto a single texture space and thus easily allow you to build the texture up over time. Otherwise you'll end up with as many textures as you have faces.

Also, your first pic isn't linked properly. It's actually here.

Or embedded is

s13.postimage.org/qz67dvirp/box.jpg
#4
06/22/2012 (11:34 am)
Mike, drop me an email at tim.watton (@) winterleafentertainment.com with your cube in obj format and ill post back for you to see.
#5
07/17/2012 (3:33 am)
Mike, for multiple textures you will want a multi/subObject material.

This allows you to assign a different map to a different map channel.

Then, match the ID on the polygons for your object.