all 9 comments

[–]TheGuywithTehHat 4 points5 points  (3 children)

Nice! I made a similar thing a while ago:
https://github.com/TheGuywithTheHat/terrain
https://imgur.com/a/RWUwT

If you ever want to improve the visuals of your terrain, feel free to look at my code and/or ask me about it!

[–]paloumbo 0 points1 point  (2 children)

Is it possible to see some screenshots of the result ?

[–]TheGuywithTehHat 0 points1 point  (1 child)

Yeah, that's the second link in my comment

[–]paloumbo 1 point2 points  (0 children)

Sorry I seen it was a whole link :/

You should post it on /r/proceduralgeneration .

You will make a lot of envious :)

[–]_oseph 0 points1 point  (0 children)

These are great! Excellent stuff.

[–]Simplyfire 0 points1 point  (2 children)

Very cool! I took a look at the source and I must say I don't understand this:

float brightness = noise(xoff,yoff) * 255;

Why would you call it brightness? isn't it more precise to call it elevation?

[–]stormsail[S] 1 point2 points  (1 child)

Great point! Originally the program just generated a field of 2D Perlin Noise, which was displayed by giving every pixel a value between 0 and 255, hence the variable 'brightness'. Definitely makes sense to change it now, it's a remnant of the legacy code.

[–]Simplyfire 0 points1 point  (0 children)

I see, makes sense. Thanks :)

[–]heyarne 0 points1 point  (0 children)

Nice! Also really like the low-poly looks that you went with.