- General curve fitting
- From a sequence or ordered sample points (coordinate, pressure),
compute a list of continuous (G1) Bezier segments that fit these
points (always closer to the samples than a given "error" distance).
Thierry Pudet has developed an algorithm to do that in real time
(Pudet, Eurographics 95).
- What to do with the pressure?
- We store it as an independant object we call pressure
profile that associates a pressure with a normalized curvilinear
index (0 for the beginning of the stroke and 1 for the end.)
- High speed drawing
- From a Bézier curve and a pression profile, draw the stroke.
Pudet uses high speed forward differencing to achieve that.
- Interactive echo of the stroke
- The animators need an interactive echo while they draw. The
rendering library has been modified to export some internal
functionalities to compute this echo from the samples with the same
shape as the final computed stroke.
The multi-layer library offers a lot of help for displaying the echo
without having to redisplay the rendered scene behind.