I’m going to do a heightmap with c/openGl. I would like to use sin-functions so that I have full control over the map. Can someone help me?

It would be nice with some sample code…


NeHes lesson 35 is about heightmaps.

NeHe’s lesson 35 is only heightmap done by a picture.

I would like to print a function with sin/cos that my map can follow. How can I do that?

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.