Is there any problem with OSM loader?

shaill

18-05-2008 14:36:49

Hi All,I have some problems..
My situation is that:
I have finished the basic shadow mapping on my own shader code.
And I wrote 2 versions program that use the shader code.

The first one is used the standard Ogre SDK. I construct a ground mesh(to be shadow receiver) using Ogre::MeshManager and a occluder (to be shadow caster) loaded from a mesh file.
After some shadow setting and applying my shader code, the result is normal.

The second one is use oFusion scene loader to load my scene file.
The scene is successfully loading. But the shadow is gone. This is strange.
Because all the settings are the same with the first one. Why??

I guess that maybe the scene loader is something wrong??
Or there is newer version loader??
Because my loader is downloaded from oFusion official site .
And the version is relased from 2006...

Would u give me some suggestions?
Thanks in advance.!!

Lioric

20-05-2008 00:16:10

Could you provide more details on your issue, the scene being loaded creates and manages the scene manager and the shadow settings automatically? or are you passing your previously created scene manager to the loader (adding to the current scene)?

Are the shadows settings correctly set up in the scene before it is exported? (scene shadow settings, object's shadow caster property, object's shadow receiver property)

If possible, post the relevant portions of your application and i will review it