blender to irrlicht (.x), looks like textured from 'inside'

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
jacky
Posts: 13
Joined: Wed Oct 04, 2006 7:08 pm

blender to irrlicht (.x), looks like textured from 'inside'

Post by jacky »

Hello Folks

Im trying to bring a simple box with 2 different textures from blender into irrlicht.

my problem is that the texture looks strange in irrlicht, it is textured from 'inside' in irrlicht, but in blender and mesh viewer its textured from outside!
i want irrlicht to show it texturd from outside like a normal simple cube :<

anybody knows how to avoid this problem? anyone knows a good way to UV map my box so it is displayed right in blender AND irrlicht ?

here is a image to show you what i mean:

Image
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

A simple fix would be to use the MeshManipulator to flip the surfaces of the model in irrlicht, though i don't know why it's not displaying right.
Image Image Image
jacky
Posts: 13
Joined: Wed Oct 04, 2006 7:08 pm

Post by jacky »

Thank you, that fix works fine for me :>

If someone knows a better solution, please tell me though.

And btw. i found that md2 files seem to be displayed corretly, while 3ds-files are not displayed correctly o.O strange.
KG
Posts: 35
Joined: Wed Jun 07, 2006 12:00 am

Post by KG »

MS3D models still have flipped textures and geometry. I found a really old post that explains how to fix it by flipping a few things, but I'm just amazed that it hasn't been fixed yet.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

.ms3d files have always been fine for me. Though my hand coded .x files have sometimes been a bit iffy i think, probably what you get from hand coding! :lol:

Notepad = best modelling program ever xD
Image Image Image
Post Reply