Heaghtmapping, reading from *.RAW
ok, I have a question, I am learning height mapping, starting with the basic .RAW file read. How does it exactly determine the height of this pixel in space? does it read in the number of "bits" the color(white->shades of gray->black), or what?
EDIT: the reason I am wondering is that all I do is read the file into an array, then read from the array in the height mapping algorithm
P.S. I am finding heightmapping is alot easier than I thought it would be, I had tried it before, but kept messing up on my algorithms.