Page 1 of 1

Models With Textures

Posted: Fri Mar 06, 2009 7:41 pm
by ashwin.lele
This must be a very simple question but i don't understand it
I loaded a model which is textured
http://img12.imageshack.us/img12/5513/problem2s.th.jpg
The texturing appears inside out
What am i doing wrong
Is it something to do with clipping or texture mapping
It looks fine in blender and 3D Studio Max

Posted: Fri Mar 06, 2009 7:43 pm
by bitplane
Your model is inside out, scale it by -1 in any direction

Posted: Fri Mar 06, 2009 7:48 pm
by ashwin.lele
Thanks a ton Mr Bitplane

However there is lot of flickering,and triangles popping in n out.
Also i checked in Meshviewer and there it looks fine

So is there some clipping business or something

Posted: Fri Mar 06, 2009 8:02 pm
by bitplane
Have you got a larger image?

Posted: Fri Mar 06, 2009 9:08 pm
by Eigen
Image

Posted: Fri Mar 06, 2009 9:10 pm
by bitplane
Yeah it looks like it's just showing the back faces, but your modelling software shows both sides. You've probably modelled it inside out.

What mesh format are you using?

Posted: Sat Mar 07, 2009 2:55 am
by skumar
What about the normals...

i feel like the normals are flipped


try try to undo that flipping...or reflip it to correct it....


Just my doubt only... :(

Posted: Sat Mar 07, 2009 8:14 am
by monchito
I got the same problem once. :x
Some parts looked insideout, can see sections from opposing walls
Tried everything, different formats, flip normals, etc..the last resort was when changed my alpha, 32bit textures to no alpha, 24bit textures in the modeler.. and guess what!!! :D
I hope this can be helpful

Posted: Sat Mar 07, 2009 11:48 am
by shadowslair
Just select all the faces from your modelling program and flip the normals.

You can also set BackfaceCulling from Irrlicht to "false", but this is not very good solution, since if you have a high poly mesh you`ll waste lots of calculations for non-visible faces...

Posted: Sat Mar 07, 2009 3:05 pm
by skumar
try loading it in irrEdit....there you can test with everything....


And if you can do please upload your mesh and textures , so that we can test to find the exact solution....

Posted: Sat Mar 07, 2009 4:04 pm
by Katsankat
If it looks ok in Max, flipping normals won't help.
Weld all vertices together. Then try resetXForm in max.