Sign in to follow this  

About D3DXTessellateTriPatch

Recommended Posts

In my D3D9 program i pick a triangle with mouse and now i want to divide it into serval parts. I try to use the N-Pitches method which will divide each edge of my triangle into n parts and will divide it into n*n parts. And then i will add the addtional vertex which generated during dividing process into my vertex buffer. Now the problem is that i am not sure whether the D3DXTessellateTriPatch function would do and if yes, it seems to return a indexed vertex buffer to me while i actually need a un-indexed vertex buffer. So i want to implement the function by myself. Can anyone give me some hint or correlative thesis? Thank you!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this