Terrain question

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
napeHeK
Posts: 4
Joined: Thu Sep 23, 2010 7:09 pm

Terrain question

Post by napeHeK »

How can create a terrain from the height's array (unsigned char *)?

Agreed...

Code: Select all

IReadFile *map = device->getFileSystem()->createMemoryReadFile(data, 65536 * sizeof(unsigned char), "heightmap");
//...
terrainSceneNode->loadHeightMapRAW(map);
Post Reply