draw with GL stroke in sketch issue...


    Sep 24 2007 | 8:59 pm
    I've managed to alter "twine ball" recipe to a nice sort of "ribbon" drawer, using the mouse. However, I'm getting some animated artifacts that I don't quite understand - I'm hoping for some illumination... As I draw the ribbon, it jerks and vibrates on occasion. It appears that it's getting confused as to the orientation on the bends and turns, and will seem to flip the entire ribbon along it's "spine". Is there a way to avoid this or it is just an oddity of trying to animate this stroke drawing?
    Peter.

    • Sep 26 2007 | 11:34 am
      pnyboer skrev: > I've managed to alter "twine ball" recipe to a nice sort of "ribbon" drawer, using the mouse. However, I'm getting some animated artifacts that I don't quite understand - I'm hoping for some illumination... > As I draw the ribbon, it jerks and vibrates on occasion. It appears that it's getting confused as to the orientation on the bends and turns, and will seem to flip the entire ribbon along it's "spine". > Is there a way to avoid this or it is just an oddity of trying to animate this stroke drawing? Hi Peter, I've had a good look at your patch and couldn't find the problem, but it does remind me an awful lot about a a problem I had in a different patch of mine:
      What I was drawing quad-based lines in 3d, also using jit.gl.sketch. The patch was designed to auto-delete early entries in the cmdlist, essentially doing the same thing as in the splines example - what happened whenever part of the cmdlist was deleted looked *exactly* like the jerkiness of the splines in your patch - the path of the "string" would be recalculated differently.
      Don't know if this helps, just wanted to show my support, really. Looks like a really promising patch!
      Andreas.