problem with mapsplitter under linux

tdev

12-05-2008 17:27:17

got everything to compile, but i have the problem that the mapsplitter refuses to work in any way. Its output:


...
Creating resource group PLSM2
Added resource location 'data/paginglandscape2' of type 'FileSystem' to resource group 'PLSM2'
Added resource location 'data/paginglandscape2/models' of type 'FileSystem' to resource group 'PLSM2'
Added resource location 'data/paginglandscape2/materials' of type 'FileSystem' to resource group 'PLSM2'
Added resource location 'data/paginglandscape2/materials/textures' of type 'FileSystem' to resource group 'PLSM2'
Added resource location 'data/paginglandscape2/datasrcs' of type 'FileSystem' to resource group 'PLSM2'
Added resource location 'data/paginglandscape2/terrains' of type 'FileSystem' to resource group 'PLSM2'
Creating resource group Packs
Added resource location 'packs' of type 'FileSystem' to resource group 'Packs'
Initialising resource group PLSM2
Parsing scripts for resource group PLSM2
Finished parsing scripts for resource group PLSM2
Initialising resource group PLSM2
Infinitizing.
plsm_mapsplitter.bin: plsm/Tools/MapSplitter/src/MapSplitter.cpp:205: void Ogre::MapSplitter::SplitAndSpaceHeightData(const Ogre::String&, Ogre::Real*, Ogre::uint, Ogre::uint, int, int): Assertion `Heightdata[i] * divider <= 65535' failed.
Aborted


additionally i get some strange problem when ogre loads the included materials:

Added resource location 'packs' of type 'FileSystem' to resource group 'Packs'
Initialising resource group PLSM2
Parsing scripts for resource group PLSM2
Parsing script DecompressSplatShader.program

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5dcc6f0 (LWP 2724)]
Ogre::GpuProgram::isRequiredCapabilitiesSupported (this=0x83680e8) at ../../OgreMain/include/OgreRenderSystem.h:958
958 const RenderSystemCapabilities* getCapabilities(void) const { return mCapabilities; }
(gdb)


thanks for any help!

Thorinos

13-05-2008 15:12:13

This part bring my attention in your MaSplitter.log. Assertion `Heightdata * divider <= 65535' failed.

I think your heightmap file doesn't respect 2^n + 1 by 2^m + 1. (n and m need to be natural numbers).

For example, n = 11 and m = 13. This heightmap file size would be 2^11 + 1 by 2^13+1 so 2049x8193.

tdev

14-05-2008 11:30:52

This part bring my attention in your MaSplitter.log. Assertion `Heightdata * divider <= 65535' failed.

I think your heightmap file doesn't respect 2^n + 1 by 2^m + 1. (n and m need to be natural numbers).

For example, n = 11 and m = 13. This heightmap file size would be 2^11 + 1 by 2^13+1 so 2049x8193.

i am using to original "European Alpes" data from the demo :/