   Terrain Generation
  I am looking for a fractal algorithm that lets me generate specified portions of the terrain at any time. I want it to be something recursive like midpoint displacement, but without requiring that the entire terrain be generated at once. Any Ideas? 
  maybe have a paging system that will procedurally generate terrain as it comes into play, and release it from memory when it moves away. You could assign a seed value to each chunk so that each time it is generated by your algo it will be the same. You could use any algo that you see fit just only develop small chunks at a time. Midpoint displacement would be fine. ;  Well, midpoint diplacement can be used to generate just a part of terrain, (as long as its 2^n X 2^n) if I''m not mistaken... Just treat the new terrain part as a terrain of its own if it helps you picture it.The biggest challenge you''ll encounter doing this is having matching borders tough.  maybe you could have a function that "smooths" the terrain toward the vertices of the adjacents patchbes ;  Well, I have thought about that, but i dont think it would work too well.Imagine if the edge of one patch with a height of 10 is next to the edge of the other with height of -10. Since they are generated independently, something like that could easily happen.I guess one idea i have is to generate the terrain edges using 1 dimensional midpoint displacement, and then generate the rest. but,  then i would want to use all the edge values as input into the algorithm to make sure it ends up smooth.So, I will mess around with something like that. If anyone has any other ideas, Im still listening.Thanks for replies. ;  Take a look at this tutorialhttp://www.lighthouse3d.com/opengl/terrain/It covers several common algorithms. I''m currently using the midpoint displacement for my game (after my selfmade algorithm didn''t produce that beautiful results...) ;  Cone83, you obviously read only the subject, but not my actual problem.Anyway, I have come up with a few methods on how i will generate the terrain patch, starting with input from the border. Im not sure how good they will look, so i will go ahead and implement my ideas and find out if they are any good. 