Drawing a 2D bezier/B-Spline patch
Hi,
am looking for the easiest way to draw a 2D Bezier/B-Spline patche,
i.e. I define a close bezier curve and I want to fill the inside
region defined by the curve.
Is there another way than tesselating the surface ?
Thanks !
you have a closed curve (endpoint = startpoint) and want to fill the region inside that curve? SCANLINE or seed fill might be an option
yes it is a closed shape ...
not sure what technics you're referring to though
is Scanline rendering each scanline finding the different segments that are
part of the shape ?
what about the Seed one ?
and a follow up to this question being, I will need to make some soft edges
on this shape at user demand (ie the user will drag a point and expand/reduce
the soft edge distance), any idea on this ?
Thanks a lot !
not sure what technics you're referring to though
is Scanline rendering each scanline finding the different segments that are
part of the shape ?
what about the Seed one ?
and a follow up to this question being, I will need to make some soft edges
on this shape at user demand (ie the user will drag a point and expand/reduce
the soft edge distance), any idea on this ?
Thanks a lot !
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement