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
[email protected]
http://www.matteosistisette.com

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to