Using a single texture on an object (Unwrap UWV)

Post your tips and tricks here !

Moderators: jpkeenan, Momentum, n5vav, Meridious, whitepass

Using a single texture on an object (Unwrap UWV)

Postby Pencil42 » November 22 2006

According to a post from Rob on the old Auran forums, the TRS engine runs better with fewer numbers of textures. The trick is, how do you map the texture to the model, so that everything is aligned correctly?
This will show how to do use the Unwrap UVW modifier to accomplish this.

First, our victim: A low-poly passenger depot:
Image

And, the texture to be used:
Image
Note that the roof and platform use tiled textures, we'll only be focusing on the walls in this example.
Image
Step 1. add a UVWmap modifier to the walls. This time, choose 'box' as the mapping parameter. Leave the length, Width, and Height parameters at default; they don't really matter.
Image
Apply the texture to the model
Image
Note that it looks a little odd; it doesn't really line up the way it should.
So, to fix that, we'll add an Unwrap UVW modifier to our stack.
Image
Expand the modifier by clicking the (+) to the left. Then, click on 'Select Face'. It should be highlighted as above. Note the edit button in the parameters section; we'll use that next.
Select one of the sides of the model,
Image
and click the 'EDIT' button.
This will open a new window with a low-res version of your texture, and a bunch of white lines.
Image
The white lines show how the polygons will line up on the texture. Right now, we only care about the polygon we selected previously, so find the triangle icon on the bottom center of the window. Click that (it will turn red) and most of the white lines will disappear. All that is left is the outline of the polygon we selected previously.
Image
Select the vertices, and move them on the texture map so that the white outline matches the outline of the wall on the texture. One hint; if you hold down <shift> while moving a vertice, it will only move in one direction.
Image
Close this window, deselect the polygons in the main window, and your first side should be complete. Repeat for the other faces that need mapping.
Image

I hope this helps; please let me know if you have any questions :)

Curtis
Last edited by Pencil42 on August 30 2010, edited 1 time in total.
Image
Pencil42
TPR Content Creation Team
TPR Content Creation Team
 
Posts: 381
Joined: May 19 2006
Location: Portland, Oregon

Postby cyberstorm » November 23 2006

Hi Curtis

this has been very useful, thanks for the tip

I have now managed to texture a vehicle with the sides as separate parts of the same texture, hopefully it will make reskinning far easier.
Terry Stormont
Shuttle XPC Athlon +3500 2Gb DDR Radeon X800XL 256Mb
Image
Offering a new slant on Trainz
cyberstorm
TPR Forum Member
TPR Forum Member
 
Posts: 34
Joined: November 17 2006
Location: Pocklington, Yorkshire

Postby Pencil42 » November 23 2006

Excellent; I'm looking froward to seeing your new buses!
Image
Pencil42
TPR Content Creation Team
TPR Content Creation Team
 
Posts: 381
Joined: May 19 2006
Location: Portland, Oregon

Postby cyberstorm » November 23 2006

he he

how did you guess ;)
Terry Stormont
Shuttle XPC Athlon +3500 2Gb DDR Radeon X800XL 256Mb
Image
Offering a new slant on Trainz
cyberstorm
TPR Forum Member
TPR Forum Member
 
Posts: 34
Joined: November 17 2006
Location: Pocklington, Yorkshire


Return to Tips, Tricks & Fixes

Who is online

Users browsing this forum: No registered users and 0 guests

cron