Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / 8X8 Landscape Generator

Author
Message
NeX the Fairly Fast Ferret
18
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 31st Dec 2005 21:22 Edited at: 1st Jan 2006 22:29
I needed a fast way of making reasonably realistic terrain for my racing game, so I made a generator. It makes 8X8 256X256 .BMPS that look acceptable in 15 mins with a viewer. For all you GIMMEH TEH CODEZ people, here it is:



EDIT: all the code is now there

Darkbasic MADPSP
18
Years of Service
User Offline
Joined: 15th Jun 2005
Location: Uk
Posted: 31st Dec 2005 22:33 Edited at: 31st Dec 2005 22:36
Could not understand command? the loadmatrix command i think

Experienced DB http://www.greatgames3d.com (work in progress site)
NeX the Fairly Fast Ferret
18
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 31st Dec 2005 23:20
I am about to release a newer version soon anyway

It was where two commands were on a line, and in certain versions of DB it crashed the compiler

NeX the Fairly Fast Ferret
18
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 1st Jan 2006 00:09 Edited at: 1st Jan 2006 00:28
Here:



Notes: Creates a folder called ISLAND on your C: drive and fills it with heightmaps. The numbers on the screen are the completed percentage of the current process.

EDIT: A few minor improvements.

flashing snall
18
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 1st Jan 2006 02:09
the old one quit out when it was converting bitmaps...

dont assume cause ull make an ass out of you and me!
NeX the Fairly Fast Ferret
18
Years of Service
User Offline
Joined: 10th Apr 2005
Location: The Fifth Plane of Oblivion
Posted: 1st Jan 2006 22:29
Any good?
Updated the first one with one that won't put mountains in the sea, and outputs 128X128 PNGS, causing a strangely faster save. A few bottlenecks also ironed out.

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 2nd Jan 2006 11:43
I don't really get what it does. So you have to put them all together and use it as a heightmap? That's some work. You can create one big map if you use memblocks. And they're probably faster too.
tiffer
17
Years of Service
User Offline
Joined: 6th Apr 2006
Location: Scotland
Posted: 8th Apr 2006 20:34
Doesnt work for me, keeps saying it cant the last nest and i cant be bothered figuring out why.

C.Watson

Login to post a reply

Server time is: 2024-03-28 13:48:52
Your offset time is: 2024-03-28 13:48:52