Can someone please tell me how i can load a greyscale bitmap and use it for a heightmap.
Heres what i know:
I can either ignore the header or use some of the information, like the width and height of the imgae
If its greyscale i dont have to load rgb but can load just the r/g or b.
I can use seek to go to different areas of the file
But i dont actually know how to do all this in C, can someone please either show me or point me to somewhere where i can see this working, please. Pref a tutorial or explanation of the code so i can write my own.