Ben's patch spends al least 1/3 of it's time doing audio computation in the [pd smooth] abstraction! I know of a much better object to do this with which doesn't require audio rate computation. I replaced the audio smooth with the control rate one and CPU load was halved and the frame-rate more than doubled. There's not a public version of it for pd but I can see about making it available soon.
The rest of the patch spends it's time in curve3d, which I've known to be fairly inefficient for some time due to the fact that the GL drivers actually create the geometry using the CPU and not GPU. I don't know of an easier way to get the same results other than glEvaluators but it might be possible to re-implement things as vertex arrays and use some Alitvec or possibly even do some sort of shader. I think the RedBook has the underlying math in the NURBS chapter.
cgc
On Mar 16, 2004, at 4:01 PM, cyrille henry wrote:
hello ben,
great patch!
On my computer, I nead to slow down to 20 fps :-( (radeon 9000)
cyrille
ben@ekran.org wrote:
Hey all, Here is a little(big) patch I made with pmpd. http://pure-data.iem.at/Members/bbogart/dynamics/view Requires pmpd (beta 5), gem888 and a fast machine. (uses 90% of my 1.25Ghz g4 w/ radeon 9600)
- Create the window
- start the pmpd metro
- move mouse around inside gemwin.
Hope you have fun. Ben _______________________________________________ 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