Problems with release version

alberts

12-09-2006 21:58:35

I downloaded the source code from Tuan's web last week. After building it in both release and debug version I run mapsplitter with no problem.

The demo works perfectly in debug version but when I run it in release version I cannot see any terrain (the default terrain), only blur sky. When I press the "N" key the next map is shown correctly. After that, if I press the "P" key to show the previous map the default map is shown but not correctly. It is shown black, with no texture.

I have copied all the config files in debug directory to release directory and I only changed them to specify the correct name of the PLSM2 plugin (Plugin_PagingLandScapeSceneManager2_d.dll -> Plugin_PagingLandScapeSceneManager2.dll).

Do I need to modify something else when working in release mode?

Thanks in advance and I apologize for my english :)

tuan kuranes

13-09-2006 13:49:08

Strange thing is indeed that it works in debug but not in release...

When I press the "N" key the next map is shown correctl
What are you video card characteristics ?

It is shown black, with no texture.
horizon shadowing may be in night mode, perhaps you'll have to wait a bit for the sunrising.

alberts

14-09-2006 15:48:43

I have tried my application on three machines with the same result: GeForce 9700 GT, GeForce4 MX 440 and an ATI Mobility Radeon 7900.

I've discovered that if I press the "K" key to show the next texture mode the map (the default one) is shown correctly :?

I will try to recompile the pluging when I get at home...

Thanks a lot for your support!!! :D

tuan kuranes

15-09-2006 08:32:57

try commenting
mScnMgr->setOption ("LoadNow", mCurrentCamera);
in demo Framelistener.h to see if it's coming from there.

alberts

15-09-2006 12:52:58

No, that was not the problem :(

It is really strange, because if I keep pressing the "k" key to show the next texture mode until I get to the default mode again (InstantBaseShadowed) the map is shown correctly :shock:

I dont want to give you more work. Dont worry about this. It is not a big problem (at least for me :) ).

Thanks a lot!!