problem with texture

hinzabo

11-03-2007 15:16:40

hi,
i want to export a box with material but i found problem when i do that

after i export the box with oFusion and i checked the option "copy texture",
when i open the file .mesh i see it haven't material (box white)

the file oExporter:
12:51:17: == Exporting Objects ==
12:51:17: Exporting Object: Box01
12:51:17: Object has 1 texture sets
12:51:17: Compiling material floor
12:51:17: New texture unit floor09.jpg
12:51:17: Mesh: Box01_mesh.... done
12:51:17: Exporting Object: Spot01.Target
12:51:17: Exporting Object: Spot02.Target
12:51:17:
== Exporting Materials ==
12:51:17: floor
12:51:17: 1 material(s) exported to test.material

Lioric

12-03-2007 22:19:27

The copy texture option will copy the texture image files that your object/materials uses to the desired location (or where the meshes are being exported)

The .material files is what contains the material definitions

Is the test.material file in the resource path of your application?

Post your ogre.log file, it will show why your material is not being loaded

hinzabo

14-03-2007 23:31:19

thanks Lioric

i didn't check the materials checkbox, now my object is perfectely exported to ogre thanks.