[PD] [GEM-dev] (GEM) color invasion

Matteo Sisti Sette matteosistisette at gmail.com
Mon Nov 30 19:29:25 CET 2009


IOhannes m zmoelnig escribió:

> it saves the texture, modelview and color matrix stack (the latter
> obviously not being the "color").
> i wonder why it's not saving the projection matrix stack as well.

Great,
thank you

> i suggest to create a wee little abstraction "myseparator", which looks
> like:

Oh yes! Should have thought about it :$


> the reason why the color is not stored and restored is simply performance.
> it's way faster to just set the color again than query it from the
> current openGL state (and color is a vertex based attribute; but this is
> really getting internal)

Good to know that!

Thanks again
m.


-- 
Matteo Sisti Sette
matteosistisette at gmail.com
http://www.matteosistisette.com




More information about the Pd-list mailing list