Python Forum
creating terrain without noise or seed?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating terrain without noise or seed?
#1
i have learned many terrain generation algorithm,but i cant wrap head around even one of them.
i dont use perlin noise,simplex noise because the gradient interpolation/lerp part of the algorithm is a bit too hard for me.
is there a easier 3d terrain generation (more or less like voronoi diagram generation algorithm,but a bit easier)but does not require seed/noise and gradient interpolation?
i have actually already created my own algorithm for terrain generation,but i dont think mine can generate mountain (main problem),biome (can but harder)and may contain unintentional floating block.

pseudocode:
loop through y space
       loop through x space
              loop through z space
              if z is 0
                 draw bedrock at x y z
              if z is 1 to 16
                 generate random number from 0 to 10
                 if random number is 0 to 9
                 draw stone at x y z
                 if random number is 10
                 draw diamond ore at x y z
              if z is ....
                  blabla
i can generate tunnel too by first choosing a random spot in a world and work it's way from there using more or less the same algorithm than the above. Doh Think Pray
Reply
#2
The Diamond-Square algorithm is a simple way to generate a random terrain. You might do a web search on that.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
(Jan-24-2017, 10:31 PM)ichabod801 Wrote: The Diamond-Square algorithm is a simple way to generate a random terrain. You might do a web search on that.

Can it be used to generate 3d terrain like minecraft?
I don't think so.
Reply
#4
(Jan-25-2017, 09:15 AM)hsunteik Wrote: Can it be used to generate 3d terrain like minecraft?
I don't think so.

If you don't think so, then I don't think you did a web search on it, and I don't think you read up on it.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  selflearning AI (seed AI)? Efe454 1 1,640 Jan-03-2021, 10:50 PM
Last Post: Larz60+
Photo Locate Noise floor level for a spectral data in Python Ranjan_Pal 1 2,992 Dec-19-2020, 10:04 AM
Last Post: Larz60+
  Modulate brown noise in python pyxel 2 4,689 Mar-28-2018, 08:15 PM
Last Post: pyxel
  Why is voxel generated terrain looks better? hsunteik 1 3,178 Apr-13-2017, 11:28 AM
Last Post: SpeedyZapGaming
  voronoi vs perlin noise? hsunteik 1 3,917 Jan-22-2017, 04:34 AM
Last Post: micseydel
  how to draw terrain like minecraft in python using opengl with perlin noise value? hsunteik 0 5,450 Jan-21-2017, 11:45 AM
Last Post: hsunteik
  what should i do after generating the perlin noise value? hsunteik 8 6,639 Jan-21-2017, 10:02 AM
Last Post: hsunteik

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020