Runtime problem with the new version

daedar

09-08-2006 11:16:58

Hello,

I've tried the new version of PLSM2 but it crashes when loading the terrain (the previous version worked perfectly), I've got an assertion failed:


OgrePagingLandscapeTexture.cpp (370) : !material.IsNull() && String( mMaterialBaseName + "Must exist in the" + opt->groupName +"group).c_str()


and the debugger stops here (ogrepaginglandscapetexture.cpp line 395):


Material::TechniqueIterator tIt = material->getTechniqueIterator ();


and the log shows nothing wrong, it ends with:


11:47:51: Parsing script Splatting2.material
11:47:51: Parsing script Splatting3.material
11:47:51: Parsing script Splatting4.material
11:47:51: Parsing script Splatting5.material
11:47:51: Parsing script Splatting6.material
11:47:51: Parsing script Splatting7.material
11:47:51: Parsing script SplattingShader.material
11:47:51: Finished parsing scripts for resource group PLSM2
11:47:51: Added resource location 'media/paginglandscape2/terrains/TsmTerrain' of type 'FileSystem' to resource group 'PLSM2'
11:47:51: Initialising resource group PLSM2


This is strange because the previous version works fine. Do I have to run MapSpliter with the new version or the old maps generated wit the previous MapSpliter are compatibles?

Thanks a lot.

Yellow

09-08-2006 21:50:24

sounds you're using the sdk version, these fixes might help:

http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1825

or try the CVS version, that might already have been fixed.

daedar

10-08-2006 08:03:26

Ok I found it it was the TextureFormat in the terrain config file. It seems that you cannot use TextureFormat=Image anymore, I replaced it by TextureFormat=ImagePaging and it works fine. Maybe something like "Portable notes" should be usefull beetween two incompatible versions.

Thank you for your quick answer Yellow.

tuan kuranes

21-08-2006 20:05:15

Maybe something like "Portable notes" should be usefull beetween two incompatible versions.

I intended to do one, but where to put that without adding confusion between version and corressponding portable notes ?

It ended up in changelog :
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=745