On Wed, Mar 26, 2008 at 4:43 PM, Nathan <[EMAIL PROTECTED]> wrote: > > Where does pyglet use 0-255 in colors? I've only used the OpenGL > stuff for setting colors so far...
i think pyglet 1.1 uses 0-255 > > To answer your last question, all 24bit RGB displays (8 bits each for > R, G, and B) use 0-255. 2^8 = 256, after all. So correspondingly, > most of the color system's I've ever encountered have used 0-255 for > rgb values. OpenGL's the first notable exception that I've run into. > but you dont touch any of those displays using pyglet or opengl, do you? i mean, i know where 0-255 comes from, but im not sure we should keep using it. Lucio. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
