quote:Original post by Anonymous Poster
width /= width;
height /= height;
depth /= depth;
HAHAHAHAHAHAHA
YOU are right!!!!
I didn''t see it... ( I think I am blind )
should be
width /= 2.0f;
height /= 2.0f;
depth /= 2.0f;
Thanks...
;-)
quote:Original post by Anonymous Poster
width /= width;
height /= height;
depth /= depth;
Back Square Front Square0----1 4----5| | | |2----3 6----7
quote:
If we say that this is the front of the square, then we would use these indices to create that effect: 013, 032 or whatever order you prefer, as long as they are being wound clockwise. However, to make this the backface, you would use the winding: 102, 231. Now you would not see the polygon, as you are removing backfaces by using backface culling. I hope this is enough to help you figure out your question. If you are confused, feel free to inquire some more!