terrain height ?

Blitz3D Forums/Blitz3D Beginners Area/terrain height ?

RiverRatt(Posted 2004) [#1]
I have not experimented with making a terrain in a paint program yet. What I need to know is, if you make a terrain in, lets say photoshop, is it true that when you load the terrain into a blitz program, do you always have to scale the y value of the terrain to get the hills and bumps to show up?

"Returns the height of the terrain at terrain grid coordinates x,z. The value returned is in the range 0 to 1."


electronin(Posted 2004) [#2]
Yes. To use a heightmap at all really, you have to scale it in the Y direction.