[GEM-dev] Ressources when alpha canal of [colorRGB] is 0

Jack jack at rybn.org
Fri Apr 4 18:55:54 CEST 2008


Yep, i know ;)
But why use ressource when alpha channel = 0 ? Is there a good reason ?
++

Jack


Le 4 avr. 08 à 18:43, chris clepper a écrit :

> Just feed the 0..1 going into colorRGB right inlet into the gemhead.
>
> On Fri, Apr 4, 2008 at 11:42 AM, Jack <jack at rybn.org> wrote:
> Thanx Chris, it was what I thought.
> It would be interresting if the gemhead turn off when the alpha  
> channel is 0 or not (and why) ?
> ++
>
> Jack
>
>
> Le 4 avr. 08 à 18:32, chris clepper a écrit :
>
>> No.  In the alpha chain the geometry is still computed only the  
>> pixels are not drawn in the back buffer.  Also, the gemhead has  
>> some overhead for setting up the various states and matrices.   
>> Turning off the gemhead bypasses everything in the chain.
>>
>> On Fri, Apr 4, 2008 at 11:20 AM, Jack <jack at rybn.org> wrote:
>> Is it the same when the alpha canal of a [colorRGB] is 0 than when
>> [gemhead] has received the message 0 :
>>
>> [gemhead]
>> |
>> [alpha]
>> |
>> [colorRGB 1 1 1 0]
>> |
>> [square]
>>
>>
>> is it the same for the ressources take from the CPU/GPU than :
>>
>>
>> [loadbang]
>> |
>> |0(
>> |
>> [gemhead]
>> |
>> [square]
>>
>> (The both methods erase the square).
>>
>> Thanx.
>> ++
>>
>> Jack
>>
>> _______________________________________________
>> GEM-dev mailing list
>> GEM-dev at iem.at
>> http://lists.puredata.info/listinfo/gem-dev
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20080404/00810f4f/attachment.htm>


More information about the GEM-dev mailing list