Code: Select all
IImage* heightMap = driver->createImageFromFile("heightmap.bmp");
video::SColor c = heightMap->getPixel(421,231);
Code: Select all
IImage* heightMap = driver->createImageFromFile("heightmap.bmp");
video::SColor c = heightMap->getPixel(421,231);