Game Development Community

Texturing a barrel in 3d Max 9.

by Josh Isgame · in Artist Corner · 02/24/2008 (4:36 am) · 7 replies

Hello again, I ran into another problem with texturing and exporting to DTS correctly. I've created a barrel in 3d Max, then textured it, it looks like this in 3d Max :

[IMG]http://img139.imageshack.us/img139/4783/3dmaxbarrelrm8.th.png[/IMG]

Thats how I texture the sides of the barrel :

[img=http://img411.imageshack.us/img411/5075/texturingzk4.th.png]

Thats how I texture the top of the barrel :

[img=http://img411.imageshack.us/img411/9933/texturingtopuz3.th.png]

And I just use quick setup and export the shape, but thats how it looks in TGE :

[img=http://img139.imageshack.us/img139/2262/torquebarrelap7.th.png]

I'm not sure whats wrong, if you need more info how I did everything else, just ask. I hope you can tell me what I am doing wrong. Thanks in advance!

#1
02/24/2008 (5:06 am)
Hi Josh

You probably arent using the proper uv tools, looks like you are cropping the image in the material, that wont work.

In the object stack add a "uvunwrap" modifier and setup the uvs in there.

Cheers
#2
02/24/2008 (5:45 am)
Thanks for reply, but do you mean I should add this modifier ? :

[img=http://img170.imageshack.us/img170/5853/unwrapuvwak2.th.png]

Sorry I'm new to 3d Max. It's about time to start learing to model..
#3
02/24/2008 (6:33 am)
Yep thats the one.

Once you apply it press edit in the rollout and ya get a nice uv working area, theres various selection buttons in there to start working on it you would then flat map the top and bottom polygons and cylindrical map the sides.

Check the 3ds help file for detailed info, theres a lot of buttons in the uv unwrapper :)

Cheers
#4
02/24/2008 (6:51 am)
Thank you again, you really helped me. =D
#5
02/24/2008 (9:14 am)
Grr, I finally textured the barrel, but thats how it looks exported in torque :

[img=http://img175.imageshack.us/img175/7472/texturingproblemvy6.th.png]

This is how it looks in 3d max :

[img=http://img175.imageshack.us/img175/6463/3dmaxtexturedwh6.th.png]

And thats how I texture the barrel :

[img=http://img175.imageshack.us/img175/6621/edituvwsru3.th.png]

Now I really don't know what I'm doing wrong. ;\
#6
02/24/2008 (9:21 am)
The UV looks good. theres one strange poly the green line that goes over the barreltop there, but that should not be a problem, except that one face is going to look weird probly.

Looks like the texture isnt showing in the engine. Make sure the texture is a power of 2 image (256x256) a .png file and that its in the same folder as the barrel dts.
Also make sure the texture name in 3ds max and the one in the torque shapes/mybarrel (or whatever you called it) folder is the same.

Also take a look at it in showtool pro, thats easier for debbuging than starting the game every time :)
#7
02/25/2008 (2:50 am)
Oh I forgot that textures must be the power of 2.. Thanks again. :D