Jump to content
  • Advertisement

Archived

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

Christoph

Draw indexed triangle fans

This topic is 5201 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!