Page 1 of 1

how to make model inside out?

Posted: Mon Jan 15, 2007 4:27 pm
by sunnygraphy
Hi..

Is there any way to change face normals of nodes at runtime?
So, I can hide scene node without using setvisilbe() function.


thanks

Posted: Mon Jan 15, 2007 5:44 pm
by Acki
Yes, there is the function flipSurfaces(mesh) !!!
But it won't do what you want to do !!!
If you flip the surfaces the mesh is still visible, you just look inside it...

Posted: Mon Jan 15, 2007 6:10 pm
by Coolkat88
Acki, if the faces on the inside of the model were removed then wouldn't this still work? never tried it but i would think so.

Posted: Mon Jan 15, 2007 7:03 pm
by vitek
If you flip the normals, you will see the inside of the far side of the model. If the model is a sphere you would normally see the outside of the sphere. If you flip the normals, it will look like you cut the ball in half and threw away the near hemisphere. You will see the inside of the far half of that sphere. I would guess that this is probably not what you want.

Travis

Posted: Mon Jan 15, 2007 7:15 pm
by Acki
Coolkat88 wrote:Acki, if the faces on the inside of the model were removed then wouldn't this still work? never tried it but i would think so.
No, because you don't remove the faces, but you flip them, so they don't face to the "outside" but to the "inside" !!!