Hello Jean-Marie, You can use [gemvertexbuffer] and close the shape with [draw lineloop(. See example attached. Then you will be able to use a transformation on it like (translation, rotation, etc.). ++
Jack Le 06/09/2017 à 08:31, Richie Cyngler a écrit : > Hi Marie, > > You could use [gemmouse] to locate your cursor in the gemwin and there's > an object that lets you manipulate a mesh at points but I can't remember > what it's called. The other object that comes to mind is [model] which > allows you to import 3D models from external software, which isn't what > you're asking but might be useful. > > I don't know of a way to draw with polygons in GEM, if there is one I'd > love to hear about it too. > > cheers > Richie > > On Wed, 6 Sep 2017 at 3:09 pm, Jean-Marie Adrien > <jm.adrien....@gmail.com <mailto:jm.adrien....@gmail.com>> wrote: > > Hello > Is there an object to draw a closed shape with the mouse in a GEM > window so that it can be processed afterwards like generic objects > such as squares and circles ? > Thanks > JM > _______________________________________________ > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list > > -- > > www.glitchpop.com <http://www.glitchpop.com> > > > _______________________________________________ > Pd-list@lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > https://lists.puredata.info/listinfo/pd-list >
draw_shape_with_mouse.pd
Description: application/extension-pd
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list