helmet  Tinsleys Tutorials  helmet


Testing Your Displacement Map

 

Click on these to go Directly to that Step

Back to Tutorials


In this tutorial I will be using the Motocross Madness 2 Track Editor (Armadillo)


Step 1
Saving your Displacement Map

 
Step 1 Part 1


Resize Image

Open your .psd file

Go to Image > Image Size

Type in 257x257

Make sure all your layers are showing like this
My Displacement Map


Then go to File > Save As (Ctrl+Alt+S)
for the Format make it a Targa (.TGA)
push Save and when the Targa Options dialog box
pops up click 24-bit/pixel under resolution

you have to make sure that it is a 24-bit 257x257 .TGA Image
Or it won't work in the dillo



Step 2
Importing your Displacement Map
Step 2 Part 1

 

1. Open the Armadillo

You are prompted with a thing where you can choose
what kind of track you are making
Choose your Track Type
So choose what kind of track you are making
for this tutorial i am using the National track i made in
Making A National Displacement Map

2. After you choose the type of track you want to create
it brings you to the the place where you Edit your Terrain Geometry
Import Targa Height Map
in here you can import your Displacement Map by
clicking Import Targa Height Map click it

when you click that  it opens the Import Options
Import Options
under Placement Options you can select Track or Perimeter
when Track is selected you can Import a Displacement Map for the Center Tile of your track
and when Perimeter is selected you can Import Displacement Maps for All the rest of the Tiles
all you really need is a Displacement Map for your Track
if you don't import any displacement maps it will be flat ground

3. make sure Track is selected and click Import
now you get another window for you to find your displacement map
Import From...
All you need to pay attention to in this is the middle (That is where the files are displayed)
also under that it shows what drive your in
Right now i am in drive f:
if my displacement map was in drive C: all i would
do is click that golden arrow and click C:

if you don't understand the middle part read this
Use the 2 dots (..) to go Up a directory
that means if i am in F:\MotoMad2\TrackEditor and i double clicked the 2 dots
it would take me to F:\MotoMad2

Those words you see in between brackets like [DispMaps] they are Folders (Directories)

Now that you have found your Displacement Map
Click OPEN and it will show your Displacement map on the screen


4. Now look back over to the Right of your screen you see all the things Under the
Import Targa Height Map button
i will explain what all those mean

Import Targa Height Map Options

you can see a check box, you can Use Smooth Filter or not.
The Smooth filter is for those tracks that are not too smooth
you can just click that button to make them smoother
I just leave it checked

under that you can see View Track and View Perimeter
you can click one or the other to see your displacement maps for them
That is all that really does

Under the View Perimeter you can see Displacement Strength
depending on what the brightest color you have in your Displacement Map
like if you were to have a really tall hill that was 200 - 200 - 200 and that is the tallest color on your track
then from 0 to 200 is what will be used
and 200 would equal 40.0 or whatever your displacement strength was

Below the Displacement Strength you can see Grid Resolution
that is how big you want your track to be as in Length and Width not height
i am not sure how this works as in the numbers
but 10.0 is a Pretty BIG track :) WIDE

ok finally Edge Smoothing Options
I always put this on 0
all this does is take your Perimeter Displacement Map and
your Track Displacement Map and take the average height of the edges of them
and take that and Gradient Fills that in on your track
how far the Gradient reaches depends on what number you put in
i use 0 because i don't want it to do that





Step 3
Testing The Displacement Map
Step 3 Part 1


ok now that you have done all that it is time for the fun
you cannot test your Map when you are in the Displacement view
so click one of the other tabs

SplineButtonTexture ButtonObjectButtonEnvironment Button

now it will generate you track in 3D!
and you will be able to test it

ok to test it just click the Right button that looks like a guy on a bike
like this
The one on the RIGHT
Test Buttons
The Left one has the Computer guy test it
but if you don't have a spline set up
Go here to learn how
Working with the Spline Button:

Tip: If you Alt+Tab back into the Editor and can't find your mouse
Right click the mouse button and it should show up again :)


 

Back to Tutorials