#### Archived

This topic is now archived and is closed to further replies.

# Planet Surface Generation

This topic is 6153 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi, I want to make a planet surface generator that calculates how the planet''s surface will look depending on the solar system''s x,y coordinate, and it''s orbit number, but I need an algorithm that will generate mountain ranges, and bodies of water... I was thinking I could use a heightmap, but I wouldn''t know how to generate that. Also the east and west sides of the map would need to line up, along with the north and south. It would have to look like a planet''s surface too. Any suggestions on how to do this would be appreciated. Thanks in advance, EAX

##### Share on other sites
Both Hugo Elias and Paul Bourke have done articles on this. Check time out.

##### Share on other sites
The algorithm eco linked is alright, but it doesn''t scale well for high detail and is not good if you want a dynamic lod scheme. If you want high detail or something that will make lod easier you should read this article:

http://www.gamasutra.com/features/20010302/oneil_01.htm

##### Share on other sites
Although i was looking for something a little simpler... more 2D. It doesn't have to be spherical, rectangular will do.
Just something to be able to select a landing spot, land on and explore.

Thanks,

EAX

Edited by - EAX on January 10, 2002 11:56:26 AM

##### Share on other sites
I''ve been thinking about some of the articles linked to above, trying o figure out a way to implement it in a 2d rectangle. Maybe I could just have my rectangular map of whatever size, and instead of cutting a sphere in half, just randomly place a circle on the map, of random size, with any part of the circle falling off of the edge of the map looping to the other side, and raising the land inside the circle and lowing it outside the circle. That way I would think it would give the same effect, but I''m not sure, as it is untested.

I think I will try this method and see if it gives me the results I want, and if it does, it''s the method I''ll use. anyway, thanks for the links everyone!

EAX

##### Share on other sites
Well I tried the method I mentioned above, but it''s slow... very slow.
I''m thinking of using Perlin noise now, but I''m not sure how I''ll get the top of the rectangle to connect smoothly to the bottom and the left and right to do the same.

I would appreciate any suggestions from anyone who has used Perlin noise before and knows what they are doing.

Anyway, thanks,

EAX

1. 1
Rutin
34
2. 2
3. 3
4. 4
5. 5

• 12
• 14
• 9
• 9
• 14
• ### Forum Statistics

• Total Topics
633341
• Total Posts
3011424
• ### Who's Online (See full list)

There are no registered users currently online

×