heres a more fun example
create a 1024x768 texture with exactly one half black and one half white. Use blitz to render the texture to the screen 2d or 3d it only needs to fill the screen.
See what I mean?.. You see banding again dont you?
This is called mach banding.. and its got nothing to do with how many colours the eye can percieve or the quality of your hardware.. its an optical illusion and theres nothing you can do about it.. well there is.. CGI experts use all sorts of trickery to lessen the effect.
Theres another effect which is (erroneously?) refered to as mach banding and thats when you have a single coloured mesh rendered to the screen with ambient lighting only and yet you still see colour gradients over polygon boundaries. gouraud/phong shading helps smooth this out but of course if you wanted to be able to see the poly edges (flat shaded model) then this isnt much help :/
see
Computer Graphics practices and principles
Foley at al
Addison and Wesley publishers
for a good explanation of all this and much much more.. superb book.. its the industry standard text on computer graphics.. Costs $100 but is money well spend in my opinion (Ive bought 2 now.. 1st and second ed)
create a 1024x768 texture with exactly one half black and one half white. Use blitz to render the texture to the screen 2d or 3d it only needs to fill the screen.
See what I mean?.. You see banding again dont you?
This is called mach banding.. and its got nothing to do with how many colours the eye can percieve or the quality of your hardware.. its an optical illusion and theres nothing you can do about it.. well there is.. CGI experts use all sorts of trickery to lessen the effect.
Theres another effect which is (erroneously?) refered to as mach banding and thats when you have a single coloured mesh rendered to the screen with ambient lighting only and yet you still see colour gradients over polygon boundaries. gouraud/phong shading helps smooth this out but of course if you wanted to be able to see the poly edges (flat shaded model) then this isnt much help :/
see
Computer Graphics practices and principles
Foley at al
Addison and Wesley publishers
for a good explanation of all this and much much more.. superb book.. its the industry standard text on computer graphics.. Costs $100 but is money well spend in my opinion (Ive bought 2 now.. 1st and second ed)