Graphics Lighting Fogging Alpha Blending Progressive Meshes ByeongSeon
Graphics Lighting, Fogging, Alpha Blending & Progressive Meshes Byeong-Seon Jeong 2002. 1. 22 cgvr. korea. ac. kr Graphics Lab @ Korea University
Contents n n n CGVR Lighting Fogging Alpha Blending Progressive Meshes Demo cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting n CGVR Ambient Light is effectively everywhere in a scene n a general level of light that fills an entire scene n has no position or direction, only color and intensity n n Direct Light n Point o o give off light equally in all directions have color and position within a scene, but no single direction cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(directional) n CGVR Directional emit parallel light o have only color and direction, not position o a light source at near infinite distance, such as the sun o cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(spot) n CGVR Spot is made up of a bright inner cone and a larger outer cone o have color, position, and direction in which they emit light o cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(global illumination) n CGVR Global Illumination n Formula cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(ambient) n CGVR Lighting Model n Ambient provides constant lighting for a scene o lights all object vertices the same o Formula o cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(ambient) o CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(ambient) n CGVR Source Code cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(diffuse) n CGVR Diffuse comes from one direction o is scattered equally in all directions once it hits a surface o Formula o cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(diffuse) o CGVR Attenuation Factor cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(diffuse) o CGVR Spotlight Factor cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(diffuse) o CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(diffuse) o CGVR Source Code cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(specular) n CGVR Specular comes from a particular direction o tends to bounce off the surface in a preferred direction o Shiny metal, plastic o Formula o cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(specular) o CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(specular) o CGVR Source Code cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(emissive) n CGVR Emissive is emitted by an object o Glow o Formula o cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(emissive) o CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Lighting(emissive) o CGVR Source Code cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging n CGVR Fogging Adding fog to a 3 -D scene can enhance realism n provide ambiance or set a mood, and obscure artifacts n Formula n cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging(factors) n CGVR Factors o Linear cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging(factors) o CGVR Exp cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging(factors) o CGVR Exp 2 cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging(graph) n CGVR The Illumination graph of the formula cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging(scene) n CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Fogging(source code) n CGVR Source code cgvr. korea. ac. kr Graphics Lab @ Korea University
Alpha Blending n CGVR Alpha Blending combines the color value of the processed polygon pixel with the pixel already stored in the frame buffer n Formula n cgvr. korea. ac. kr Graphics Lab @ Korea University
Alpha Blending(scene) n CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Alpha Blending(source code) n CGVR Source Code cgvr. korea. ac. kr Graphics Lab @ Korea University
Progressive Meshes n CGVR Progressive Meshes A progressive mesh is one in which the vertex information is stored internally in a special tree that can be accessed to render the mesh with any number of vertices. n This procedure is fast, so progressive meshes are ideal for level-of-detail scenarios, where objects in the distance are rendered with fewer polygons. n cgvr. korea. ac. kr Graphics Lab @ Korea University
Progressive Meshes(diagram) n CGVR Progressive Mesh Flow Diagram Graphic files Ex. *. 3 DS, *. ASE etc Dynamic LOD *. X file load Material & Texture setup Progressive Mesh creation Initialization cgvr. korea. ac. kr Rendering User input Ex: Distance Progressive Mesh Level Control Update frame Graphics Lab @ Korea University
Progressive Meshes(scene) n CGVR Scene cgvr. korea. ac. kr Graphics Lab @ Korea University
Demo cgvr. korea. ac. kr CGVR Graphics Lab @ Korea University
- Slides: 34