[PD] Gem questions
IOhannes m zmoelnig
zmoelnig at iem.at
Mon Apr 4 08:26:07 CEST 2005
chris clepper wrote:
> On Apr 3, 2005, at 11:43 PM, vade wrote:
>
>> 2) Is there a way to change blend mode attributes for gemhead objects?
>> Ie force a renderchain to render with one of the 7 source and 7 alpha
>> blending modes that should be available?
>
>
> The [alpha] object has the basic transparency function. Rolling your
> own around GEMglBlendFunc might work although the messages for src and
> dst are floats, which might require looking at the GL headers to get
> those values.
that is what we have the [GLdefine] object for: convert GL-preprocessor
definitions into their values, eg: GL_ONE_MINUS_SRC_ALPHA
into 0x0303 (which is then output as float "771.0").
mfg,.asd.
IOhannes
More information about the Pd-list
mailing list