rudvard
14-02-2008 01:56:50
Hi. I want to do with MOGRE Editable Terrain Manager something like this:
But on the "LoadMapFromImage" program crashes and in the log is:
Can you tell me which pixel format I need and which program should I use to convert to it?
...
Mogre.Image image = new Mogre.Image();
image.Load("..\\media\\terrain.png", "General");
splattingManager.LoadMapFromImage(0, image);
...
But on the "LoadMapFromImage" program crashes and in the log is:
...
OGRE EXCEPTION(2:InvalidParametersException): Given image is of invalid pixel format. in CoverageMap::loadFromImage at .\src\ETSplattingManager.cpp (line 178)
...
Can you tell me which pixel format I need and which program should I use to convert to it?