thanks Matt, I'll be interested in hearing your thoughts. I've made some
significant changes to sketch_tess.cpp the last few days, and I'm still
working on it so make sure to check out the new source.
On 07/15/2012 08:55 PM, Matt Shepit wrote:
Heya!
I've just started looking at this now, so I'll have a read through it
in the next day or so and hopefully be able to provide some useful
feedback.
Great work!
-Matt-
On Sat, Jul 14, 2012 at 12:16 PM, crdueck <crdu...@uwaterloo.ca
<mailto:crdu...@uwaterloo.ca>> wrote:
hello everyone,
as of r51503 i've added functions to
librt/primitives/sketch_tess.cpp to
enable approximation of bezier curves by a set of circular arcs using
the algorithm discussed here: http://itc.ktu.lt/itc354/Riskus354.pdf
I'd like some feedback on the new functions, in particular
bezier_inflection() and approx_bezier(), which both use an iterative
method to walk the curve.
currently, bezier_inflection() returns the first point where the
curvature vector evaluated at that point has greater magnitude
than the
curvature vector evaluated one half interval forwards, which doesn't
seem very elegant or precise. Is there a better way to find a point of
inflection on the curve?
similarly, approx_bezier() walks the curve in intervals, and computes
the minimum distance from the approximating circular arc to the bezier
curve evaluated at the interval. Is there a better way to
determine when
the two curves diverge by more than a given tolerance?
of course, any comments on any other areas would be appreciated as
well.
thanks,
chris
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
<mailto:brlcad-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel