Jump to content
  • Advertisement
Sign in to follow this  
diegor82

Something like GL_EXT_multi_draw_arrays or GL_NV_primitive_restart

This topic is 4883 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 everybody, Is there in directx something like GL_EXT_multi_draw_arrays or GL_NV_primitive_restart, i.e. drawing more triangle-fans per single call? Thank you in advance, Diego

Share this post


Link to post
Share on other sites
Advertisement
Index buffers are used to draw a triangle strip list with a single call...
But what I am asking here is if there are Direct3D functions, able to draw multiple strips with a single call...

Share this post


Link to post
Share on other sites
There isn't currently support in the PC version of Direct3D for re-starting/re-anchoring the current strip/fan primitive start point.

This is because up until recently, the majority of consumer PC graphics hardware (and their drivers) hasn't been able to do it natively (i.e. in hardware rather than faking it by converting to an indexed list inside the driver).


Degenerate "stitching" in your strips (most hardware handles indexed degenerates for free [or very close to]) and indexed triangle lists and are the best current alternative in D3D, and of course fans aren't of much use unless you're doing high poly cone and circle based things [wink]


Once re-starting/re-anchoring is widely supported in hardware, expect to see it in Direct3D (D3D10 will have a feature that allows this and much more...)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!