pumpkin_zch2u
12-12-2008 12:36:05
I use Ofusion to export a basic scene with only one object named stone. The exporter generates a .osm, stone.mesh, and a .material file. I don't use the .osm file. Instead, I copy .mesh and .material file and textures into the "media" folder. In my program I use Entity *ent = pSceneManager->createEntity("stone", "stone.mesh"); to load my stone mesh. the problem is I only get a mesh without material with it. But if i use ninja.mesh, no problems!
in order to check the problem, l load the stone.mesh file in to mesh viewer. I got the correct display. So I don't know what the problem is. I also wanna know what's the difference bettween ninja.mesh and the stone.mesh? why one can have the texture displayed and the other cannot?
ps: I guarantee that all the locations in the resources.cfg are avaliable and correct!
in order to check the problem, l load the stone.mesh file in to mesh viewer. I got the correct display. So I don't know what the problem is. I also wanna know what's the difference bettween ninja.mesh and the stone.mesh? why one can have the texture displayed and the other cannot?
ps: I guarantee that all the locations in the resources.cfg are avaliable and correct!