Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 21.

Slides:



Advertisements
Similar presentations
Tesselation Shaders. Tesselation  dictionary definition of tesselate is the forming of a mosaic.
Advertisements

D3D11 Tessellation Sarah Tariq NVIDIA
OpenGL: Simple Use Open a window and attach OpenGL to it Set projection parameters (e.g., field of view) Setup lighting, if any Main rendering loop –Set.
CMPE 466 COMPUTER GRAPHICS
CS 4363/6353 BASIC RENDERING. THE GRAPHICS PIPELINE OVERVIEW Vertex Processing Coordinate transformations Compute color for each vertex Clipping and Primitive.
Results / Compared to Relief Mapping It does not scale linearly with screen coverage as does the other techniques. However, for larger displacements, it.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 4.
Hardware Support for Non-photorealistic Rendering: A summary Paper last updated by Ramesh Raskar February 2002 Presented by Rachel Probert.
Damon Rocco.  Tessellation: The filling of a plane with polygons such that there is no overlap or gap.  In computer graphics objects are rendered as.
Pixel Shader Vertex Shader The Real-time Graphics Pipeline Input Assembler Rasterizer Output Merger.
Shading Languages By Markus Kummerer. Markus Kummerer 2 / 19 State of the Art Shading.
CS CS 175 – Week 4 Triangle Mesh Smoothing Discrete Differential Geometry.
Geometry CLASSIFYING SOLIDS. Prisms  Prisms are named for their base shape:  Rectangular Prism  Triangular Prism  Hexagonal Prism  Pentagonal Prism.
Final Exam Rooms: Wednesday, June 10, :30 – 9:00 am.
Areas of Segments of Circles SWBAT: To find the areas of segments of circles.
CS 450: Computer Graphics REVIEW: OVERVIEW OF POLYGONS
CS 480/680 Computer Graphics Course Overview Dr. Frederick C Harris, Jr. Fall 2012.
What is ? Open Graphics Library A cross-language, multi-platform API for rendering 2D and 3D computer graphics. The API is used to interact with a Graphics.
CHAPTER 4 Window Creation and Control © 2008 Cengage Learning EMEA.
Chapter Surface Area and Volume of Spheres.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 5.
Image Synthesis Rabie A. Ramadan, PhD 1. 2 About my self Rabie A. Ramadan My website and publications
1 Graphics CSCI 343, Fall 2015 Lecture 4 More on WebGL.
Geometry Review AREA 1. Find the measure of each interior angle of the regular polygon shown below. 2.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 2.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Make an isometric drawing of the cube structure below.
Tiled Forward Shading Johan Medeström. Project Goals Render a scene with lots of lights Learn more OpenGL and shading techniques Learn more about OpenCL/Compute.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 6.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Appendix A.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Geometry Shader (GLSL)
In the name of God Computer Graphics Bastanfard. Curve Function(2) Other method is approximate it using a poly-line. Just locate a set of points along.
컴퓨터 그래픽스 Real-time Rendering 1. Introduction.
GEOMETRY IN MY LIFE BY AMANDA HORTON. CIRCLE A circle is a round shape with no edges points this shape has 1 face.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Programming with OpenGL Part 4: Color and Attributes Isaac Gang University.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 13.
Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 12.
Graphics Programming. Graphics Functions We can think of the graphics system as a black box whose inputs are function calls from an application program;
COMP 175 | COMPUTER GRAPHICS Remco Chang1/XX13 – GLSL Lecture 13: OpenGL Shading Language (GLSL) COMP 175: Computer Graphics April 12, 2016.
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 14.
By Joey Green. What is a geometry shader? Demo Go over code More geometry shader info Transform Feedback Render To Cube Map Final Project.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Introduction to Computer Graphics Dr Usman Saeed Assistant Professor Faculty of Computing.
3D MODELLING PART-3 Wikitechy.
Lesson 8-1 Course Check Skills You’ll Need 8-5
CENG 789 – Digital Geometry Processing 04- Mesh Data Structures
Date of download: 10/13/2017 Copyright © ASME. All rights reserved.
The Graphic PipeLine
School of Computer Science
Introduction to OpenGL
Chapter 6 GPU, Shaders, and Shading Languages
Chapter 5 Surface Area.
Introduction to Computer Graphics with WebGL
Programming with OpenGL Part 4: Color and Attributes
NPR & Screen Effects Renguo Feng.
Geometry in our world Name:.
Lecture 13 Clipping & Scan Conversion
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 9.
Introduction to Computer Graphics
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 8.
Chapter XVIII Surface Tessellation
Programming with OpenGL Part 4: Color and Attributes
Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 19.
© 2012 Elsevier, Inc. All rights reserved.
Introduction to OpenGL
Computer Graphics (under.) Sep., 2017
Introduction to Computer Graphics
CIS 6930: Chip Multiprocessor: GPU Architecture and Programming
Presentation transcript:

Computer Graphics Through OpenGL: From Theory to Experiments, Second Edition Chapter 21

Figure 21.1: Screenshot of helixListShaderized- InstancedVertAttrib.- cpp.

Figure 21.2: Screenshot of helixListShaderized- ShaderCounter.cpp.

Figure 21.3: Screenshot of ballAndTorusClipped.cpp.

Figure 21.4: Screenshot of ballAndTorusShader- Subroutines.cpp.

Figure 21.5: Screenshot of ballAndTorusPicking- Shaderized.cpp moments after the ball has been clicked.

Figure 21.6: Screenshot of ballAndTorus- TransformFeedback.cpp when the balls are close.

Figure 21.7: Screenshot of fieldAndSkyTextures- BlendedShaderized.cpp late morning.

Figure 21.8: Screenshot of points.cpp initially.

Figure 21.9: OpenGL programmable pipeline.

Figure 21.10: Arc of a circle defined by 3 points.

Figure 21.11: Tessellation shader scheme.

Figure 21.12: Screenshot of tessellatedCurve.cpp initially.

Figure 21.13: Tessellating quads.

Figure 21.14: Tessellating isolines.

Figure 21.15: tessellatedCurve.cpp's tessellated patch domain.

Figure 21.16: Patch domain for triangles.

Figure 21.17: Tessellating triangles.

Figure 21.18: Final tessellated triangle for the example tessellation levels.

Figure 21.19: Screenshot of tessellatedHemisphere.cpp.

Figure 21.20: Hemisphere on top of a cylinder.

Figure 21.21: (a) GL_LINES_ADJACENCY primitive (b) GL_LINE_STRIP_ADJACENCY primitive. Arrows indicate line orientation. Unfilled points and broken arrows represent adjacency information – if there is no geometry shader present, these are discarded and only the filled points and unbroken segments rendered.

Figure 21.22: (a) GL_TRIANGLES_ADJACENCY primitive (b) GL_TRIANGLE_STRIP_ADJACENCY primitive. Arrows indicate triangle orientation (the shaded strip of triangles is consistently oriented). Unfilled points and broken arrows represent adjacency information – if there is no geometry shader present, these are discarded and only the shaded triangles rendered. (c) Torus mesh with one GL_TRIANGLE_STRIP_ADJACENCY primitive labeled.

Figure 21.23: Screenshot of torusSilhouette.cpp in silhouette mode.

Figure 21.24: Making a silhouette edge.