Original Post
I want to create a terrain by reading a gray scale bitmap. But how can I access the color of each pixel in the bitmap?
I am using MFC, so I tried CBitmap::GetBitmapBits(DWORD dwCount, LPVOID lpBits), but it doesn''t seem to work...
_______________________________________________________
"In C we had to code our own bugs. In C++ we can inherit them."