Nic Shulver, 3D with Ray Tracing What is Ray Tracing? l“In computer graphics, an advanced technique for adding realism to an image.

Slides:



Advertisements
Similar presentations
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Advertisements

Lecture 14 Illumination II – Global Models
CLASS 9 ADVANCE RENDERING RAY TRACING RADIOSITY LIGHT FIELD CS770/870.
Part I: Basics of Computer Graphics
Lighting and Illumination Lighting is the major problem in computer graphics, for either realism or real-time compositions- harder than modeling Consider.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Ray Tracing Variants Distributed ray tracing Generalized rays Cone Tracing Beam Tracing Pencil.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Illumination Model & Surface-rendering Method 박 경 와.
Course Website: Computer Graphics 18: Ray-tracing.
Christian Lauterbach COMP 770, 2/11/2009
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
18.1 Si31_2001 SI31 Advanced Computer Graphics AGR Lecture 18 Image-based Rendering Light Maps What We Did Not Cover Learning More...
Computer Graphics (Fall 2005) COMS 4160, Lecture 21: Ray Tracing
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
Ray Casting Ray-Surface Intersections Barycentric Coordinates Reflection and Transmission [Shirley, Ch.9] Ray Tracing Handouts Ray Casting Ray-Surface.
Parallelizing Raytracing Gillian Smith CMPE 220 February 19 th, 2008.
1 7M836 Animation & Rendering Global illumination, ray tracing Arjan Kok
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
Real-Time Ray Tracing 3D Modeling of the Future Marissa Hollingsworth Spring 2009.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Other Rendering Techniques Types of rendering – Wireframe techniques – Scan-line conversion – Reyes.
Introduction to 3D Graphics John E. Laird. Basic Issues u Given a internal model of a 3D world, with textures and light sources how do you project it.
CSC418 Computer Graphics n Raytracing n Shadows n Global Illumination.
Computer Graphics An Introduction. Computer Graphics 26/9/2008Lecture 12 What’s this course all about? We will cover… Graphics programming and algorithms.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
What is Computer Graphics and Image Processing? lAll visual computer output depends on computer graphics and image processing. l3D computer graphics is.
CSS 522 Topics in Rendering March 01,2011 Scott and Lew.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Engineering Graphics Stephen W. Crown Ph.D.
Nic Shulver, Texture in 3D Modelling Texture mapping - how and why? lTexture mapping (including surface normal effects) is widely.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
-Global Illumination Techniques
Project Raytracing. Content Goals Idea of Raytracing Ray Casting – Therory – Practice Raytracing – Theory – Light model – Practice Output images Conclusion.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
INTRODUCTION INTRODUCTION Computer Graphics: As objects: images generated and/or displayed by computers. As a subject: the science of studying how to generate.
1 Dr. Scott Schaefer Ray Tracing. 2/42 Ray Tracing Provides rendering method with  Refraction/Transparent surfaces  Reflective surfaces  Shadows.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
Business and Computing Deanery 3D Modelling Tools Week 18 More on materials.
Gene Au-yeung, Daniel Quach, Jeffrey Su, Albert Wang, Jessica Wang, David Woo.
CS 325 Introduction to Computer Graphics 03 / 24 / 2010 Instructor: Michael Eckmann.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.

1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Recursion and Data Structures in Computer Graphics Ray Tracing 1.
Course Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Applied Mathematics Lecture and laboratory.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Basic Ray Tracing CMSC 435/634.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
CSCE 441: Computer Graphics Ray Tracing
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
RENDERING : Global Illumination
Solid Modeling Dr. Scott Schaefer.
3D Rendering Techniques Light Source: Shading is also dependent on the lighting used. Usually, upon rendering a scene a number of different lighting techniques.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
CS552: Computer Graphics Lecture 36: Ray Tracing.
Lesson Plan: Drafting and Design J6-2. What is 3D solid modeling? How do 3D solid modeling programs work?
Basic Ray Tracing CMSC 435/634.
CSE 167 [Win 17], Lecture 15: Ray Tracing Ravi Ramamoorthi
Photorealistic Rendering vs. Interactive 3D Graphics
Ray Tracing Dr. Scott Schaefer.
© University of Wisconsin, CS559 Fall 2004
Image synthesis using classical optics
Image.
Dr. Jim Rowan ITEC 2110 Vector Graphics II
CSCE 441: Computer Graphics Ray Tracing
Dr. Jim Rowan ITEC 2110 Vector Graphics II
Presentation transcript:

