Here we go. I just had a quick look at the paper and used the formula from
the 3-sided beziers. First I implemented it as parametric surface which
more or less worked but is slow as hell. But from that it was not too hard
to create a version that produces a mesh. It could be extended to generate
smoot_triangles.
You can find both versions in p.t.s-f. Hope it works as intended. If so,
tell me and I will try the 5 and 6 sided as well.
- Micha
--
http://objects.povworld.org - the POV-Ray Objects Collection
Post a reply to this message
|