clipka <ano### [at] anonymousorg> wrote:
> Hi folks,
> the `prism` primitive currently supports, among others, cubic Bezier
> spline outlines.
> For certain technical reasons, I may need to add support for _quadratic_
> Bezier splines at the render engine level as well, but it would be a
> waste to not expose them to the scene description language (and, while
> I'm at it, possibly also extend `lathe` accordingly).
> - `bezier2_spline`, the "2" referring to the polynomial order.
> Thoughts, anyone?
used in fonts/typfaces and svg representations of glyphs. Cousin Ricky was nice
enough to provide me with an early release of his sphere sweep macro that allows
So, you may not have to code a whole separate section for QBS - just write an
algorithm to degree-elevate a QBS to a cubic. I have my SDL version that you
can have to adapt into suitable c++ source code.
IIRC degree reduction was a bit trickier, and I hadn't implemented that.
maybe he already has something to do that side of the degree manipulation.
What would be very nice would be a generic "bezier" keyword followed by the
desired degree, or perhaps, by the degree of the supplied control points
followed by the desired degree after elevation / reduction.
But that is JUST something to think about, before anything becomes "concrete".
Does that help? :D
Post a reply to this message