export X from Blender 2.49 light problem

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
pera
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia
Contact:

export X from Blender 2.49 light problem

Post by pera »

I export simple textured cube from blender 2.49 to X format.
in irrlicht when light node is active, cube lighting is too bright, like bloom effect.

Image

normals are ok, I set material diffuse and specular properties to 0.5, that worked before, but now I noticed something odd in X file, there is like TWO materials listed, one with my material values (Material), and other with texture (Mat1):

MeshMaterialList {
2;
6;
1,
1,
1,
1,
1,
1;;
Material Material {
0.482051; 0.494280; 0.482051;1.0;;
0.500000;
0.535306; 0.523077; 0.510848;;
0.0; 0.0; 0.0;;
} //End of Material
Material Mat1 {
1.0; 1.0; 1.0; 1.0;;
1.0;
1.0; 1.0; 1.0;;
0.0; 0.0; 0.0;;
TextureFilename { "ywf.jpg"; }
} // End of Material
} //End of MeshMaterialList

This other material that has texture has all values 1 - which makes the cube too bright.
Here are my blender settings, I see Material and Mat 1 there listed, but don't know why they are separete material?

Image

Does anyone know how this happens, how to fix it?
ACE247
Posts: 704
Joined: Tue Mar 16, 2010 12:31 am

Re: export X from Blender 2.49 light problem

Post by ACE247 »

Try using a new version of Blender, I don't get this with version 2.6X+
pera
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia
Contact:

Re: export X from Blender 2.49 light problem

Post by pera »

thanks, i'll try that :)

edit: yup, 2.6 works ok. I still think there must be some setting im missing in blend 2.49...
Post Reply