PPT-OpenGL Texture Mapping

Author : celsa-spraggs | Published Date : 2016-07-27

2 Basic Stragegy Three steps to applying a texture specify the texture read or generate image assign to texture enable texturing assign texture coordinates to vertices

Presentation Embed Code

Download Presentation

Download Presentation The PPT/PDF document "OpenGL Texture Mapping" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

OpenGL Texture Mapping: Transcript


2 Basic Stragegy Three steps to applying a texture specify the texture read or generate image assign to texture enable texturing assign texture coordinates to vertices Proper mapping function is left to application. Graphics with OpenGL/GLUT What is OpenGL? • OpenGL ( Open G raphics L ibrary) • A software interface to graphics hardware • a standard specification defining a cross - language, c Graphics Programming. Katia Oleinik: koleinik@bu.edu. Graphics Programming. OpenGL. Low-level API. cross-language . cross-platform . 2D, 3D computer graphics. GLUT - The OpenGL Utility Toolkit. simple, easy and small. Phil . Napieralski, . Doug Erickson, Richard McKinney. Program . Manager, . Senior Content Developer, CTO . Halfbrick. 3-189. Getting started . Bringing . OpenGL ES 2.0 to . DirectX. Case . Study by . Course: Computer Graphics. Presented by Fan Chen. fchen@cs.kent.edu. Outline. Why Texture Mapping?. What is Texture Mapping?. Texture Mapping in OpenGL. Why Texture Mapping?. Model. Model + Texture+ Shading. Computer Graphics . Sessional. Virtual Realism. TEXTURE MAPPING. The Quest for Visual Realism . Why Texture Map? . So far we have done flat shading and . Gouraud. /. Phong. shading. Not good to represent everything in real world. WebGL. . Drawing Functions. CSCI 440. Day Five. OpenGL History. 1991. - SGI . Inc. current - . Khronos. consortium. 2004. - OpenGL 2.0 . replaced 1.5. added the GLSL . shader. language. 2008. - OpenGL 3.0 . The programmable. (D3D 10) Pipeline. Pixel Stage. Vertex Stage. User / Driver. First: . the. . fixed. . function. . pipeline. Transform & Lighting. Rasterizer. Texturing. Blending/Ops. Texture 3. Window reshaping, Keyboard interaction, Camera, Drawing objects. George Georgiev. Telerik Corporation. www.telerik.com. Table of Contents. Project using OpenGL & FreeGLUT in MSVC++. Window reshaping. Outline. Course Map. Set up a Project for . Texturing. GLEW and . FreeImage. Overview. Texture Mapping . Prepare Texture. Render with Texture. Multi-texturing. Environment Mapping (cube). 2. Fixed Pipeline. Introduction . to Procedural Methods in 3D Computer . Animation. Dr. Midori Kitagawa. In class. Pay attention. Take notes. Learn. Be ready for a pop quiz. Week 10: . Mapping. Texture mapping. Texture coordinates (UV coordinates). It is . NOT. a . programming language. .. It . is a Graphics Rendering . API. . consisting of a . set of . functions . with . a well . defined interface.. Whenever . we say that a program is OpenGL-based or OpenGL applications, we mean that it is written in some programming language (such as C/C or Java) that makes calls to one or more of OpenGL libraries. CSS 552 – TOPICS IN RENDERING. PROBLEM. UV Texture mapping is less flexible due to its tight coupling with the geometry.. Defining UV coordinates for mesh is daunting.. SOLUTION. Projection Texture mapping to the rescue.. 1. Texture Mapping. Applying an image (or a . texture. ) to geometry. 2D images (rectangular). 3D images (volumetric – such as a CAT scan). Adds realism to the scene. A vertex can have:. A 3D position (x, y, z) – 3 floats. Katia Oleinik: koleinik@bu.edu. Graphics Programming. OpenGL. Low-level API. cross-language . cross-platform . 2D, 3D computer graphics. GLUT - The OpenGL Utility Toolkit. simple, easy and small. window system independent toolkit for writing OpenGL programs;.

Download Document

Here is the link to download the presentation.
"OpenGL Texture Mapping"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.

Related Documents