How do I tweak elevation texture offset.

Software: Away3D 4.x

Suese, Newbie
Posted: 14 January 2013 09:04 AM   Total Posts: 6

I’ve made an elevation map based off of a perlin noise map.

I then made a simple terrain texture based off the perlin noise map.

I then created an Elevation mesh and used the texture generated.

The problem I’m facing is that the texture does not map onto the elevation map the way I expected.  It’s slightly off-set and looks ugly.

Here is an illustration of the problem:

http://danmckinnon.net/downloads/away3d_elevation_problem.png

I want each new elevation to be clearly defined by its colour.  if anyone remembers the game 4D Sports Racing (aka Stunts),  it’s supposed to be kind of like that.

Can anyone provide me some insight or suggestions on how to fix this?

 

   

Avatar
loth, Sr. Member
Posted: 15 January 2013 06:20 PM   Total Posts: 236   [ # 1 ]

humm not sur to understand you probleme
but elevation use rvb not gray scale
so you can create more map and use BitmapData.threshold
to isolate your layer

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X