Hieghtmap problem

Blitz3D Forums/Blitz3D Programming/Hieghtmap problem

elseano(Posted 2003) [#1]
My hieghtmap just changes into a flat plane when I run the program. Am I using the wrong function or something? Or am I just doomed to using the modifyterrain command forever? :/

The Code:

;The hieghtmap
dam=LoadTerrain( "C:/3dgame/dam_hmap.bmp" )
PositionEntity dam,0,-40,0
dam_tex=LoadTexture( "C:/3dgame/dam_tex.bmp" )
EntityTexture dam,dam_tex
TerrainDetail dam,4000


fredborg(Posted 2003) [#2]
Try: ScaleEntity dam,1,100,1


elseano(Posted 2003) [#3]
D'oh!
I always forget that bit!
Thank you Fredborg!


sswift(Posted 2003) [#4]
So I guess you got that dam terrain working?