[SOLVED] Terrain doesn't show up

weirdBoy

16-08-2007 16:10:10

Hello!
I'm trying to use the PLSM2 inside my application.

I created a 1025x1025 heightmap and a 1024x1024 colormap. The heightmap is completely black at the moment (i think the terrain should be a huge plane now, shouldn't it?) and the colormap is completely green.

I run the MapSplitter and everything runs fine. I have 4 heightmaps and 4 colormaps now. Each 513 (heightmap) and 512 (colormap) pixel in size.

I am not generating a lightmap because I use ImagePaging as the only TextureFormat.

In my code I initialize Ogre and select the PLSM. It loads perfectly clean. But when it comes to displaying my terrain and my character mesh I see nothing.

Except this at the top of my window:


In the console I get some output like "Depth placement 3" or "child created" but i think this has just something to do with the OcTree getting filled.

Edit: I tried to use my generated landscape together with the binary demo of PLSM2. It worked like I expected it. But I still couldn't get it to work within my application.

Do you have any tips I could try?

Help would be much appreciated :)

Best regards,
weirdBoy

weirdBoy

19-08-2007 16:33:05

Okay... I managed to solve this problem on my own. After a lot of trying I changed the loading-order of the used resources. So it seems this wasn't a PLSM-related problem.

Best regards,
weirdBoy