how to tesselate bezier triangles?

Posted by Cheery on Stack Overflow See other posts from Stack Overflow or by Cheery
Published on 2009-10-14T11:09:42Z Indexed on 2010/05/19 7:30 UTC
Read the original article Hit count: 213

Filed under:
|

My concern are quadratic bezier triangles which I'm trying to tesselate for rendering them.

I've managed to implement this by subdividing the triangle recursively like described in a wikipedia page. Though I'd like to get more precision to subdivision. The problem is that I'll either get too few subdivisions or too many because the amount of surfaces doubles on every iteration of that algorithm.

In particular I would need an adaptive tesselation algorithm that allows me to define the amount of segments at the edges. I'm not sure whether I can get that though so I'd also like to hear about uniform tesselation techniques.

Hardest trouble I have trouble with calculating normals for a point in bezier surface, which I'm not sure whether I need, but been trying to solve out.

© Stack Overflow or respective owner

Related posts about tesselation

Related posts about rendering