Jump to content
  • Advertisement
Sign in to follow this  
TwilightShade

What does d3drs_patchsegments?

This topic is 5137 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 there! Im currently mapping d3d calls to opengl calls on linux for wine, a windows layer. Now i was going for d3drs_patchsegments. MSDN sais it sets the number of segments per edge when tessellating an object (num_vertices in gluTess i think?!). So far, so good, thats not a big deal, but i wonder: it makes no sense to generate a function which takes a string which is set to a value and sets the value to another value so i thought there has to be done more (or i havent understand it right). So i searched a bit and found that there is no apropriate function doing tessellation in d3d (okay, there is tessellatenpatches, but i read that this isnt up to date anymore and is less and less used). I think it is maybe done with gluTess, but that would again mean i understood something wrong (and that cant be, right? ;) ). Anyway, who can help me out?

Share this post


Link to post
Share on other sites
Advertisement
Everything I've seen indicates that D3DRS_PATCHSEGMENTS is used for N-patch subdivision. For N-patch it takes a triangle list and divides it according to D3DRS_PATCHSEGMENTS. That's it.

I've never seen it used or even mentioned elsewhere.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!