Author Topic: Procedural Generation  (Read 6671 times)

0 Members and 1 Guest are viewing this topic.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Procedural Generation
« on: May 02, 2012, 05:27:56 pm »
Hey there!
I won't talk about projects, but more an idea, or a concept: Procedural Generation (PG for the non-noobs)
What is PG?
Procedural Generation is a tool into designing something that won't be fixed, or can change between levels/plays...
For example: Minecraft's world are procedurally generated: it uses random generation with some fixed rules (cannot have for example floating lava lakes ;) )

Here mine example: i'm a bit lazy, and I programmed a thing that gives me a map from a sketech I did. I did the shape, my prog gives me the geometry
Spoiler For BIIG PICTURE:
Made with blender, with this picture:
Spoiler For BIIIIIGGER PICTURE!!:
The 4 panels can be easily explained:
Top left : Height Map
Top right : vegetation density
Botttom Left: Height + water level
Bottom right : Final

It's made with Processing and [diamond square algoritm] and [Processing].

Here. Gives us your examples, your works! PG is a so big subject to talk about!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Procedural Generation
« Reply #1 on: May 02, 2012, 08:35:16 pm »
I wrote a terrain generation routine a while back in Axe, you can find more info about it Here.  It's pretty simple compared to yours though :P That looks pretty awesome!  I might suggest making the depth-map have a bit more effect, so you get stuff like mountains and valleys and stuff.  You could even do something like what minecraft used to do, and have 2 depth maps, one that is very coarse for large details like mountains and stuff, and a very fine one to give small details like the ground
« Last Edit: May 02, 2012, 08:36:50 pm by Builderboy »

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: Procedural Generation
« Reply #2 on: May 11, 2012, 04:32:43 pm »
As you can see here, my program MC Land has a bit of procedural generation. There are trees, and as you go lower, dirt changes to stone, and different ores appear the deeper you go.