|
|
Shay wrote:
>
> I was looking at bicubic patches, but they seem pretty limiting so I
> want to try modeling with mesh2. I want to write a macro that will
> figure the normal vertices. I am assuming that I created the triangles
> myself, so all faces will be defined clockwise. This is the best idea
> I could come up with. Is there a faster way? Unfortunately, I know
> very little of programming outside of Povray.
If you download the Subdivision Surface Suite at:
http://enphilistor.users4.50megs.com/sss.htm
You can find code that will help you.
Although the code I have at the above location doesn't support sharp
edges, you might want to do so. It requires maintaining the state of
each edge, and the calculations get a bit more complicated, but
allows much more flexibility in the models you can support.
--
ICQ: 46085459
Post a reply to this message
|
|