Color and Shading Lecture 9 Mon, Sep 26, 2005.

Slides:



Advertisements
Similar presentations
© red ©
Advertisements

The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
Additive Primary Colors and Subtractive Primary Colors
C O L O R S PRINT VS MULTIMEDIA. Main Difference Print –Primary Colors CMYK Cyan, Magenta, Yellow, Black - Subtractive Color system –Add together = black.
CMYK vs. RGB Design. Primary colors The colors that make up the base for every other color created. Depending on whether you are looking at it from science,
Color. -Visual light -An integral part of the sculpture -Creates desired effect -Distinguish items -Strengthen interest.
Drawing Basic Graphics Primitives Lecture 4 Wed, Sep 3, 2003.
Unit 2 Lecture 1 Colour. Basic Colour Wheel In paint pigments, pure Yellow, pure Red, and pure Blue are the only hues that can't be created by mixing.
Colors By Jes Betzold Red YellowBlue Orange PurpleGreen.
Week 6 Colour. 2 Overview By the end of this lecture you will be familiar with: –Human visual system –Foundations of light and colour –HSV and user-oriented.
Art Elements Color. COLOR is light reflected off objects.
The Color Wheel. THE COLOR WHEEL REDORANGEYELLOWGREENBLUEVIOLET.
Introduction to OpenGL. OpenGL is a low-level graphics library specification. It makes available to the programmer  a small set of geometric primitives.
# Red Green Blue Digital Color RGB to HEX.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
Colour is one of the most expressive elements in art Colour is used to convey ideas and meaning Colour can be tamed!!
PRIMARY COLOURS Primary Colours: The 3 primary colours are red, yellow and blue. They are three colours that can't be made by mixing any other colours,
Stagecraft – Sylvan Hills High School. ????????????????
IPC Notes Light & Color. The colors of light that we see are the colors of light that an object reflects towards our eyes. ex) blue jeans absorb all colors.
Colors of Pigment The primary colors of pigment are magenta, cyan, and yellow. [
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
Project 5A and 5B: COLOR 5A Color Chart and 5B Color Scheme Portraits Using Oil Paint.
PART TWO Electronic Color & RGB values 1. Electronic Color Computer Monitors: Use light in 3 colors to create images on the screen Monitors use RED, GREEN,
Colour Theory.
Introduction to Meshes Lecture 22 Mon, Oct 20, 2003.
Is the practical guidance to color mixing and the visual effects of a specific color combination.
COLORCOLOR. The Color Spectrum The spread of colors from white light when passed through a prism or diffraction grating. –Red, Orange, Yellow, Green,
Color Terms Hue – The name of a specific color – blue, green Tint – A hue combined with varying amounts of white Tone – A hue combined with varying amounts.
RED, YELLOW, and BLUE These colors cannot be made Used to make all other colors.
COLOR An exciting ELEMENT of ART Which depends on REFLECTED LIGHT.
Digital & Interactive Media
The Color Wheel.
LIGHT, COLOR, AND WAVE INTERACTION.
Chapter 19-2 Clothing Design Basics
Digital & Interactive Media
Sampling, Quantization, Color Models & Indexed Color
Use Chapter 11 to define: Primary colors Secondary colors
Design Concepts: Module A: The Science of Color
5th Grade colors Vocabulary
The Colour of Light: Additive colour theory.
Chapter 6: Color Image Processing
Color Harmonies.
ART HISTORY QUIZ #1 FRIDAY, NOVEMBER 6th.
COLOR In order to see color you must see light. How an object reflects or absorbs light determines what color we perceive that object to be.
RGB Color Model CMY Color Model.
Digital & Interactive Media
Get out pencil and your sketchbook to take some notes.
Project 5A and 5B: COLOR 5A Color Chart and 5B Color Scheme Portraits Using Oil Paint.
Color Combinations Design.
Chapter 19-2 Clothing Design Basics
Digital & Interactive Media
Colour Theories.
Programming Graphic LCD
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Programming Graphic LCD
Two ways to discuss color 1) Addition 2) Subtraction
Color Wheel.
Programming Graphic LCD
Lighting – Material Properties
Introduction to Meshes
Programming Graphic LCD
Shading Polygons Lecture 36 Wed, Nov 28, 2007.
What Color is it?.
Programming Graphic LCD
Programming Graphic LCD
Color Theory Study Guide
Color Theory 2D Fall 2016.
Color And Light.
Colors and Mixing Painting 1.
Introduction to Meshes
Presentation transcript:

Color and Shading Lecture 9 Mon, Sep 26, 2005

The RGB Color System The three primary light colors are red, green, and blue. By mixing these three colors in various proportions, all colors can be made. red + green = yellow red + yellow = orange dark orange = brown etc. + = + =

The Color Monitor Each pixel of the color monitor is square consisting of three vertical bands: a red, a green, and a blue band. The color we perceive depends on how bright each band is. Each band can be set to a level from 0 to 255. 0 = darkest level 255 = brightest level

The Color Monitor Red Yellow Black Green Magenta White Blue Cyan

The Color Monitor Red Yellow Black Green Magenta White Blue Cyan

Mixing Colors Read Run

Gray Levels If we mix the colors together in equal amounts, we get a level of gray. (0.0, 0.0, 0.0) = black (0.2, 0.2, 0.2) = dark gray (0.5, 0.5, 0.5) = medium gray (0.8, 0.8, 0.8) = light gray (1.0, 1.0, 1.0) = white

Gray Levels The following graphic shows 16 levels of gray.

Gray Levels The following graphic uses hundreds of levels of gray.

Setting the Color The function glColor*() will set the brightness levels of the red, green, and blue bands of the pixel. glColor3i(int red, int green, int blue) red, green, and blue are ints from 0 to 255. glColor3f(float red, float green, float blue) red, green, and blue are floats from 0.0 to 1.0. glColor3fv(float color[ ]) color is an array of three floats (red, green, blue).

Setting the Color Read Run

Varying the Color Levels Read Run

The Full Range of Colors Read Run

Shading Shading refers to adding color to an object. In OpenGL, we specify the colors only of the vertices of the polygon. OpenGL uses linear interpolation to determine the colors of the pixels within the polygon.

Shading For triangles, the interpolated are determined uniquely by the colors of the three vertices. For larger polygons, OpenGL will triangulate the polygon, then shade each triangle. If the effect is undesirable, then the programmer must do his own triangulation.

Shading Larger Polygons Read Run

Shading Model OpenGL provides two shading models Smooth shading (interpolation) Flat shading (no interpolation) Flat shading shades the interior with the color of one arbitrarily selected vertex. Almost always, the smooth shading model produces better results.

Flat Shading of a Polygon Read Run