I'm having a great deal of difficulty doing this.
Basically, I want to load my heightmap into a texture or image - then go through it, pixel by pixel - reading off the colour values, before calculating the height for my mesh.
I've tried doing it with 2d commands, and had no luck. (see the 2d graphics forum !). So now I've deleted that bit of code and starting again. Can any kind soul out there give me some tips ? or even a head start.
Basically, I want to load my heightmap into a texture or image - then go through it, pixel by pixel - reading off the colour values, before calculating the height for my mesh.
I've tried doing it with 2d commands, and had no luck. (see the 2d graphics forum !). So now I've deleted that bit of code and starting again. Can any kind soul out there give me some tips ? or even a head start.