Unfortunately there is still the problem that the application crashes in special situations when shadows are enabled.
When I enable shadows, the logfile get this entry:
Later when the crash happens, this exception will be written to the logfile:Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
The exception is thrown byOGRE EXCEPTION(3:RenderingAPIException): Error beginning frame :Invalid call in D3D9RenderSystem::_beginFrame at ..\src\OgreD3D9RenderSystem.cpp (line 2686)
Code: Select all
Generally my applications works with shadows.
The crash happens only when the camera is moving. By this it reaches special positions/orientations inside of my scene(s).
When I set this (ramdom?) positions/orientations again, I always get the exception.
Maybe this happens in context to meshes, its shadows and viewport constellation.
Remember - the exception only happens with enabled shadows.
In the forums I searched for spot_shadow_fade.png and also for RenderingAPIException, but found no answer.
Does somebody has an idea?
I use the Mogre wrapper, but I think it's related to the Ogre library.