Archived

This topic is now archived and is closed to further replies.

Wayfarer

D3D Vertex Order

Recommended Posts

When drawing transformed and lit triangles as a list using DrawPrimitive, is the order of the vertices important? The D3D docs read: "A front face is one in which vertices are defined in clockwise order. Any face that is not a front face is a back face. Direct3D does not always render back faces; therefore, back faces are said to be culled." However, my first guess was probably not since the D3DTLVERTEX structure has no variables to store normal vectors (already transformed). But when I draw my vertices in a CW order, they don''t appear. When I draw them in a CCW order, I can see them. Why does the docs say use CW order when I have to use CCW order to see my trianges? Wayfarer

Share this post


Link to post
Share on other sites