shading. what is shading? assigning of a color to a pixel in the final image. so, everything in...
TRANSCRIPT
![Page 1: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/1.jpg)
Shading
![Page 2: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/2.jpg)
What is Shading?
• Assigning of a color to a pixel in the final image.
• So, everything in shading is about how to select and combine colors to get the look you want.
![Page 3: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/3.jpg)
What impacts shading?
• The lights in a scene.
• The geometry of objects in a scene.
• The normals of objects.
• The shader properties of an object:– Color,transparency, emissivity, etc…
• The rendering algorithm– Eg ray-tracing versus scan-line rendering.
![Page 4: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/4.jpg)
The Original CG Shading Techniques
• Faceted Shading
• Smooth Shading
• Specular Shading
![Page 5: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/5.jpg)
What is a Normal?
Plane
Normal
Light
Reflected Light
Plane
Normal Reflected Light
Eyepoint
Eyepoint
![Page 6: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/6.jpg)
Faceted/Flat Shading
![Page 7: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/7.jpg)
Smooth/Gouraud Shading
![Page 8: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/8.jpg)
Specular/Phong Shading
![Page 9: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/9.jpg)
Next: Surface Shaders
• A grouping of all variables that influence the rendered color of a 3D object.
• Surface finish
• Simulated material.
• Surface libraries/material databases.
• Surface Layers
• RenderMan Shading
![Page 10: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/10.jpg)
Surface Layers
• Combine multiple shaders for astonishing effects.
• Build up shades like a painter.
![Page 11: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/11.jpg)
Renderman Shaders
• Renderman is a procedural shader language with tremendous versatility.
• All major feature animated feature films use Renderman as part of production.
• Like programming in C code.
• You write Shaders for Renderman like you would write C code for computers.
![Page 12: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/12.jpg)
Image Mapping
• Generally referred to as Texture Mapping.
• 2D Texture Mapping
• Creating the map
• Maps for real-time
• Maps for feature film
![Page 13: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/13.jpg)
1 Map Many Attributes
![Page 14: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/14.jpg)
1 Map Many Parts
![Page 15: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/15.jpg)
Image Mapping in Games
![Page 16: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/16.jpg)
Image Mapping in Film
![Page 17: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/17.jpg)
Projection Methods
![Page 18: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/18.jpg)
Projection Methods
![Page 19: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/19.jpg)
Positioning the Map
![Page 20: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/20.jpg)
Map Blending
![Page 21: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/21.jpg)
Surface Reflectivity
• Ambient Reflection
• Diffuse Reflection
• Specular Reflection
• Reflection maps
• Environment Maps
• Glow/Incandescence
![Page 22: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/22.jpg)
Surface Reflectivity
![Page 23: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/23.jpg)
Reflection/Environment Maps
![Page 24: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/24.jpg)
Color Maps
![Page 25: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/25.jpg)
Surface Texture/Roughness
• Visual textures – like brick wallpaper.
• Spatial textures/roughness – mod geometry.
• Bump maps – modify surface normals.
• Displacement maps
• 2D Procedural `Texture’ maps.
• 3D Procedural `Texture’ maps.
![Page 26: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/26.jpg)
![Page 27: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/27.jpg)
![Page 28: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/28.jpg)
![Page 29: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/29.jpg)
Bump Map Example
![Page 30: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/30.jpg)
![Page 31: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/31.jpg)
2d Procedural texture maps
![Page 32: Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get](https://reader036.vdocument.in/reader036/viewer/2022081603/56649e8f5503460f94b934f7/html5/thumbnails/32.jpg)
3D Procedural texture maps