On Mar 29, 2004, at 1:42 AM, chris clepper wrote:
I was playing around with some of Cyrille's pmpd patches and noticed that he commented on several of them needing lots of CPU to run. I quickly figured out that it was the sphere object that ate most of the CPU, and I had already made a note to fix this after Johannes rewrote the object. The big problem is that sphere calculates each and every vertex each and every pass even though most of the time the geometry is static. The quick fix I just committed to CVS only calculates the geometry when a parameter changes (slices, drawing style, etc). The result is at least a 3X improvement in performance, and most of the pmpd stuff runs ok now on my Powerbook.
...good job chris! I was just playing with the pmpd examples and noticing the slowness, but I didn't look close...then I tried your fix, and it runs much better!
jamie