Skip to main content
gamedev.net
🔒 Locked

terrain engine randomizing

Started by omegasyphon Dec 11, 2001 at 11:17 PM 1 replies 400+ views
Original Post
omegasyphon
omegasyphon
how would i create an algorithm that generates a farely convincing terrain landscape that is not all choppy with 1 pass currently all i do is rand()%5+1 and break that up into a switch and then do more randoms for certain cases but its still looks pretty choppy. im just wondering if this can be done without multiple passes
GameCat
GameCat
Use 2d-perlin noise as a basis for your heightmap. Check out this link for an explanation of perlin noise.
GalaxyQuest
GalaxyQuest
"fractal terrains"
"fractal terrain generation"
"terrain generation"
"realistic terrain generation"
...

do a search on google, will list plenty o links, and check out flipcode website, lots are into this at that site.

Practically everone into graphics at college do this as a project one time or another, so plenty of info is out there, just search for it.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.