On Nov 9, 2011, at 12:33 PM, Jonathan Wilkes wrote: > ----- Original Message ----- > >> From: katja <[email protected]> >> To: [email protected] >> Cc: >> Sent: Thursday, November 3, 2011 6:10 AM >> Subject: Re: [PD] how to capture window-related mouse-events when toxy is >> discontinued? >> >> On Thu, Nov 3, 2011 at 1:30 AM, Jonathan Wilkes <[email protected]> >> wrote: >> >>> How does the cpu usage in my demo compare to your patch where you use >>> a radiobutton? >> >> Here's a cpu load comparison of objects dragged continuously (on intel >> mac 2GHz): >> >> polygon in movable_box2.pd: 23 % >> polygon in 07.sequencer.pd (help browser): 16% >> radiobutton in moving_objects.pd: 12 % >> regular Pd slider: 13 % >> 2D geo in a gem window: 2.5% > > The old joke: > If the black box can survive a crash, why don't they just build the whole > airplane > out of the black box? > > Similarly: > If a 2D geo in a gem window is the most efficient way to draw an object, why > not > just make canvases be opengl windows? > > I imagine the answer might be "because it's not that simple", but I thought > I'd ask anyway.
That's what TkZinc is: a Tk canvas written to use OpenGL. http://www.tkzinc.org .hc ---------------------------------------------------------------------------- "It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
