Advertisement

Gouraud Shading

Started by February 17, 2002 05:07 PM
1 comment, last by rugal 23 years ago
Hi all I''ve gone through most of the tutorials on nehes site. I want to write some gouraud shading code(of my own) rather than just use the openGL stuff. I want to mess around with it and try some things. There''s a couple of things I would like to ask: Are there any decent sources of info on the subject, perhaps with some sample code/algorithms? Is it possible to dynamically choose a colour palette? Or is it best to stick with an array of say 512 colours of your choice which you dynamically update? Thanks in advance
Gouraud Shading : STFW !
Using Colour Palettes : Not a chance, you need to interpolate.
Dynamic Palettes : See previous line.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
You can create a calor palette in windows

This topic is closed to new replies.

Advertisement