SOLVED: Blender/Irrb Texture problem

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
MrBigBrain
Posts: 5
Joined: Fri Jul 06, 2007 10:50 pm

SOLVED: Blender/Irrb Texture problem

Post by MrBigBrain »

Hi,
I've got a problem with texturing. I'm using Blender and the irrb Exporter.
If i export a model from blender and load it into irrEdit, or try to show it with Irrlicht the Mesh hasn't any texture on it.
If I add a texture in irrEdit to my Mesh (a simple Cube ) the cube is just black.
This is also the case, if I add a light into the scene.
The same happens with my simple program.
It's just loading the model and displays it. If I to load the standard faerie.md2 mesh there isn't a problem.
But if I try to load my blender/irrEdit exported .irrmesh Files they don't have any texture on them.

Code: Select all

fairy->setMaterialTexture(0, driver->getTexture("media/c.png"));
The code above doesn't solve the problem, either.
EMF_LIGHTING is also on false.

Is there someone, who knows whats the problem? Thanks in advance. :D

EDIT: I tried it the whole day. Then I posted my question, and know I've figured it out. :roll:
I had to "planar map mesh" my mesh in irrEdit. Now it works. ;)
Post Reply