Blockland Terrain Generator
The Unofficial Project
AboutI was loving around in my Documents folder when I stumbled upon my old Sockets folder. Though I hadn't touched this in years so I opened it up to actually be all my heightmap stuff. I began to look through my work. I found this really nice SimplexNoise Heightmap Generator, so I asked my
trusty steed friend ottosparks to help me convert it to TorqueScript (all of this is either in python, C++ or Java), so instead of generating Heightmap.bmp files it would build it. Half way through we realized it all along only used colors and not actual positions, while we could have made a fix for it I decided not to, it would have been a waste of time.
A few hours later after shooting my bow in my backyard trying to figure out a terrain generation algorithm, I was packing up and I remembered I also had Truce's Heightmap2BLS script which I used to convert the heightmaps into .BLS's. So I quickly got to my computer and opened it up, too bad it was in Java. Then the thought struck me, I MUST CONVERT THIS TO C++ AND MAKE A GUI, QUICK, TO THE
BAT MOBILE STEAM CHAT WITH OTTOSPARKS.
Never tell your password to anyone.
Brian Smithers: hey
Brian Smithers: i just realized something
Brian Smithers: WE ARE BEING handicapped
Brian Smithers: Why are we converting a C++ Script which runs at about in 0.5 seconds to generate molestic terrain, when we can just convert Truce's Java Heightmap2BLS into C++ and run that using a cache system!
Brian Smithers: WE ARE MOLESTING handicapped
ototperks: idk
Brian Smithers: so
Brian Smithers: plus
Brian Smithers: java is a lot like C++
Brian Smithers: we can convert it easily
Brian Smithers: well lets get to work
Brian Smithers: wait
Brian Smithers: i dont know how to write in java
Brian Smithers: do you know how to write in java?
ototperks: i can read it
ototperks: and write in it a bit
Brian Smithers: ok
ototperks: i know the syntax pretty well
Brian Smithers: because i dont know how to write in java
Brian Smithers: at all
ototperks: i can't actually make stuff in it though
Brian Smithers: read it or write it
Brian Smithers: so lets cut this to the chase and begin our work
ototperks: currently i'm doing stuff
Brian Smithers: oh
Brian Smithers: ok
Brian Smithers: ill try to get nullable to
Brian Smithers: wait
Brian Smithers: forget
Brian Smithers: :)
Brian Smithers: :(
Brian Smithers: *
ototperks: lol
ototperks: i dont
Brian Smithers: it has a converving brick function
Brian Smithers: which is very nice
Brian Smithers: Also do you know how to make GUIs in C++
ototperks: define 'gui'
Brian Smithers: Graphical User Interface
Brian Smithers: some text boxes which we can get the value of a place to pick a location and a button
Brian Smithers: Min, Max, Save Location, Go
Brian Smithers: bam
Though he was busy at the moment, nor does he know how to make GUIs in C++, but we can easily just use command line for that. So instead of learning how to read java and converting truces script I decided to make this topic :).
Production Photos


Credits| Brian Smith | Coding |
| ottosparks | Coding |
| Truce | Heightmap2BLS |
| Travis Archer | Orginial SimplexNoise Script |
| Ken Perlin | SimplexNoise Algorithm |
More progress will come soon.