On 12/8/06, Mathieu Bouchard <[EMAIL PROTECTED]> wrote:

On Fri, 8 Dec 2006, chris clepper wrote:
> On 12/8/06, Mathieu Bouchard <[EMAIL PROTECTED]> wrote:
>> :How do i get [separator] to separate colours? I was teaching the use
of
>> [separator] in a workshop and then I realised that it doesn't backup
>> colours. Is [separator] really only for transformation matrices or is
>> there an option to enable it to work with [colorRGB] and [alpha] and
etc?
> Just the transformation matrices.  The color objects overwrite the
current
> color.

(and that's a feature?)


The spec on glColor:

http://www.rush3d.com/reference/opengl-bluebook-1.0/ch05.html#id5458953

Is there a different class that can separate colours instead of just pixes
and coordinate-systems ?


Every vertex can have a color assigned to it.  In GEM the same color is
applied to every vertex in a Geo because the interface to do otherwise would
be cumbersome.  You can set the color once and then every vertex in as many
Geo objects as you put after [color] will be that color.  It is highly
recommended to place a color object before each Geo.
_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to