PDA

View Full Version : about edge flag



zydgyy
12-26-2011, 12:23 AM
If i specify the edge flags of a mesh,would it get a more efficiency to GPU or just visibility-well?

V-man
12-26-2011, 03:07 AM
what is visibility-well? I guess you are using some online translator.

Edge flag is for making edges visible or not.When you render in wireframe of course. It also works when you render in point mode.

zydgyy
12-26-2011, 03:12 AM
Otherwise,how does opengl implement backface culling?specify the vertices wound?colockwise,counter-colockwise??I read about a way calculate the degree between nromal of face and view direction?!So,what is opengl option?!

V-man
12-26-2011, 11:10 AM
Face culling is dependent on vertex order.
You can read how GL does it in the GL specification.