Problem exporting from Blender to Ogre

Hi there!

I’m having some trouble trying to export a Tree model, using sapling, from blender…

There’s a pic of the model I’m trying to export:

First, when I export to ogre, deselecting “Separate materials”, I get the model separate on 2 meshes, “Tree.mesh.xml” and “Leaves.mesh.xml”. Also, when I just convert the “Tree.mesh.xml”, It seems it is along a wrong axis, and I got some errors.

There’s the output I get and a pic:

[java]Unsupported pass directive: alpha_to_coverage
Unsupported pass directive: colour_write
Unsupported pass directive: depth_check
Unsupported pass directive: depth_func
Unsupported pass directive: depth_write
Unsupported pass directive: illumination_stage
Unsupported pass directive: light_clip_planes
Unsupported pass directive: light_scissor
Unsupported pass directive: normalise_normals
Unsupported pass directive: polygon_mode
Unsupported pass directive: scene_blend_op
Unsupported pass directive: shading
Unsupported pass directive: transparent_sorting
Unsupported texture_unit directive: scale
Unsupported texture_unit directive: colour_op
Unsupported pass directive: alpha_to_coverage
Unsupported pass directive: colour_write
Unsupported pass directive: depth_check
Unsupported pass directive: depth_func
Unsupported pass directive: depth_write
Unsupported pass directive: illumination_stage
Unsupported pass directive: light_clip_planes
Unsupported pass directive: light_scissor
Unsupported pass directive: normalise_normals
Unsupported pass directive: polygon_mode
Unsupported pass directive: scene_blend_op
Unsupported pass directive: shading
Unsupported pass directive: transparent_sorting
Unsupported texture_unit directive: scale
Unsupported texture_unit directive: colour_op[/java]

What’s wrong?

Well, the image links are wrong… there are the direct links:

http://s27.postimg.org/gcff7v83n/Captura_de_pantalla_2014_01_09_17_15_16.png
http://s13.postimg.org/i9ckpy0mf/Captura_de_pantalla_2014_01_09_17_05_59.png

have you tried the blender importer instead of going via ogre xml? it reduce the possible amount of errors, due to the more streamlined pipeline.

I just try with the model importer, importing a .blend file… But again, It only loads one part of the model, not the leaves in this case

http://s24.postimg.org/ly5hbk6th/Captura_de_pantalla_2014_01_10_12_20_55.png

It is ok on the importer, but in the SceneComposer:

http://s16.postimg.org/wj1sen8b9/Captura_de_pantalla_2014_01_10_12_22_51.png

Actually, I can see the mesh, but not Its material, and it is UV mapped:

http://s7.postimg.org/qvg1365bv/Captura_de_pantalla_2014_01_10_12_26_04.png

@CarlosMartinez said: I just try with the model importer, importing a .blend file... But again, It only loads one part of the model, not the leaves in this case

http://s24.postimg.org/ly5hbk6th/Captura_de_pantalla_2014_01_10_12_20_55.png

It is ok on the importer, but in the SceneComposer:

http://s16.postimg.org/wj1sen8b9/Captura_de_pantalla_2014_01_10_12_22_51.png

Actually, I can see the mesh, but not Its material, and it is UV mapped:

http://s7.postimg.org/qvg1365bv/Captura_de_pantalla_2014_01_10_12_26_04.png

Have you seen that tutorial by normen? Have you created a material with the texture and then assigned it? :slight_smile: