It should be possible with the vertex_array stuff. I just saw a demo of Luxology's forthcoming 'modo' and it converted free hand drawing into tubes. While GEM might not do anything that fancy very soon, a similar idea could be made into an object. Each new point input into the object would be a new vertex and jumping between points would result in more minear structures. It would be easy to use this with something like Yves' grid object. I'm not sure about getting position info from the gemwin and having it consistant across platforms without using GLUT for everything.
cgc
Quoting ben@ekran.org:
Hmmm, sounds good Yves!
I wonder if anyone has done something similar for Gem? I would like to draw masks over video in realtime. So this pen tool should include an algo to fill in the object being drawn...
Any thoughts?
Thanks Ben
hi,
0.12.8 added pdp_pen : a free hand drawing object ( on request from patrick )
cheers, sevy
PD-announce mailing list PD-announce@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-announce
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list