[Open Source]Terrain Generator - Development Halted

This is the last update :’( :emo: :cranky: :expressionless: it had to be done
Download[Src and Jar]
Screenshots
This is totally free (as in “take it and run like hell out of the store spilling all of your beer” :persecutioncomplex:)
Generates smooth terrain with Simplex Noise…
Usage:
+, - = adjust world size
w, a, s, d = move around
space, shift = move up and down
q = Toggle Wireframe/Solid+Textured
e = Toggle RenderDistance on/off
r = Reseed the map
z = Toggle between River- and Normal-mode
mouse = look around

Someone else will inevitably say it: post some screenshots.
Any special features or is it just meant to be example code?

+1

EDIT: It shows me “Couldn’t find appropriate Screen Resolution” or something like that… Maybe deliver a non-fullscreen version
?

This is Example code and aren’t supposed to work out of the box for everyone.
The resolution is 800x600x32 so that might be why you can’t open the app.
I updated the binary to probably fix the problem…

Fixed “Unable to find appropriate display mode.” and “Unable to determine display modes.”
Stupid bud, almost to easy… >:(
I wasn’t checking for fullscreen when i tried to set display modes, it tried to find fullscreen displaymodes instead of just setting the window size… ::slight_smile:

Added Height Coloring(red = above “sealevel”, blackish = “sealevel” and blue = below “sealevel”)
Added wireframe/solid rendering toggle…

Perlin noise is nice for landscapes, but to become more real, you might want to consider to simulate some erosion effects on the generated heightfields.

E.g. fill some of the depressions with sediments, give the smaller hills more rounded tops … maybe consider rivers cutting into the generated landscape, creating sharp valleys and canyons.

hi, nice stuff

I have some code lying around to generate normal + ambient occlusion maps from a height profile, I also did an generator to download NASA satellite data and generate a terrain mesh from it. Take a look, perhaps u can use some of it and create a Terrain creation app for all to use :slight_smile:

This was just a little project while i had nothing to do at work for about 2-3hours,
so it’s not such a big deal to add lots of features to it. (I’m not gonna use it anyways, but it was cool to play around with :P)

Works, wonderful :slight_smile:

Works perfectly (had to give him lwjgl linux natives… but works now).
The noise looks pretty good (not like my SimplexNoise one ;D ) and it looks like you have implemented a mid-displacement algorithm, is that true? Also, could you please say me how fast it is generating? It looks like it’s slow with higher world sizes, but i think, thats only because of the rendering…

EDIT: Oh wait… sources

Works great, colors on wireframe look awesome ;D

I have the source code properly running on my Eclipse. As someone who has only a basic understanding of OpenGL would it be a good learning experience to examine the code and try to make it render a sphere instead of a plane?

Amazing work by the way, I’m still dumbfound at how you completed this all in 2-3 hours.

First of all, the terrain is generated realtime(you see it get generated in front of you)
If by mid-placement you mean center of map, then YES…
It takes the map size and divides it by two and set camera coordinates accordingly.

I used the libnoise for java, and it has a Sphere generator, so go for it…
I made this in 2-3 hours because i did not need to make the Perlin-Noise/Map Generator from scratch…
Plus the first “working copy” was made in 2-3 hours, then came the bugs…

Tried some simplex noise :stuck_out_tongue:

I’ll update the bin+src with these features:
Perlin and Simplex toggle
Bug fixes and some code addage
Linux and Mac Natives :smiley:
the end…

Screenshots of the unreleased generator
I’ve added a new smoothing feature
This is the original terrain:

and here is the smoothed one:

Also another one:

I’ve even added a screenshot function to it :smiley:

Created an album at imgur.com
Will be uploading images there as i go…

It’s hard to tell what the smoothing does because there is no side by side comparison. :expressionless:

I call it “Smoothing”, but what actually happens is:
invert the deep sea areas, and the whole map then gets lowered…
So this will create a River look. I have also done this with simplex:

The last ever big update have been made…
I will still fix bugs if there are any…

Changelog:
Textures - Looks nice
Bug/Performance Fixes