Re: DrawIndexedPrimitives doesn't draw all triangles
- From: legalize+jeeves@xxxxxxxxxxxxxxxxx (Richard [Microsoft Direct3D MVP])
- Date: Sat, 18 Nov 2006 11:37:18 -0800
[Please do not mail me a copy of your followup]
gianluca.colucci@xxxxxxxxxx spake the secret code
<1163845883.717780.176460@xxxxxxxxxxxxxxxxxxxxxxxxxxx> thusly:
By using DrawIndexedPrimitives in order to display two triangles with a
common vertex, I get a wrong result (no error, just wrong result): I
get just one triangle displayed.
Check that all your vertices are specified in a consistent winding
order.
An easy way to check if this is the problem is to turn off face
culling. IIRC, set the CullMode property to None.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>
Legalize Adulthood! <http://blogs.xmission.com/legalize/>
.
- Follow-Ups:
- Re: DrawIndexedPrimitives doesn't draw all triangles
- From: Andrew Brook
- Re: DrawIndexedPrimitives doesn't draw all triangles
- References:
- DrawIndexedPrimitives doesn't draw all triangles
- From: gianluca . colucci
- DrawIndexedPrimitives doesn't draw all triangles
- Prev by Date: DrawIndexedPrimitives doesn't draw all triangles
- Next by Date: Re: Rotation
- Previous by thread: DrawIndexedPrimitives doesn't draw all triangles
- Next by thread: Re: DrawIndexedPrimitives doesn't draw all triangles
- Index(es):
Relevant Pages
|