shaunlebron / blinky

Exploring peripheral vision in games (using Quake)
MIT License
687 stars 26 forks source link

Change colorcube to transparent #38

Closed shaunlebron closed 13 years ago

shaunlebron commented 13 years ago

Change the tint of the cube faces rather than the solid color. And use nearest color algorithm to shift the color pallete.

shaunlebron commented 13 years ago

RGB to HSL in C: http://www.gdargaud.net/Hack/SourceCode.html

shaunlebron commented 13 years ago

It uses 256_6 bytes for each cubeface's color pallete and a pallete index array the size of the view (640_480 bytes in my case). This incurs an additional space overhead of 308,736 bytes. I need to see if this may cause problems. Really need to see the memory constraints by studying how much space is allocated.