the insides of my models dont appear

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
esaptonor

the insides of my models dont appear

Post by esaptonor »

this is probably the most basic question to answer (i hope) but i am brand new to irrlicht and 3D modelling, and when i load something i drew (in anim8or) it appears fine, but the insides dont appear, and when you go inside it, say its a room, then i cant see any of it at all, it all disapears.

can anyone help me here?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Only the front faces of polygons are rendered by default.

There are two solutions to your problem. You could disable backface culling or put polys on the inside of the wall that have normals facing the inside.

Travis
iam13013
Posts: 31
Joined: Sun Dec 04, 2005 11:06 pm

Flipping Normals in Anim8or

Post by iam13013 »

To do what vitek suggested using Anim8or, select the room then go to
Edit -> Flip Normals
That will make the outside of the room invisible, but the inside will work like you want it to.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Code: Select all

node->setMaterialFlag(video::EMF_BACK_FACE_CULLING,false); 
esaptonor

Post by esaptonor »

thanks heaps! that really helps!

and its not a hard solution either, pefect for me!

thankyou!
Post Reply