iso 3d

Blitz3D Forums/Blitz3D Programming/iso 3d

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This is what I did... I hacked this out of my older 3d game but it should work.
; =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= MAP

Global terr=LoadTerrain("textures\hmap_1024.bmp") 
; I have a 1024X1024 heightmap in GS
ScaleEntity terr,25,400,25 
; scaling is important... middle number increases height or depth
PositionEntity terr,-20*512,0,-20*512
; you will have to monkey with this... I am still trying to cut the center
EntityFX terr,1
EntityType terr,2	;Load terrain

;apply textures To terrain	
tex1=LoadTexture( "textures\coolgrass1.bmp",1 )
ScaleTexture tex1,10,10
; lightmap ALPHa for terrain.....
tex2=LoadTexture( "textures\lmap_256.bmp" ) ; i like a nice set of colors
ScaleTexture tex2,TerrainSize(terr),TerrainSize(terr)
EntityTexture terr,tex1,0,0
EntityTexture terr,tex2,0,1

OK you are going to need a greyscale heightmap... BMP and JPG work ok... JPG is smaller in Greyscale. You will also need a nice 256X256 colormap for your terrain... I have to research how to link images in to here but I will post when I do.

-RZ