What does d3drs_patchsegments?
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?
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.
I've never seen it used or even mentioned elsewhere.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement