Skip to main content
GameDev.net gamedev.net
🔒 Locked

Height Maps?

Started by Bob Dole Nov 22, 2004 at 8:39 PM 0 replies 550+ views
Original Post
Bob Dole
Bob Dole
I know i sound noobish but I remember seeing some free code on generation 3d terrain from height maps. Im not sure what the technical name is but you have 2 (2d) bmps, one of them shows elevation and the other shows the actual color. Using these two data, there is some alogorithm that generates 3d points. Is there any code i can see? Any links?
Ainokea
Ainokea
nehe has a tutorial that explains it if you know opengl.
And here is one that is non api specific.
______________With the flesh of a cow.
Ainokea
Ainokea
Sorry the 2nd one is opengl specific, but that shouldnt matter because its the theory that counts and it shouldnt be that hard to port it to directX.

[Edited by - Ainokea on November 23, 2004 12:04:39 AM]
______________With the flesh of a cow.

Topic Locked

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

Sign in to reply to this topic.