CaseyB
15-02-2006 21:39:12
I have been digging through the PLSM Demo and there is a LOT there. Does anyone have a really basic example? I mean just like one terrain and movement?
CaseyB
15-02-2006 21:39:12
tuan kuranes
16-02-2006 09:19:13
SuperMegaMau
16-02-2006 14:56:14
try to modify Demo_Terrain from Ogre, making it using PLSM2 instead of TSM.
It should work out of the box.
CaseyB
16-02-2006 16:08:41
CaseyB
16-02-2006 17:02:20
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::load
Description: You need to define a GroupName where to find the map definition file .
File: ..\src\OgrePagingLandScapeOptions.cpp
Line: 273
Stack unwinding: <<beginning of stack>>
tuan kuranes
16-02-2006 17:08:57
setWorldGeometry("paginglandscape2.cfg").
CaseyB
16-02-2006 17:59:22
CaseyB
17-02-2006 19:10:34
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::load
Description: You need to define a DefaultMap= .
File: ..\src\OgrePagingLandScapeOptions.cpp
Line: 304
Stack unwinding: <<beginning of stack>>
tuan kuranes
17-02-2006 19:12:08
CaseyB
17-02-2006 19:15:19
DefaultMap=Terrain_Scene_Manager_Terrain
puget_sound=ps_height_1k
#grand_canyon=gcanyon_height_4k2k
#terragen_generated=terragen16bits
#European_Alpes=Alpes
Terrain_Scene_Manager_Terrain=TsmTerrain
def=Default
# resource group name where to find map definition
GroupName=PLSM2
# Try forbidden textureformat combinations
TextureFormatDebug=no
[PLSM2]
FileSystem=../Media/paginglandscape2
FileSystem=../Media/paginglandscape2/models
FileSystem=../Media/paginglandscape2/materials
FileSystem=../Media/paginglandscape2/materials/scripts
FileSystem=../Media/paginglandscape2/materials/textures
FileSystem=../Media/paginglandscape2/materials/programs
FileSystem=../Media/paginglandscape2/datasrcs
FileSystem=../Media/paginglandscape2/terrains
Plugin=Plugin_PagingLandScapeSceneManager2
tuan kuranes
17-02-2006 19:35:04
CaseyB
17-02-2006 21:12:46
CaseyB
22-02-2006 16:39:09
void PagingLandScapeSceneManager::_updateSceneGraph(Camera * cam)
{
// entry into here could come before setWorldGeometry
// got called which could be disastrous
// so check for init
--->assert(mPageManager);
if (isRenderQueueToBeProcessed(mPageManager->getPageRenderQueue()))
{
tuan kuranes
22-02-2006 16:51:33
CaseyB
22-02-2006 16:57:25