PDA

View Full Version : Heightmaps -- generate from x,y,z, coords...



cutting_crew
11-06-2003, 08:00 AM
i have a file that has data of just depth, for example, here is what my stored data is like in my dataArray:

100 80 40 400 200 220 300

these numbers represent depths and that is it, so that means on my x, y, z coords the y is the only thing changing. i am wanting to know how i turn this "points" if you will into a 3-D heightmap to give a clear view of the depth. afterwards i am going to put a texture over it, but thats for another time. i just need to be able to get this into a heighmap. any recent links or code anyone would be willing to share? thanks!

Catman
11-06-2003, 12:39 PM
Try these tutorials: http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=34 http://www.gametutorials.com/Tutorials/opengl/OpenGL_Pg4.htm

cutting_crew
11-06-2003, 01:02 PM
thanks a lot i will take a look at that!