wireframe

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
Zizilamoroso
Posts: 17
Joined: Thu Jan 15, 2004 10:19 am
Location: Brussels
Contact:

wireframe

Post by Zizilamoroso »

I have a custom mesh, wich is half a sphere. There's only a wireframe visible at the moment. Normaly, you should see the outside of the mesh, and also the inside (because it's only half a sphere).
In my app only the outside is painted, not the inside.

I assume this has something to do with culling or clipping. But I explicitely called setAutomaticCulling(FALSE).

How do I have to set up the engine in order to render the whole mesh. I want some sort of see-trhough-wireframe.

Any ideas?
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

automatic culling is whether or not to frustrum cull the entire object, so its not what you wanted.

i dont know if there is a function call to set backface culling or not
a screen cap is worth 0x100000 DWORDS
Zizilamoroso
Posts: 17
Joined: Thu Jan 15, 2004 10:19 am
Location: Brussels
Contact:

Post by Zizilamoroso »

Yes, backface culling, that's it.

Didn't find it in the doc, so I assume it isn't there.
SuryIIID_

Post by SuryIIID_ »

void setMaterialFlag (video::E_MATERIAL_FLAG flag, bool newvalue)
Node->setMaterialFlag(EMF_BACK_FACE_CULLING,false);
Zizilamoroso
Posts: 17
Joined: Thu Jan 15, 2004 10:19 am
Location: Brussels
Contact:

Post by Zizilamoroso »

Now it's 'back_face_culling' :?

Sorry, I did a search on 'backface' instead of 'back_face', and that returned nothing. Tnx SuryIID!
Post Reply