[PD] [Gem] how to optimize alphablending?

chris clepper cgc at humboldtblvd.com
Sun Aug 28 18:56:06 CEST 2005


The pix_alpha objects can probably be removed and replaced by  
[colorRGB 1 1 1 1] after pix_texture.  The last inlet of that object  
controls alpha for the geometry after it.

On Aug 28, 2005, at 10:47 AM, Roman Haefeli wrote:

> hi
>
> i attached a patch, that is used to 'alphablend' from one to another
> picture. it is working though, but the cpu-load raises to 100% and it
> looks quite 'ruckelig' (not constantly flowing). i tried it on  
> different
> machines with the same result. then i tried it with a better gfx-card,
> that supports opengl (Quadro FX 330), on a P4 2.66GHz (winxp). it  
> looks
> better, but my patch still uses 100% cpu.
> i'm quite a gem-newbie and don't know much about opengl, but i assume
> that my patch is not optimized and there is still much calculated  
> by cpu
> instead of gpu. last week i saw a screensaver-slideshow on an old  
> ibook,
> that looked very nice. this let me hope there is still a chance,  
> that i
> can realize the same with Gem on hardware that is up-to-date.
>
> thanks for any help
>
> roman
>
>
>
>
>
>
> <alphabending.pd>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list
>





More information about the Pd-list mailing list