maxwave
31-03-2006 18:13:18
Hello all! I download PLSM2 and compile and run Demo. That's allright. But I do not know that to me to do further. I want in my program simply to load Terrain use PLSM2. What I should for this purpose make? Or give me please Tutorials about it.
CaseyB
31-03-2006 18:19:57
You will need 3 things. You will need a cfg file that points to the terrain to load. In the demos this is the paginglandscape2.cfg. So you can modify this to point to your own terrain. Then you will need the terrain cfg. This tells how to load the terrain. In the samples there are several of these. The one that I started with is the TsmTerrain.cfg. You can tweak that to load your stuff how you want it to load. Finally you'll need the heightmap data. These are the grayscale images that show what the terrain actully looks like. Once you have all this in place you just need to select the PagingLandscapeSceneManager and call mSceneMgr->setWorldGeometry(Ogre::String("paginglandscape2.cfg"));
CaseyB
04-04-2006 18:27:02
Happy to help! I had a lot of trouble getting started with this too!