Isometric Terrain in 3D

Blitz3D Forums/Blitz3D Programming/Isometric Terrain in 3D

FBEpyon(Posted 2004) [#1]
Hey, I have posted about looking for a random map genrator, but I have come to the conclusion that the terrain command has limited useages..

What Im needing to know now is should I use the MESH command, and create my own terrain engine, because I need Texture Mapping, for different levels of ground. If someone could post a code snipet on doing a selfmade terrain using meshes I would be greatful thanks..

Someone please help!!


Dirk Krause(Posted 2004) [#2]
There are various examples in the code archives i.e. here:
http://www.blitzbasic.com/codearcs/codearcs.php?code=362

just add water and
CameraProjMode cam,2
for the isometric view.
You should tweak the movement, though.

It's always a good idea to check the archives first.

Regards,
Dirk


Craig H. Nisbet(Posted 2004) [#3]
I ran that example, all it does for me is create back screen with a 4 in the upper left hand corner. Am I doing something wrong?


Dirk Krause(Posted 2004) [#4]
yes. you didn't wait long enough.

but there are several other terrain examples in the code archives. you can also check sswift's terrain system.


AbbaRue(Posted 2004) [#5]
That example is set to dark. At the bottom of the code you will find the following line:
WritePixel x,y,(Rand(64)+32)*66049,TextureBuffer(tex)

Try replacing it with this line:
WritePixel x,y,(Rand(120)+120) Shl 8,TextureBuffer(tex)

That will be much brighter.


Mr Snidesmin(Posted 2004) [#6]
Hi,

I just happened to have written this an hour or so before reading this post. . . :-)

http://www.blitzbasic.com/codearcs/codearcs.php?code=1081