Page 1 of 1

Help! My texture is messed up and I can't fix it!

Posted: Thu Oct 27, 2005 5:17 pm
by dhenton9000
Here is a picture of a md2 mesh that has some wierd black lines going thru it. It is fine in the Irrlicht mesh viewer. Its from the md2 export of milkshape. If exported as .x from blender, its the same problem If I don't load the texture, I get a white box with black bands on it.

Its an animated mesh scene node,

It happens in OPEN_GL and DIRECTX 8 and 9

Any body seen this before?
Any body know what to do about it?

I'm wondering if I haven't overflowed something and stomped on a buffer somewhere.

TIA


Image

Posted: Thu Oct 27, 2005 6:10 pm
by omaremad
Nice cartoon effect on the gun and level

I think 2 things

-z buffer due to zigzags
and the more likely one

Xmesh file produce really weird shadows try adjusting the shadow and stencil buffer options

Posted: Thu Oct 27, 2005 6:12 pm
by omaremad
remeber to recalculate normals in the blender exporter

Posted: Thu Oct 27, 2005 6:28 pm
by Ishtm
Hi,
I think 3 things:

1- If the model is lightmaped
May be the second Uv's is set wrong.

2- http://irrlicht.sourceforge.net/phpBB2/ ... php?t=8075

3- Have you the same model loaded two times and one of them don't
materialize so it get black?

P.D
thanks for you aproach to Newton Character Controller :)

Posted: Thu Oct 27, 2005 6:53 pm
by dhenton9000
I love you Dudes!

It was both a z-buffer and stupid programmer problem!!

It was loaded twice, once as a static node and once as an animation. Now if I can just grow my hair back....


Thanks!!!