Archived

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

Switching primitive draw types

This topic is 5588 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

When I switch from drawing a triangle list to a triangle fan. DX seems to think that the first point of the triangle fan is the last point it drew in the previous triangle list. I''m sure there is a way to tell DX hey just stick with the current vertex buffer when rendering the triangle fan. But I don''t know what it is. basic code layout setstream to vertex buffer with triangle list drawprimitive triangle list setstream to vertex buffer with triangle fan drawprimitive triangle fan Can someone tell me what I might be doing wrong?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
see if your rendering the right amount of tris or someother problem in your render calls. There is no problem in this part of DX because I''ve mixed and matched various types of primitives, even on the same vertex buffer.

Share this post


Link to post
Share on other sites