birmacher
23-10-2007 21:16:54
hy, I'm trying to integrate PLSM2 with ogre 1.4.4
I've successfully created the dlls and the libs. I've created the ( 'PagingLandScapeSceneManager' ) scene manager, and set the world geometry to paginglandscape2.cfg.
After starting the project, I get some lines on the top right corner of the window, but no terrain is visible... I've commented everything out except Caelum is working, but it's the same.
birmacher
24-10-2007 18:11:37
Nobody has an idea what can occur an error like that?
birmacher
24-10-2007 19:23:42
The grid only occurs in the Debug mode, so it's okay, but I'm not able to get the terrain... Tried lot's of things, but no success:(
birmacher
02-11-2007 13:20:29
I've succesfully managed to visualise the terrain:), now I'd downloaded the latest version of Caelum, and if I'm using it with PLSM2's scene manager, than I don't get any skydome, clouds, etc... But after switching back to ST_GENERIC, everything works fine.
Has sb any idea? or do anybody had the same problem before?
birmacher
02-11-2007 14:17:39
maybe you don't have read my last post. I finally get the terrain, now it kills the skybox of the Caelum.
bibiteinfo
02-11-2007 14:24:42
Sorry for that I misread, I don't know what's happening with Caelum.
tuan kuranes
02-11-2007 16:10:24
No idea. Did you try caelum + ogre standard terrain scene manager.
Perhaps you have a renderqueue problem ?
Try disabling CHC octree manager inside PLSM2 to check. (needs very latest CVS PLSM2 and making sure "_PLSM_OCTREE" is not defined.)
birmacher
03-11-2007 11:33:07
It's working with the other scene managers... I've also modified the CaelumPrerequisites.h file's renderqueue's group from:
CAELUM_RENDER_QUEUE_STARFIELD = Ogre::RENDER_QUEUE_SKIES_EARLY + 0,
CAELUM_RENDER_QUEUE_SKYDOME = Ogre::RENDER_QUEUE_SKIES_EARLY + 1,
CAELUM_RENDER_QUEUE_SUN = Ogre::RENDER_QUEUE_SKIES_EARLY + 2,
CAELUM_RENDER_QUEUE_CLOUDS = Ogre::RENDER_QUEUE_SKIES_EARLY + 3,
CAELUM_RENDER_QUEUE_GROUND_FOG = Ogre::RENDER_QUEUE_SKIES_EARLY + 4
to
CAELUM_RENDER_QUEUE_STARFIELD = Ogre::RENDER_QUEUE_SKIES_EARLY + 2,
CAELUM_RENDER_QUEUE_SKYDOME = Ogre::RENDER_QUEUE_SKIES_EARLY + 3,
CAELUM_RENDER_QUEUE_SUN = Ogre::RENDER_QUEUE_SKIES_EARLY + 4,
CAELUM_RENDER_QUEUE_CLOUDS = Ogre::RENDER_QUEUE_SKIES_EARLY + 5,
CAELUM_RENDER_QUEUE_GROUND_FOG = Ogre::RENDER_QUEUE_SKIES_EARLY + 6
because it was displaying everything exept the skydome and the starfield, but no progress... I have the same problem:(
birmacher
03-11-2007 14:11:44
It seems that the scene manager simply culls it out... So I should tell that these entities / nodes cannot be culled. But I don't really know what is the function for that, I even did not found any suitable for that problem... Is there something which could help me?
birmacher
04-11-2007 20:50:10
Got the answer:) You have to change CAMERA_DISTANCE_MODIFIER from 0 to 5 in CaelumPrerequisites.h. Between 0 and 5 there is skydome and starfield, but no clouds.