Why do I see the inside of the cube instead of the outside

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
yossi1981
Posts: 3
Joined: Sat May 02, 2009 9:44 pm

Why do I see the inside of the cube instead of the outside

Post by yossi1981 »

I build a simple cube mesh and applied UV textures to it. It was done in blender. I exported the cube to "3ds" format and then loaded it with the irrlicht engine (with some textured I have) . The problem is that I see the cube , but instead of seeing its faces from the outside I see the faces like I am looking from the inside.

My camera is definitely outside the cube so its not a problem with the camera location.

Help anyone?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You exported with wrong handedness, Irrlicht is left-handed y-up. Also make sure to have proper normals in your modeller, and export them properly. And while you're at it, choose a different model format, 3ds is quite bad.
marrabld
Posts: 37
Joined: Wed Jul 11, 2007 9:16 am

Post by marrabld »

What model format would you suggest to export from blender as?
devsh
Competition winner
Posts: 2057
Joined: Tue Dec 09, 2008 6:00 pm
Location: UK
Contact:

Post by devsh »

front face culling = OFF
back face culling = ON

or the other way round if still wrong
Post Reply