Page 1 of 1

wireframe

Posted: Tue Jan 20, 2004 10:04 am
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?

Posted: Tue Jan 20, 2004 3:01 pm
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

Posted: Tue Jan 20, 2004 4:04 pm
by Zizilamoroso
Yes, backface culling, that's it.

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

Posted: Tue Jan 20, 2004 4:53 pm
by SuryIIID_
void setMaterialFlag (video::E_MATERIAL_FLAG flag, bool newvalue)
Node->setMaterialFlag(EMF_BACK_FACE_CULLING,false);

Posted: Tue Jan 20, 2004 5:07 pm
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!