Blender Export, No Texture?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
Chris Jones
Lich
Posts: 1742
Joined: Tue Apr 05, 2005 1:11 pm
Location: Gosport, South England
x 1

Blender Export, No Texture?

Post by Chris Jones »

im a programmer and am rubbish at graphics, so ive made a simple box, set its material, unwrapped the box, made the texture and set it, it looks fine in blender

when i export it to Ogre XML, it says its worked fine, there are texture coords in the xml etc, but in the material file, it doesnt have anything about the texture, and when i convert it to .mesh using the mesh viewer it doesnt even use my current material, it creates a basic material for it

i have no idea what ive missed or done wrong, any ideas?
reimpell
OGRE Contributor
OGRE Contributor
Posts: 570
Joined: Mon Mar 01, 2004 10:35 am
Location: Hamburg, Germany

Re: Blender Export, No Texture?

Post by reimpell »

Chris Jones wrote:im a programmer and am rubbish at graphics, so ive made a simple box, set its material, unwrapped the box, made the texture and set it, it looks fine in blender
There are several ways of assigning a texture in Blender. If you just assigned it with the "UV/Image Editor" use the "Game Engine Materials" export option. If you assigned it as image texture, MapInput UV, MapTo Col, be sure that "Game Engine Materials" is unchecked on export. If you assigned it with the "UV/Image Editor" and your mesh has a material in addition and you want the export to look similar to Blender's rendering results, check the "TexFace" material option and be sure that "Game Engine Materials" is unchecked on export. Be sure Ogre finds the texture as well as the material definition.
User avatar
Chris Jones
Lich
Posts: 1742
Joined: Tue Apr 05, 2005 1:11 pm
Location: Gosport, South England
x 1

Post by Chris Jones »

ah thanks!
Post Reply