Draw indexed triangle fans
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
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.
D3DPT_POINTLIST,
D3DPT_LINELIST,
D3DPT_LINESTRIP,
D3DPT_TRIANGLELIST,
D3DPT_TRIANGLESTRIP,
D3DPT_TRIANGLEFAN
Stevie
Don''t follow me, I''m lost.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement