Purrpledone
19-03-2007 00:02:09
Hi all,
I've compiled the plsm2 demo from CVS.... but I don't think it's working as expected
My problems:
- When using the TSM terrain, the demo loads, I see the sky, and the name of the map is shown, but I see no terrain. The keyboard also doesn't seem to do anything - even ESC doesn't exit, I have to use ALT-F4. I don't see anything in the logs that points to an error.
- When using the Alps terrain, I get the same as the TSM terrain. However, the log says it cannot find files alpes.0.0.png, alpes.2.0.png, etc. I ran the splitter with no errors, and indeed I don't see those files in the Alpes folder - all I have are alpes.0.0.raw, alpes.Alpha.0.0.0.png, alpes.Base.0.0.png, alpes.Coverage.0.0.0.png, alpes.Light.0.0.png, alpes.Small.png, etc. No "alpes.0.0.png" anywhere.
- For other terrains, the demo just loads to a black screen, and exits after a few seconds... with no error that I can see (in the logs or elsewhere).
What I've done so far (that I can remember ):
- Successfully compiled Ogre from CVS HEAD using Visual C++ 2005 and the appropriate project file - the demos run and work properly.
- Successfully (? - no errors in the end, anyway) compiled PLSM2 from CVS HEAD with the plsm2_vc8_CVS project.
- I put ogrenew and ogreaddons\paginglandscape in the same folder. Visual C++ seems happy with the paths, since it moved all the PLSM2 executables to ogrenew\Samples\Common\bin\Debug, which is where I'm running them from
- Downloaded and unzipped datasrc.zip to ogreaddons\paginglandscape\Samples\Media\paginglandscape2\datasrcs
- Edited ogreaddons\paginglandscape\Samples\Media\paginglandscape2\paginglandscape2.cfg to set the DefaultMap and uncomment the lines for the terrains in datasrc.zip
- Same for ogreaddons\paginglandscape\Samples\Media\paginglandscape2\maptool.cfg
- Run ogrenew\Samples\Common\bin\Debug\MapSplitterD.exe, which seemed to happily create subfolders and files under ogreaddons\paginglandscape\Samples\Media\paginglandscape2\terrains, with no errors. I don't know what exactly to look for, but each terrain now has a subfolder with lots of .png files in it - which looks OK to me!
- edited ogrenew\Samples\Common\bin\Debug\resources_plsm2.cfg to add a new resource group called "PLSM2" and all the folders under \ogreaddons\paginglandscape\Samples\Media\paginglandscape2 (including the terrain folders created by the splitter)
- run ogrenew\Samples\Common\bin\Debug\Demo_PagingLandScape2.exe and scratch my head at the results
I'm out of ideas, I feel like I've gone through every page in the wiki several times, can't find any other info on the forum, and I would really appreciate any help!
This is my paginglandscape2.cfg and plsm2.log when trying to run with Terrain_Scene_Manager_Terrain. Please let me know if any other information would be helpful.
And plsm2.log:
I've compiled the plsm2 demo from CVS.... but I don't think it's working as expected
My problems:
- When using the TSM terrain, the demo loads, I see the sky, and the name of the map is shown, but I see no terrain. The keyboard also doesn't seem to do anything - even ESC doesn't exit, I have to use ALT-F4. I don't see anything in the logs that points to an error.
- When using the Alps terrain, I get the same as the TSM terrain. However, the log says it cannot find files alpes.0.0.png, alpes.2.0.png, etc. I ran the splitter with no errors, and indeed I don't see those files in the Alpes folder - all I have are alpes.0.0.raw, alpes.Alpha.0.0.0.png, alpes.Base.0.0.png, alpes.Coverage.0.0.0.png, alpes.Light.0.0.png, alpes.Small.png, etc. No "alpes.0.0.png" anywhere.
- For other terrains, the demo just loads to a black screen, and exits after a few seconds... with no error that I can see (in the logs or elsewhere).
What I've done so far (that I can remember ):
- Successfully compiled Ogre from CVS HEAD using Visual C++ 2005 and the appropriate project file - the demos run and work properly.
- Successfully (? - no errors in the end, anyway) compiled PLSM2 from CVS HEAD with the plsm2_vc8_CVS project.
- I put ogrenew and ogreaddons\paginglandscape in the same folder. Visual C++ seems happy with the paths, since it moved all the PLSM2 executables to ogrenew\Samples\Common\bin\Debug, which is where I'm running them from
- Downloaded and unzipped datasrc.zip to ogreaddons\paginglandscape\Samples\Media\paginglandscape2\datasrcs
- Edited ogreaddons\paginglandscape\Samples\Media\paginglandscape2\paginglandscape2.cfg to set the DefaultMap and uncomment the lines for the terrains in datasrc.zip
- Same for ogreaddons\paginglandscape\Samples\Media\paginglandscape2\maptool.cfg
- Run ogrenew\Samples\Common\bin\Debug\MapSplitterD.exe, which seemed to happily create subfolders and files under ogreaddons\paginglandscape\Samples\Media\paginglandscape2\terrains, with no errors. I don't know what exactly to look for, but each terrain now has a subfolder with lots of .png files in it - which looks OK to me!
- edited ogrenew\Samples\Common\bin\Debug\resources_plsm2.cfg to add a new resource group called "PLSM2" and all the folders under \ogreaddons\paginglandscape\Samples\Media\paginglandscape2 (including the terrain folders created by the splitter)
- run ogrenew\Samples\Common\bin\Debug\Demo_PagingLandScape2.exe and scratch my head at the results
I'm out of ideas, I feel like I've gone through every page in the wiki several times, can't find any other info on the forum, and I would really appreciate any help!
This is my paginglandscape2.cfg and plsm2.log when trying to run with Terrain_Scene_Manager_Terrain. Please let me know if any other information would be helpful.
DefaultMap=Terrain_Scene_Manager_Terrain
Alpes=Alpes
Terrain_Scene_Manager_Terrain=TsmTerrain
hf=hf_129_3
# need to download datasrc.zip from http://tuan.kuranes.free.fr/ogre.html for those
puget_sound=ps_height_1k
grand_canyon=gcanyon_height_4k2k
terragen_genrated=terragen16bits
#NewWorld2=NewWorld2
#alfons_1k=alfons_1k
#startingIsland=startingIsland
# resource group name where to find map definition
GroupName=PLSM2
# Try forbidden textureformat combinations
TextureFormatDebug=no
And plsm2.log:
(long irrelevant log deleted)