Draw indexed triangle fans

Started by
1 comment, last by Christoph 20 years, 1 month ago
Hi, can I put triangle fans in a vertex- or index buffer, or does this only work with strips? I''m using DX9 and VB .NET. Thx
Advertisement
Yes. The DrawIndexedPrimitive takes as its first parameter the facetype which can be one of the following:-

D3DPT_POINTLIST,
D3DPT_LINELIST,
D3DPT_LINESTRIP,
D3DPT_TRIANGLELIST,
D3DPT_TRIANGLESTRIP,
D3DPT_TRIANGLEFAN



Stevie

Don''t follow me, I''m lost.
StevieDon't follow me, I'm lost.
Thanks, and what about triangle fans in vertex buffers?

This topic is closed to new replies.

Advertisement