Nic Shulver, 3D with Ray Tracing What is Ray Tracing? l“In computer graphics, an advanced technique for adding realism to an image by including variations in shade, color intensity, and shadows that would be produced by having one or more light sources.” [Webopedia]computer graphicsWebopedia l“A rendering method that simulates light reflections, refractions and shadows. It follows a light path from a specific source and computes each pixel in the image to simulate the effect of the light. It is a very process- intensive operation.” [PCmag Encyclopedia]Encyclopedia

Nic Shulver, 3D with Ray Tracing What is raytracing? lIt’s a graphics technique for rendering very realistic scenes. lAnd a method of creating highly unreal scenes that look plausible, too. lEach pixel’s colour is calculated from a reasonably accurate physics model. lThe path of a notional “light ray” is traced from the screen out into the scene.

Nic Shulver, 3D with Ray Tracing Tracing the path of a ray... lThe colour of a pixel is calculated by tracing the ray from the viewpoint, through the pixel until an intersection is found. lFurther rays may be generated and they are traced, and so on. lDull, opaque objects tend to stop a ray, but shiny objects reflect and transparent objects can generate extra rays.

Nic Shulver, 3D with Ray Tracing Tracing the path of a ray

Nic Shulver, 3D with Ray Tracing Limitations lPerfect parallel mirrors are an obvious problem - most raytracers have a fixed “cut-off” depth. lSome ray tracers add a “glow” to all objects to help simulate ambient lighting. lComplex scenes may require a lot of memory and an enormous amount of time to process.

Nic Shulver, 3D with Ray Tracing Performance lIn a scene of 100 primitive objects, rendered at a resolution of 640 by 480 pixels, the minimum number of intersection tests (using the simplest ray tracing algorithm) is in excess of 30 million. lIn practice, objects are bound by spheres or boxes to simplify intersection tests. Only if the ray intersects with the bounding shape is it worth testing the “complex” shape.

Nic Shulver, 3D with Ray Tracing Constructive Solid Geometry lPrimitive shapes (spheres, boxes, cones, cylinders) are not terribly useful on their own. lCSG gives us a way to build complicated shapes by merging, joining and subtracting primitives. lYou can weld shapes together or use one shape to take a chunk out of another with CSG.

Nic Shulver, 3D with Ray Tracing CSG types lunion (and merge) objects “glued” together - may overlap. Merging loses the edges inside the composite object. lintersection the new object exists only where all the original shapes overlapped. ldifference removes a shape from another.

Nic Shulver, 3D with Ray Tracing Boolean Set Operators lUnion - edges maintained lMerge - edges lost

Nic Shulver, 3D with Ray Tracing Boolean Set Operators lIntersection lDifference

Nic Shulver, 3D with Ray Tracing Practicalities lDifference is often implemented by complement and Intersection lRay tracing procedures have to be modified to determine the surfaces of the CSG objects lSurfaces are generated for a CSG object by using the texture of the primitive that formed that surface

Nic Shulver, 3D with Ray Tracing References/Links lRay Tracing, G. Scott Owen, SIGgraph rGraph/raytrace/rtrace0.htm rGraph/raytrace/rtrace0.htm lThe Internet Raytracing Competition lGoogle search “define:Ray tracing” more&defl=en&q=define:Ray+tracing more&defl=en&q=define:Ray+tracing