Author Topic: Blockland Terrain Generator [BTG] - Pictures  (Read 4122 times)

Blockland Terrain Generator
The Unofficial Project

About
I 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.
Quote from: steam
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 SmithCoding
ottosparksCoding
TruceHeightmap2BLS
Travis ArcherOrginial SimplexNoise Script
Ken PerlinSimplexNoise Algorithm

More progress will come soon.
« Last Edit: May 20, 2012, 10:20:21 PM by Brian Smithers »

i didnt read op and only looked at pictures
hot

Try to finish ASAP so v21 doesn't wipe out the epic maps, then release them as .BLSs.
Good luck. :)

Try to finish ASAP so v21 doesn't wipe out the epic maps, then release them as .BLSs.
Good luck. :)
what, this will make .bls files that when you load are beautifully generated terrains.

It turns out i need to make all the colors into greyscale, gotta figure out what colors to use :S


Needs to be generated in game or it's pretty lame.

I MUST CONVERT THIS TO C++ AND MAKE A GUI, QUICK, TO THE BAT MOBILE STEAM CHAT WITH OTTOSPARKS. Though he was busy at the moment, nor does he know how to make GUIs in C++,
Good luck.
Or you could just be sensible and use CEGUI or something. But I must be out of my mind.

so you're generating water and land areas for the heightmaps but just making ugly muddy builds out of it

great idea

Awesome. Are you still working on this? Will it have caves? Keep up the good work.

Like the overall look. This is better then the current LSG.

Awesome. Are you still working on this? Will it have caves? Keep up the good work.
Why did you bump this?

It turns out i need to make all the colors into greyscale, gotta figure out what colors to use :S
just get the hue from the colours to convert them automatically.

Awesome. Are you still working on this? Will it have caves? Keep up the good work.
probably not. brian is in africa right now anyway.

probably not. brian is in africa right now anyway.
This looks worth doing, though. I'm curious to see where this goes if you guys do work on it.

This looks worth doing, though. I'm curious to see where this goes if you guys do work on it.
tbh any work i did on this has pretty much been thrown out the window hahaha