Good news!
I finally got it to work!
I had a lot of problems with my programs compiled with mingw (I do not know if it's the dll or something else... ) and it crashed a lot...
So I found the solution to all my problems!
I switched to VisualC++ toolkit (with relo IDE) !!!
BTW Thanks a LOT for your great tutorial
Now it works perfectly and I can use DirectX
Also I changed in your source the following line:
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );
to:
ISceneNode* node = smgr->addOctTreeSceneNode(mesh->getMesh(0));
And I increased the fps a little bit...
another thing, Nitroman: do you know how to get color lightmaps to work?
I don't exactly understand your question...
If your mean how to create lights with color before compiling your map with lmtools, I don't know exactly for the moment because until now I only used the sample map... I will try to create my own map later... Maybe this info is in the lmtools manuals...
If your question is how to load lmts with color lightmaps, it is supposed to work already... Try to load the sample map, set the position of the camera to (500,150,-300) and it will be in the room at the top of the stairs (you can't reach it otherwise because the door can't open...)
you should see something like this:
LMTools support color lightmaps, so it should work.
