Game Development Community

Problem with soup can example in Chapter 13

by Mike DuVall · in Torque Game Engine · 11/24/2006 (8:21 pm) · 1 replies

(FYI, I'm using the second edition of this book)

I'm trying to do the first example in Ch. 13 where you build a basic soup can in Milkshape and then map the texture to it. I never can get the texture to map exactly right to the can. I think I see the problem:

It seems like to me the problem is that this example uses a JPG file that was prebuilt to work with some previous created soup can model and that unless the soup can model that you create yourself in Milkshape in this example EXACTLY matches whatever model was originally used to create the JPG, then things are never going to match up. Seems to me that there is a missing step in this example, where you should repaint the UV map you create, as shown in Chapter 9. In fact, it seems to me that the ordering of these chapters is fairly confusing and backwards and that showing how to build the shape first, then the uvmap, then the skinning would make a whole lot more sense than showing you how to skin some "magically" created uvmap first.

Comments anyone? I'm pretty new to this, so I may be getting this all wrong.

#1
12/07/2006 (2:15 am)
I was doing the same same like u and I know the problem, when I back track it, like they say "if u r lost go back to the beggining". Ok, let me explain...
Go to page 478 and pay attention to step #3 then,
look at the Figure 13.5 at top-right picture, it is supposed to be exact size like on the pict,
otherwise the skin will be either too short or too long.

So to summarize, pay close attention to size of cylinder otherwise it will be too small or too big.

Please let me know if it worked. Sorry for my english, it's my second language.
Hope that will help u.