3D Computer Graphics a Mathematical Introduction with Opengl Revision Draft Draft A.10.B

Total Page:16

File Type:pdf, Size:1020Kb

3D Computer Graphics a Mathematical Introduction with Opengl Revision Draft Draft A.10.B 3D Computer Graphics A Mathematical Introduction with OpenGL Revision draft Draft A.10.b. May 28, 2019 Samuel R. Buss May 28, 2019 This is a draft of a second edition of the book, intended for use by students in Math 155AB at UCSD during Winter-Spring 2019. This draft is available for use for your personal study or projects. Reports of errata or other corrections will be greatly appreciated. All rights reserved. Copyright, Sam Buss, 2019. ii iii To my family Teresa, Stephanie, and Ian iv Contents Table of Contents v Preface xi I Introduction 1 I.1 Points, lines and triangles . 2 I.1.1 Rectangular arrays of pixels . 2 I.1.2 Vectorgraphics .................... 4 I.1.3 Triangles . 5 I.2 Coordinatesystems ....................... 5 I.3 Points, lines and triangles in OpenGL . 7 I.3.1 Loading vertices into a VAO and VBO . 7 I.3.2 Drawing points and lines . 11 I.3.3 Drawing triangles . 14 I.3.4 Rendering with element arrays . 16 I.3.5 Differentcolorspervertex . 17 I.3.6 Face orientation and culling . 19 I.3.7 Wireframe triangles . 21 I.4 Vertexshadersandfragmentshaders . 21 I.4.1 Very simple vertex and fragment shader example . 22 I.4.2 A fragment shader modifying the color . 24 I.4.3 Flat shading . 24 I.4.4 Hiddensurfaces .................... 25 I.5 Animation with double buffering . 27 I.6 Antialiasing with supersampling . 29 I.7 Additionalexercises ....................... 29 II TransformationsandViewing 31 II.1 Transformationsin2-space . 34 II.1.1 Basic definitions . 35 II.1.2 Matrix representation of linear transformations . 38 II.1.3 Rigid transformations and rotations . 42 II.1.4 Homogeneouscoordinates. 46 II.1.5 Matrix representation of an affine transformation . 47 v II.1.6 Two dimensional transformations for computer graphics ........................ 49 II.1.7 Another outlook on composing transformations . 53 II.1.8 Two dimensional projective geometry . 55 II.2 Transformationsin3-space . 57 II.2.1 Movingfrom2-spaceto3-space . 57 II.2.2 Asolarsystemexample. 61 II.2.3 TransformationsandOpenGL . 63 II.2.4 Uniform variables and generic vertex attributes. 67 II.2.5 SolarsysteminOpenGL . 69 II.2.6 Derivation of the rotation matrix . 71 II.2.7 Euler’stheorem .................... 74 II.2.8 Three dimensional projective geometry . 77 II.3 Projectiontransformationsandperspective . 78 II.3.1 Orthographic viewing transformations . 79 II.3.2 Perspective viewing transformations . 81 II.3.3 The power of 4 4matrices ............. 86 II.3.4 Mapping lines to× lines . 87 II.3.5 Anotheruseforprojection: shadows. 88 II.3.6 z-fighting........................ 89 II.3.7 The OpenGL perspective transformations. 90 II.4 Additionalexercises ....................... 93 III The Rendering Pipeline 97 III.1 The core rendering pipeline . 97 III.2 A more detailed look at the rendering pipeline . 99 III.3 Mappingtopixels ........................ 101 III.3.1 Bresenhamalgorithm . 105 III.3.2 The perils of floating point roundoff . 108 III.4 Additionalexercises . 110 IV Lighting,Illumination,andShading 111 IV.1 ThePhonglightingmodel . 114 IV.1.1 Diffusereflection. 117 IV.1.2 Specularreflection. 118 IV.1.3 Ambient reflection and emissivity . 122 IV.1.4 Putting it together: multiple lights and colors . 122 IV.1.5 Schlick’s Fresnel term for specular reflection . 124 IV.1.6 Attenuation and spotlight effects . 125 IV.2 GouraudandPhongshading . 127 IV.3 Computingsurfacenormals. 130 IV.4 Affine transformationsandnormalvectors . 134 IV.5 LightandmaterialpropertiesinOpenGL . 137 IV.6 ShaderprogramsforPhonglighting . 137 IV.7 TheCook-Torrancelightingmodel . 142 IV.7.1 Bidirectional reflectivity . 142 vi IV.7.2 OverviewofCook-Torrance. 144 IV.7.3 The microfacet distribution term . 146 IV.7.4 The geometric surface occlusion term . 147 IV.7.5 TheFresnelterm . 153 IV.8 Additionalexercises . 155 V Averaging and Interpolation 159 V.1 Linear interpolation . 160 V.1.1 Interpolation between two points . 160 V.1.2 Weighted averages and affine combinations . 161 V.1.3 Interpolation on three points: barycentric coordinates163 V.2 Bilinear and trilinear interpolation . 171 V.2.1 Bilinear interpolation . 171 V.2.2 Inverting bilinear interpolation . 177 V.2.3 Trilinear interpolation . 182 V.3 Convexsetsandweightedaverages. 183 V.4 Interpolationand homogeneouscoordinates . 186 V.5 Hyperbolic interpolation . 188 V.6 Spherical linear interpolation . 189 V.7 InterpolationwithGLSLshaders. 192 V.8 Additionalexercises . .. .. .. .. .. .. .. .. .. 193 VI Texture Mapping 195 VI.1 Texturemappinganimage . 195 VI.1.1 Interpolatingatexturetoasurface . 197 VI.1.2 Assigning texture coordinates . 198 VI.1.3 Mipmapping and anti-aliasing . 202 VI.1.4 Stochastic supersampling . 205 VI.2 Bumpmapping ......................... 207 VI.3 Environmentmapping. 210 VI.4 TexturemappinginOpenGL . 212 VI.4.1 Loadingatexturemap . 212 VI.4.2 Specifying texture coordinates . 215 VI.4.3 Modulating color . 215 VI.4.4 Separate specular highlights . 216 VI.4.5 Managing multiple texture maps . 217 VI.4.6 Environment mapping in OpenGL . 218 VII Color 221 VII.1 Colorperception. .. .. .. .. .. .. .. .. .. .. 221 VII.2 Representationofcolorvalues . 224 VII.2.1 Additive and subtractive colors . 225 VII.2.2 RepresentationofRGBcolors . 226 VII.2.3 Hue, saturation, and luminance . 228 VII.3 GammacorrectionandsRGBcolor . 231 VII.3.1 UsingsRGBversusRGB . 232 vii VII.4 Exercises ............................. 235 VIII B´ezier Curves 237 VIII.1 B´eziercurvesofdegreethree . 238 VIII.2 DeCasteljau’smethod . 242 VIII.3 Recursivesubdivision . 243 VIII.4 PiecewiseB´eziercurves . 247 VIII.5 Hermite polynomials . 249 VIII.6 B´eziercurvesofgeneraldegree . 250 VIII.7 DeCasteljau’smethod,revisited . 255 VIII.8 Recursive subdivision, revisited . 256 VIII.9 Degreeelevation . 258 VIII.10B´eziersurfacepatches . 260 VIII.10.1Basic properties of B´ezier patches . 260 VIII.10.2Joining B´ezier patches . 263 VIII.11B´ezier curvesand surfacesin OpenGL . 266 VIII.11.1B´eziercurves. 266 VIII.11.2B´ezierpatches . 268 VIII.12RationalB´eziercurves. 270 VIII.13Conic sections with rational B´ezier curves . 272 VIII.14Surfaceofrevolutionexample . 279 VIII.15Interpolating with B´ezier curves . 282 VIII.15.1Catmull-Rom splines . 282 VIII.15.2Bessel-Overhausersplines . 283 VIII.15.3Tension-continuity-bias splines . 287 VIII.16Interpolating with B´ezier surfaces . 290 VIII.17Additionalexercises . 294 IX B-Splines 297 IX.1 UniformB-splinesofdegreethree . 298 IX.2 Non-uniformB-splines. 302 IX.3 Examplesofnon-uniformB-splines . 306 IX.4 Propertiesofnon-uniformB-splines . 312 IX.5 ThedeBooralgorithm .. .. .. .. .. .. .. .. .. 316 IX.6 Blossoms ............................. 322 IX.7 Derivatives and smoothness of B-spline curves . 327 IX.8 Knotinsertion .......................... 330 IX.9 B´ezierandB-splinecurves . 333 IX.10 Degreeelevation . .. .. .. .. .. .. .. .. .. .. 335 IX.11 RationalB-splinesandNURBS . 336 IX.12 Interpolating with B-splines . 337 IX.13 Additionalexercises . 340 viii X Ray Tracing 343 X.1 Basicraytracing......................... 344 X.1.1 Local lighting and reflection rays . 349 X.1.2 Transmissionrays . 351 X.1.3 Putting it all together . 355 X.2 Advancedraytracingtechniques . 357 X.2.1 Distributed ray tracing . 357 X.2.2 Backwardsraytracing . 366 X.3 Specialeffectswithoutraytracing . 368 XI Intersection Testing 375 XI.1 Fastintersectionswithrays. 376 XI.1.1 Rayversussphereintersections . 376 XI.1.2 Ray versus plane intersections . 379 XI.1.3 Ray versus triangle intersections . 381 XI.1.4 Ray versus convex polytope intersections . 383 XI.1.5 Ray versus cylinder intersections . 387 XI.1.6 Ray versus quadric intersections . 388 XI.1.7 Ray versus B´ezier patch intersections . 389 XI.2 Pruningintersectiontests . 389 XII Radiosity 395 XII.1 Theradiosityequations . 397 XII.1.1 Patches, light levels, and form factors . 397 XII.1.2 High-level description of the radiosity algorithm . 401 XII.2 Calculationofformfactors . 402 XII.2.1 Theraytracingmethod. 405 XII.2.2 Thehemicubemethod . 405 XII.3 Solving the radiosity equations . 408 XII.3.1 Iterativemethods . 408 XII.3.2 Jacobiiteration . 412 XII.3.3 Gauss-Seidel iteration . 413 XII.3.4 Theshootingmethod . 414 XIII Animation and Kinematics 417 XIII.1 Overview ............................. 417 XIII.1.1 Techniques evolved from traditional animation . 418 XIII.1.2 Computerized animation . 420 XIII.2 Animation of position . 422 XIII.2.1 Easein: fixedtarget. 422 XIII.2.2 Easein: movingtarget . 423 XIII.3 Representationsoforientations . 424 XIII.3.1 Rotationmatrices . 425 XIII.3.2 Yaw,pitch,androll . 426 XIII.3.3 Quaternions . 428 XIII.3.4 Theoretical development of quaternions . 430 ix XIII.3.5 Representing rotations with quaternions . 433 XIII.3.6 Quaternion and rotation matrix conversions . 435 XIII.3.7 Interpolation of quaternions . 437 XIII.4 Kinematics ............................ 439 XIII.4.1 Rigid links and joints . 440 XIII.4.2 Forwardkinematics . 441 XIII.4.3 Inverse kinematics, setting it up . 444 XIII.4.4 Inverse kinematics, finding a local solution . 447 A Mathematics Background 455 A.1 Preliminaries . 455 A.2 Vectorsandvectorproducts . 456 A.2.1 Vectors in R2 .....................456 A.2.2 Vectors in R3 .....................461 A.3 Matrices .............................463 A.3.1 Matrices and vector products in R3 ......... 464 A.3.2 Determinants, inverses, and adjoints . ..
Recommended publications
  • Using Typography and Iconography to Express Emotion
    Using typography and iconography to express emotion (or meaning) in motion graphics as a learning tool for ESL (English as a second language) in a multi-device platform. A thesis submitted to the School of Visual Communication Design, College of Communication and Information of Kent State University in partial fulfillment of the requirements for the degree of Master of Fine Arts by Anthony J. Ezzo May, 2016 Thesis written by Anthony J. Ezzo B.F.A. University of Akron, 1998 M.F.A., Kent State University, 2016 Approved by Gretchen Caldwell Rinnert, M.G.D., Advisor Jaime Kennedy, M.F.A., Director, School of Visual Communication Design Amy Reynolds, Ph.D., Dean, College of Communication and Information TABLE OF CONTENTS TABLE OF CONTENTS .................................................................................... iii LIST OF FIGURES ............................................................................................ v LIST OF TABLES .............................................................................................. v ACKNOWLEDGEMENTS ................................................................................ vi CHAPTER 1. THE PROBLEM .......................................................................................... 1 Thesis ..................................................................................................... 6 2. BACKGROUND AND CONTEXT ............................................................. 7 Understanding The Ell Process ..............................................................
    [Show full text]
  • 3D Graphics Fundamentals
    11BegGameDev.qxd 9/20/04 5:20 PM Page 211 chapter 11 3D Graphics Fundamentals his chapter covers the basics of 3D graphics. You will learn the basic concepts so that you are at least aware of the key points in 3D programming. However, this Tchapter will not go into great detail on 3D mathematics or graphics theory, which are far too advanced for this book. What you will learn instead is the practical implemen- tation of 3D in order to write simple 3D games. You will get just exactly what you need to 211 11BegGameDev.qxd 9/20/04 5:20 PM Page 212 212 Chapter 11 ■ 3D Graphics Fundamentals write a simple 3D game without getting bogged down in theory. If you have questions about how matrix math works and about how 3D rendering is done, you might want to use this chapter as a starting point and then go on and read a book such as Beginning Direct3D Game Programming,by Wolfgang Engel (Course PTR). The goal of this chapter is to provide you with a set of reusable functions that can be used to develop 3D games. Here is what you will learn in this chapter: ■ How to create and use vertices. ■ How to manipulate polygons. ■ How to create a textured polygon. ■ How to create a cube and rotate it. Introduction to 3D Programming It’s a foregone conclusion today that everyone has a 3D accelerated video card. Even the low-end budget video cards are equipped with a 3D graphics processing unit (GPU) that would be impressive were it not for all the competition in this market pushing out more and more polygons and new features every year.
    [Show full text]
  • Flood Insurance Rate Map (FIRM) Graphics Guidance
    Guidance for Flood Risk Analysis and Mapping Flood Insurance Rate Map (FIRM) Graphics November 2019 Requirements for the Federal Emergency Management Agency (FEMA) Risk Mapping, Assessment, and Planning (Risk MAP) Program are specified separately by statute, regulation, or FEMA policy (primarily the Standards for Flood Risk Analysis and Mapping). This document provides guidance to support the requirements and recommends approaches for effective and efficient implementation. The guidance, context, and other information in this document is not required unless it is codified separately in the aforementioned statute, regulation, or policy. Alternate approaches that comply with all requirements are acceptable. For more information, please visit the FEMA Guidelines and Standards for Flood Risk Analysis and Mapping webpage (www.fema.gov/guidelines-and-standards-flood-risk-analysis-and- mapping). Copies of the Standards for Flood Risk Analysis and Mapping policy, related guidance, technical references, and other information about the guidelines and standards development process are all available here. You can also search directly by document title at www.fema.gov/library. FIRM Graphics November 2019 Guidance Document 6 Page i Document History Affected Section or Date Description Subsection This guidance has been revised to align various November descriptions and specifications to standard operating Sections 4.3 and 5.2 2019 procedures, including labeling of structures and application of floodway and special floodway notes. FIRM Graphics November
    [Show full text]
  • Introduction to Scalable Vector Graphics
    Introduction to Scalable Vector Graphics Presented by developerWorks, your source for great tutorials ibm.com/developerWorks Table of Contents If you're viewing this document online, you can click any of the topics below to link directly to that section. 1. Introduction.............................................................. 2 2. What is SVG?........................................................... 4 3. Basic shapes............................................................ 10 4. Definitions and groups................................................. 16 5. Painting .................................................................. 21 6. Coordinates and transformations.................................... 32 7. Paths ..................................................................... 38 8. Text ....................................................................... 46 9. Animation and interactivity............................................ 51 10. Summary............................................................... 55 Introduction to Scalable Vector Graphics Page 1 of 56 ibm.com/developerWorks Presented by developerWorks, your source for great tutorials Section 1. Introduction Should I take this tutorial? This tutorial assists developers who want to understand the concepts behind Scalable Vector Graphics (SVG) in order to build them, either as static documents, or as dynamically generated content. XML experience is not required, but a familiarity with at least one tagging language (such as HTML) will be useful. For basic XML
    [Show full text]
  • Seminar 'Typ 1 Aufgaben Qualitätsvoll Erstellen'
    Seminar ’Typ 1 Aufgaben qualitätsvoll erstellen’ Konzett, Weberndorfer LATEX in der Schule Oktober 2019 1 / 41 1 Bilder einfügen 2 Erstellen von GeoGebra Grafiken Konzett, Weberndorfer LATEX in der Schule Oktober 2019 2 / 41 1 Bilder einfügen 2 Erstellen von GeoGebra Grafiken Konzett, Weberndorfer LATEX in der Schule Oktober 2019 3 / 41 Bilder einfügen Bilder können über folgenden Befehl eingebettet werden: Konzett, Weberndorfer Bilder einfügen Oktober 2019 4 / 41 Bilder einfügen Bilder können über folgenden Befehl eingebettet werden: \includegraphics[width=0.5\textwidth]{Grafik.jpg} Konzett, Weberndorfer Bilder einfügen Oktober 2019 4 / 41 Bilder einfügen Bilder können über folgenden Befehl eingebettet werden: \includegraphics[width=0.5\textwidth]{Grafik.jpg} Wichtig: Die Bilder müssen in dem selben Ordner liegen wie die .tex-Datei (oder der Dateipfad muss angegeben werden) Konzett, Weberndorfer Bilder einfügen Oktober 2019 4 / 41 Bilder einfügen A Mit LTEX ⇒ PDF : Konzett, Weberndorfer Bilder einfügen Oktober 2019 5 / 41 Bilder einfügen A Mit LTEX ⇒ PDF : Einfügen von Standard-Grafikformaten möglich (.jpg, .png, .pdf,...) Konzett, Weberndorfer Bilder einfügen Oktober 2019 5 / 41 Bilder einfügen A Mit LTEX ⇒ PDF : Einfügen von Standard-Grafikformaten möglich (.jpg, .png, .pdf,...) Aber: Kein Einbetten von Geogebra-Grafiken möglich Konzett, Weberndorfer Bilder einfügen Oktober 2019 5 / 41 Bilder einfügen A Mit LTEX ⇒ PDF : Einfügen von Standard-Grafikformaten möglich (.jpg, .png, .pdf,...) Aber: Kein Einbetten von Geogebra-Grafiken möglich A
    [Show full text]
  • An Online System for Classifying Computer Graphics Images from Natural Photographs
    An Online System for Classifying Computer Graphics Images from Natural Photographs Tian-Tsong Ng and Shih-Fu Chang fttng,[email protected] Department of Electrical Engineering Columbia University New York, USA ABSTRACT We describe an online system for classifying computer generated images and camera-captured photographic images, as part of our effort in building a complete passive-blind system for image tampering detection (project website at http: //www.ee.columbia.edu/trustfoto). Users are able to submit any image from a local or an online source to the system and get classification results with confidence scores. Our system has implemented three different algorithms from the state of the art based on the geometry, the wavelet, and the cartoon features. We describe the important algorithmic issues involved for achieving satisfactory performances in both speed and accuracy as well as the capability to handle diverse types of input images. We studied the effects of image size reduction on classification accuracy and speed, and found different size reduction methods worked best for different classification methods. In addition, we incorporated machine learning techniques, such as fusion and subclass-based bagging, in order to counter the effect of performance degradation caused by image size reduction. With all these improvements, we are able to speed up the classification speed by more than two times while keeping the classification accuracy almost intact at about 82%. Keywords: Computer graphics, photograph, classification, online system, geometry features, classifier fusion 1. INTRODUCTION The level of photorealism capable by today’s computer graphics makes distinguishing photographic and computer graphic images difficult.
    [Show full text]
  • The Latex Graphics Companion / Michel Goossens
    i i “tlgc2” — 2007/6/15 — 15:36 — page iii — #3 i i The LATEXGraphics Companion Second Edition Michel Goossens Frank Mittelbach Sebastian Rahtz Denis Roegel Herbert Voß Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City i i i i i i “tlgc2” — 2007/6/15 — 15:36 — page iv — #4 i i Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers discounts on this book when ordered in quantity for bulk purchases and special sales. For more information, please contact: U.S. Corporate and Government Sales (800) 382-3419 [email protected] For sales outside of the United States, please contact: International Sales [email protected] Visit Addison-Wesley on the Web: www.awprofessional.com Library of Congress Cataloging-in-Publication Data The LaTeX Graphics companion / Michel Goossens ... [et al.]. -- 2nd ed. p. cm. Includes bibliographical references and index. ISBN 978-0-321-50892-8 (pbk. : alk. paper) 1.
    [Show full text]
  • Graphics Formats and Tools
    Graphics formats and tools Images à recevoir Stand DRG The different types of graphics format Graphics formats can be classified broadly in 3 different groups -Vector - Raster (or bitmap) - Page description language (PDL) Graphics formats and tools 2 Vector formats In a vector format (revisable) a line is defined by 2 points, the text can be edited Graphics formats and tools 3 Raster (bitmap) format A raster (bitmap) format is like a photograph; the number of dots/cm defines the quality of the drawing Graphics formats and tools 4 Page description language (PDL) formats A page description language is a programming language that describes the appearance of a printed page at a higher level than an actual output bitmap Adobe’s PostScript (.ps), Encapsulated PostScript (.eps) and Portable Document Format (.pdf) are some of the best known page description languages Encapsulated PostScript (.eps) is commonly used for graphics It can contain both unstructured vector information as well as raster (bitmap) data Since it comprises a mixture of data, its quality and usability are variable Graphics formats and tools 5 Background Since the invention of computing, or more precisely since the creation of computer-assisted drawing (CAD), two main professions have evolved - Desktop publishing (DTP) developed principally on Macintosh - Computer-assisted drawing or design (CAD) developed principally on IBM (International Business Machines) Graphics formats and tools 6 Use of DTP applications Used greatly in the fields of marketing, journalism and industrial design, DTP applications fulfil the needs of various professions - from sketches and mock-ups to fashion design - interior design - coachwork (body work) design - web page design -etc.
    [Show full text]
  • Interactive Topographic Web Mapping Using Scalable Vector Graphics
    University of Nebraska at Omaha DigitalCommons@UNO Student Work 12-1-2003 Interactive topographic web mapping using scalable vector graphics Peter Pavlicko University of Nebraska at Omaha Follow this and additional works at: https://digitalcommons.unomaha.edu/studentwork Recommended Citation Pavlicko, Peter, "Interactive topographic web mapping using scalable vector graphics" (2003). Student Work. 589. https://digitalcommons.unomaha.edu/studentwork/589 This Thesis is brought to you for free and open access by DigitalCommons@UNO. It has been accepted for inclusion in Student Work by an authorized administrator of DigitalCommons@UNO. For more information, please contact [email protected]. INTERACTIVE TOPOGRAPHIC WEB MAPPING USING SCALABLE VECTOR GRAPHICS A Thesis Presented to the Department of Geography-Geology and the Faculty of the Graduate College University of Nebraska in Partial Fulfillment of the Requirements for the Degree Master of Arts University of Nebraska at Omaha by Peter Pavlicko December, 2003 UMI Number: EP73227 All rights reserved INFORMATION TO ALL USERS The quality of this reproduction is dependent upon the quality of the copy submitted. In the unlikely event that the author did not send a complete manuscript and there are missing pages, these will be noted. Also, if material had to be removed, a note will indicate the deletion. Dissertation WWisMng UMI EP73227 Published by ProQuest LLC (2015). Copyright in the Dissertation held by the Author. Microform Edition © ProQuest LLC. All rights reserved. This work is protected against unauthorized copying under Title 17, United States Code ProQuest LLC. 789 East Eisenhower Parkway P.O. Box 1346 Ann Arbor, Ml 48106-1346 THESIS ACCEPTANCE Acceptance for the faculty of the Graduate College, University of Nebraska, in Partial fulfillment of the requirements for the degree Master of Arts University of Nebraska Omaha Committee ----------- Uf.A [JL___ Chairperson.
    [Show full text]
  • Rendering Synthetic Objects Into Real Scenes
    ToappearintheSIGGRAPH98conferenceproceedings RenderingSyntheticObjectsintoRealScenes: BridgingTraditionalandImage-basedGraphicswithGlobalIllumination andHighDynamicRangePhotography PaulDebevec UniversityofCaliforniaatBerkeley 1 ABSTRACT 1Introduction Renderingsyntheticobjectsintoreal-worldscenesisanimportant Wepresentamethodthatusesmeasuredsceneradianceandglobal applicationofcomputergraphics,particularlyinarchitecturaland illuminationinordertoaddnewobjectstolight-basedmodelswith visualeffectsdomains.Oftentimes,apieceoffurniture,aprop,or correctlighting.Themethodusesahighdynamicrangeimage- adigitalcreatureoractorneedstoberenderedseamlesslyintoa basedmodelofthescene,ratherthansyntheticlightsources,toil- realscene.Thisdif®culttaskrequiresthattheobjectsbelitcon- luminatethenewobjects.Tocomputetheillumination,thesceneis sistentlywiththesurfacesintheirvicinity,andthattheinterplayof consideredasthreecomponents:thedistantscene,thelocalscene, lightbetweentheobjectsandtheirsurroundingsbeproperlysimu- andthesyntheticobjects.Thedistantsceneisassumedtobepho- lated.Speci®cally,theobjectsshouldcastshadows,appearinre¯ec- tometricallyunaffectedbytheobjects,obviatingtheneedforre- tions,andrefract,focus,andemitlightjustasrealobjectswould. ¯ectancemodelinformation.Thelocalsceneisendowedwithes- timatedre¯ectancemodelinformationsothatitcancatchshadows andreceivere¯ectedlightfromthenewobjects.Renderingsare createdwithastandardglobalilluminationmethodbysimulating Distant theinteractionoflightamongstthethreecomponents.Adifferen- Scene tialrenderingtechniqueallowsforgoodresultstobeobtainedwhen
    [Show full text]
  • Applied Art and Design (AAD) 1
    Applied Art and Design (AAD) 1 AAD 0053. Publication Design II APPLIED ART AND DESIGN Units: 3 Prerequisite: Completion of AAD 52, 54 or 62 with grade of "C" or better (AAD) Hours: 72 (36 lecture, 36 activity) Page layout for developing and producing high-quality multi-page AAD 0012. Visual Communication documents. Emphasis on publication design, production, typography, Units: 3 graphics, and pre-press. Includes research and application of effective Also known as COMM 12 magazine layout concepts, cover design, grid theory, graphics, text Hours: 54 lecture elements and printing standards and processes. (CSU) Study of visual communication including design principles, aesthetics, AAD 0054. Typography visual perception, non-verbal messages, relationship to verbal Units: 3 communication, audience analysis, mass media and persuasion. Prerequisite: Completion of AAD 52, 53, 61, 62, or 75 with grade of "C" or Historical overview of visual media as well as current trends and better technology. (C-ID JOUR 170) (CSU, UC) Advisory: Completion of AAD 60 with grade of "C" or better AAD 0020. Portfolio Development and Presentation Hours: 72 (36 lecture, 36 activity) Units: 3 A professional and historical approach to understanding typographic Advisory: Completion of AAD 70, 75, or 85 with grade of "C" or better principles and form, effects of type on the style and communication Hours: 72 (36 lecture, 36 activity) in print and screen. Includes study of historical and contemporary Function and use of the portfolio as a marketing device for artists and graphics and typographic design, conceptualizing, developing and designers. Styles, materials, resources in portfolio design. Evaluation of refining typographical forms, methods for analyzing typographic usage, professional goals and image building.
    [Show full text]
  • Graphics for Latex Users (Arstexnica, Numero 28, 2019)
    Graphics for LATEX users Agostino De Marco Abstract able, coherent, and visually satisfying whole that works invisibly, without the awareness of the reader. This article presents the most important ways to Typographers and graphic designers claim that an produce technical illustrations, diagrams and plots, A even distribution of typeset material and graphics, which are relevant to LTEX users. Graphics is a with a minimum of distractions and anomalies, is huge subject per se, therefore this is by no means aimed at producing clarity and transparency. This an exhaustive tutorial. And it should not be so is even more true for scientific or technical texts, since there are usually different ways to obtain where also precision and consistency are of the an equally satisfying visual result for any given utmost importance. graphic design. The purpose is to stimulate read- Authors of technical texts are required to be ers’ creativity and point them to the right direc- aware and adhere to all the typographical conven- tion. The article emphasizes the role of tikz for A tions on symbols. The most important rule in all programmed graphics and of inkscape as a LTEX- circumstances is consistency. This means that a aware visual tool. A final part on scientific plots given symbol is supposed to always be presented in presents the package pgfplots. the same way, whether it appears in the text body, a title, a figure, a table, or a formula. A number Sommario of fairly distinct subjects exist in the matter of typographical conventions where proven typeset- Questo articolo presenta gli strumenti più impor- ting rules have been established.
    [Show full text]