Beyond Gnuplot: An introduction to POV-Ray

Size: px
Start display at page:

Download "Beyond Gnuplot: An introduction to POV-Ray"

Transcription

1 Beyond Gnuplot: An introduction to POV-Ray Timothy Jones Drexel University May 28, 2008

2 What is raytracing? Step 1: Get a light source.

3 What is raytracing? Step 2: Get a camera.

4 What is raytracing? Step 3: Get an object.

5 What is raytracing? Step 4: Ray trace.

6 What is POV-Ray? The Persistence of Vision Raytracer a freely available leading free raytracer. Ray tracing origins: In the 1980s, David Kirk Buck (real name) hacks around with the ancient Unix raytracer Amiga, eventually deciding to write his own version. He creatively calls it DKBTrace. Posted on ancient communication device called bulletin board system. Snowballs into POV-Ray. Street-cred: First raytracer to render an image while in space (rendered by astronaut Mark Shuttleworth on the ISS); used by Intel to demonstrate new processors, etc.

7 Get it right. POV-Ray is free software, not open source. If you don t know the difference, you probably have a life.

8 Features Lots of technical features of interest to graphics designers. Makes great use of classical optics. Many features consume a lot of processor time, thus I don t use them for my simulations, just the basics. POV-Ray is well documented on-line.

9 Known knowns and known unknowns What POV-Ray can do: Improved photo-realism via ray-tracing (an important part of the evolved human visual system) Better feel for data and easier presentation Animation for extra dimension What POV-Ray can t do: Plots aren t typically journal-quality (too 3D) Sophisticated visualizations (like masking) available in such programs as VISIT aren t pre-programed.

10 An example from the internets The famous Utah teapot: POV-Ray uses more sophisticated algorithms than simple photon raytracing, including radiosity and other optical effects, and focal blur and other camera effects.

11 The finest example: Glasses by artist Gilles Tran

12 Practical examples: Algebraic Topology figure Goal: To create a visualization of the concept of contractibility via space homotopy to a single point. First we set the lighting, background, and camera position and angle. camera { location <0.5, 0.8,-5> look_at <0,0,0> } light_source {<0, 20, -30> color White} light_source {<0,-10,-500> color White} background {rgb <1,1,1>}

13 Practical examples: Algebraic Topology figure Build up the blob space. We use spheres and the blob function of POV-Ray. The threshold gives us a measure of blobiness. blob { threshold.65 sphere { <.5,0.3,0.2>, 0.5, 0.5 pigment {Yellow} } sphere { <0,0.6,0>,1.3, 1 pigment {Red} } sphere { <0.5,1,-0.5>,0.8, 0.5 pigment {Yellow} } sphere { <-1,0.7,0>, 1, 0.5 pigment {Gold} } texture{glass} finish { phong 0.8 } }

14 Practical examples: Algebraic Topology figure Finally draw a few homotopy paths (in this case the problem called for a composition of functions). We use cylinders to show these paths and a sphere to mark our single-point. sphere {<0.2,0.4,-1.5>,0.05 pigment{black} finish { phong 0.9 }} cylinder {<.5,0.3,0.2>,<0.8,0.2,-3>, 0.01 texture{pigment{color Green} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder {<0.8,0.2,-3>,<0.2,0.4,-1.5>, 0.01 texture{pigment{color Blue} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder { <0,0.6,0>,<-0.8,1.2,-3>, 0.01 texture{pigment{color Green} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder {<-0.8,1.2,-3>,<0.2,0.4,-1.5>, 0.01 texture{pigment{color Blue} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder { <0.5,1,-0.5>,<0.8,1,-3>, 0.01 texture{pigment{color Green} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder {<0.8,1,-3>,<0.2,0.4,-1.5>, 0.01 texture{pigment{color Blue} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder { <-1,0.7,0>,<-0.8,0.2,-2>, 0.01 texture{pigment{color Green} finish {ambient 0.45 diffuse 0.55 phong 1}}} cylinder {<-0.8,0.2,-2>,<0.2,0.4,-1.5>, 0.01 texture{pigment{color Blue} finish {ambient 0.45 diffuse 0.55 phong 1}}}

15 Practical examples: Algebraic Topology figure

16 Practical examples: Astrophysics (microlensing) A friend in astrophysics wants to give a really great postdoc job talk. He has a number of concept figures which POV-Ray could do quite well, and a friend who knows POV-Ray (me). To make a gravitational lens diagram such as he had, we use POV-Rays spline (generates smooth curve from discreet points) and lathe (generates by rotation) functions: #declare bottle = lathe { quadratic_spline 7, <29/40,2-(113-59)/59>, <22/40,2-(104-59)/59>, <14/40,2-(88-59)/59>,<7/40,2-(67-59)/59>, <3.8/40,2 -(47-59)/59>,<2/40,2 -(28-59)/59>, <0,3> sturm } #declare bottle2 = lathe { quadratic_spline 7, <29/40,2-(113-59)/59>, <22/40,2-(104-59)/59>, <14/40,2-(88-59)/59>,<7/40,2-(67-59)/59>, <3.8/40,2 -(47-59)/59>,<2/40,2 -(28-59)/59>, <0,3> sturm }

17 Practical examples: Astrophysics (microlensing) Since the figure is to be conceptual, and is used to discuss the analogy between classical lensing and gravitational lensing, we wish to give it a glass texture. We also wish to treat the two pieces created in the previous slide as one, so we use the union tag. Notice that POV-Ray is sophisticated enough that we can give ray transmission percentage (transmit) and index of refraction (ior) inputs. union{ object { bottle interior { ior 1.04 } pigment{color Yellow transmit.7} texture{glass} finish{phong.8} translate<0, ,0> } object { bottle2 interior { ior 1.04 } pigment{color Yellow transmit.7} texture{glass} finish{phong.8} rotate <180,0,0> translate<0,0.29+(2-(113-59)/59)-0.12,0> } rotate<0,0,90> scale<0.3,3.2,0> }

18 Practical examples: Astrophysics (microlensing) We can show the rays and sources using cylinder and sphere commands. The resulting figure compares well with the original.

19 Other figure examples...

20 Other figure examples...

21 Other figure examples...

22 Other figure examples...

23 Other figure examples...

24 Other figure examples...

25 Finally...all films are made up of frames. POV-Ray has built in animation routines that are incredibly easy to use. You can find many examples on my web-page: The complete set of codes for making these animations are made available for reverse engineering. The best of these animations has been compiled into a short film...

L15 POV-Ray - Part 1

L15 POV-Ray - Part 1 Geophysical Computing L15-1 L15 POV-Ray - Part 1 1. What is POV-Ray? POV-Ray stands for the Persistance of Vision Raytracer. POV-Ray belongs to a class of programs called ray tracers. For you seismologists

More information

Ray Tracer Due date: April 27, 2011

Ray Tracer Due date: April 27, 2011 Computer graphics Assignment 4 1 Overview Ray Tracer Due date: April 27, 2011 In this assignment you will implement the camera and several primitive objects for a ray tracer, and a basic ray tracing algorithm.

More information

More on POV-Ray Surface Shading Surface color

More on POV-Ray Surface Shading Surface color More on POV-Ray Surface Shading Once an object is defined, we need to deal with other issues such as Surface color pigment Surface properties finish Surface color Pigment statement The color or pattern

More information

A more realistic model of heart structure

A more realistic model of heart structure Chapter 9 A more realistic model of heart structure Sequential and random rendering processes 9.1 Introduction 9.2 Heart model based on POV-Ray 3.7 smooth triangle object Bob Hughes has written, in year

More information

A Quick Introduction to POV-Ray

A Quick Introduction to POV-Ray A Quick Introduction to POV-Ray POV-Ray, the Persistence of Vision ray tracer, is open source software available from www.povray.org. This is good, highly functional software that you might enjoy playing

More information

Topics and things to know about them:

Topics and things to know about them: Practice Final CMSC 427 Distributed Tuesday, December 11, 2007 Review Session, Monday, December 17, 5:00pm, 4424 AV Williams Final: 10:30 AM Wednesday, December 19, 2007 General Guidelines: The final will

More information

Review. Stephen J. Guy

Review. Stephen J. Guy Review Stephen J. Guy Overview Pixar short Review last class Review course Area of Graphics Image Processing Rendering Modeling Animation Misc Area of Graphics Image Processing Rendering Modeling Animation

More information

COS 116 The Computational Universe Laboratory 10: Computer Graphics

COS 116 The Computational Universe Laboratory 10: Computer Graphics COS 116 The Computational Universe Laboratory 10: Computer Graphics As mentioned in lecture, computer graphics has four major parts: imaging, rendering, modeling, and animation. In this lab you will learn

More information

Chapter 9- Ray-Tracing

Chapter 9- Ray-Tracing Ray-tracing is used to produce mirrored and reflective surfaces. It is also being used to create transparency and refraction (bending of images through transparent surfaceslike a magnifying glass or a

More information

L16 Povray - Part 2. Our previous examples showed us how to make objects solid colors. To remind us, let s draw a sphere and make it red:

L16 Povray - Part 2. Our previous examples showed us how to make objects solid colors. To remind us, let s draw a sphere and make it red: Geophysical Computing L16-1 L16 Povray - Part 2 1. Pigment In the previous lecture we have briefly introduced pigments. This section should tell you pretty much everything you need to know about them.

More information

RAYTRACING. Christopher Peters INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION. HPCViz, KTH Royal Institute of Technology, Sweden

RAYTRACING. Christopher Peters INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION. HPCViz, KTH Royal Institute of Technology, Sweden DH2323 DGI15 INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION RAYTRACING HPCViz, KTH Royal Institute of Technology, Sweden http://kth.academia.edu/christopheredwardpeters Based on DGI12 notes by Carl

More information

COMP371 COMPUTER GRAPHICS

COMP371 COMPUTER GRAPHICS COMP371 COMPUTER GRAPHICS SESSION 15 RAY TRACING 1 Announcements Programming Assignment 3 out today - overview @ end of the class Ray Tracing 2 Lecture Overview Review of last class Ray Tracing 3 Local

More information

Render methods, Compositing, Post-process and NPR in NX Render

Render methods, Compositing, Post-process and NPR in NX Render Render methods, Compositing, Post-process and NPR in NX Render Overview What makes a good rendered image Render methods in NX Render Foregrounds and backgrounds Post-processing effects Compositing models

More information

Announcements. Written Assignment 2 out (due March 8) Computer Graphics

Announcements. Written Assignment 2 out (due March 8) Computer Graphics Announcements Written Assignment 2 out (due March 8) 1 Advanced Ray Tracing (Recursive) Ray Tracing Antialiasing Motion Blur Distribution Ray Tracing Ray Tracing and Radiosity Assumptions Simple shading

More information

Chapter 12- NURBS & Meta Shape Basics

Chapter 12- NURBS & Meta Shape Basics Chapter 12- NURBS & Meta Shape Basics When you press Shift-A for Add, you will notice other object types beside meshes, cameras and lights that can be created. Two types of objects that can be created

More information

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics Announcements Assignment 4 will be out later today Problem Set 3 is due today or tomorrow by 9am in my mail box (4 th floor NSH) How are the machines working out? I have a meeting with Peter Lee and Bob

More information

COS 116 The Computational Universe Laboratory 10: Computer Graphics

COS 116 The Computational Universe Laboratory 10: Computer Graphics COS 116 The Computational Universe Laboratory 10: Computer Graphics As mentioned in lecture, computer graphics has four major parts: imaging, rendering, modeling, and animation. In this lab you will learn

More information

Section 2 Flat Mirrors. Distinguish between specular and diffuse reflection of light. Apply the law of reflection for flat mirrors.

Section 2 Flat Mirrors. Distinguish between specular and diffuse reflection of light. Apply the law of reflection for flat mirrors. Section 2 Flat Mirrors Objectives Distinguish between specular and diffuse reflection of light. Apply the law of reflection for flat mirrors. Describe the nature of images formed by flat mirrors. Section

More information

CHAPTER 1 Graphics Systems and Models 3

CHAPTER 1 Graphics Systems and Models 3 ?????? 1 CHAPTER 1 Graphics Systems and Models 3 1.1 Applications of Computer Graphics 4 1.1.1 Display of Information............. 4 1.1.2 Design.................... 5 1.1.3 Simulation and Animation...........

More information

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/22/2017

Computer Graphics. Si Lu. Fall uter_graphics.htm 11/22/2017 Computer Graphics Si Lu Fall 2017 http://web.cecs.pdx.edu/~lusi/cs447/cs447_547_comp uter_graphics.htm 11/22/2017 Last time o Splines 2 Today o Raytracing o Final Exam: 14:00-15:30, Novermber 29, 2017

More information

Rendering and Radiosity. Introduction to Design Media Lecture 4 John Lee

Rendering and Radiosity. Introduction to Design Media Lecture 4 John Lee Rendering and Radiosity Introduction to Design Media Lecture 4 John Lee Overview Rendering is the process that creates an image from a model How is it done? How has it been developed? What are the issues

More information

CSCI 4972/6963 Advanced Computer Graphics Quiz 2 Tuesday April 17, 2007 noon-1:30pm

CSCI 4972/6963 Advanced Computer Graphics Quiz 2 Tuesday April 17, 2007 noon-1:30pm CSCI 4972/6963 Advanced Computer Graphics Quiz 2 Tuesday April 17, 2007 noon-1:30pm Name: RCS username: This quiz is closed book & closed notes except for one 8.5x11 (double-sided) sheet of notes. Please

More information

Assignment 6: Ray Tracing

Assignment 6: Ray Tracing Assignment 6: Ray Tracing Programming Lab Due: Monday, April 20 (midnight) 1 Introduction Throughout this semester you have written code that manipulated shapes and cameras to prepare a scene for rendering.

More information

Movie: For The Birds. Announcements. Ray Tracing 1. Programming 2 Recap. Programming 3 Info Test data for part 1 (Lines) is available

Movie: For The Birds. Announcements. Ray Tracing 1. Programming 2 Recap. Programming 3 Info Test data for part 1 (Lines) is available Now Playing: Movie: For The Birds Pixar, 2000 Liar Built To Spill from You In Reverse Released April 11, 2006 Ray Tracing 1 Rick Skarbez, Instructor COMP 575 November 1, 2007 Announcements Programming

More information

CS 325 Computer Graphics

CS 325 Computer Graphics CS 325 Computer Graphics 04 / 02 / 2012 Instructor: Michael Eckmann Today s Topics Questions? Comments? Illumination modelling Ambient, Diffuse, Specular Reflection Surface Rendering / Shading models Flat

More information

Lecture 32 of 41. Lab 6: Ray Tracing with ACM SIGGRAPH Demo & POV-Ray

Lecture 32 of 41. Lab 6: Ray Tracing with ACM SIGGRAPH Demo & POV-Ray Lab 6: Ray Tracing with ACM SIGGRAPH Demo & POV-Ray William H. Hsu Department of Computing and Information Sciences, KSU KSOL course pages: http://bit.ly/hgvxlh / http://bit.ly/evizre Public mirror web

More information

Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015

Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015 Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015 What is rendering? Generating an image from a 3D scene model Ingredients Representation of 3D geometry Specification for camera & lights

More information

There are many kinds of surface shaders, from those that affect basic surface color, to ones that apply bitmap textures and displacement.

There are many kinds of surface shaders, from those that affect basic surface color, to ones that apply bitmap textures and displacement. mental ray Overview Mental ray is a powerful renderer which is based on a scene description language. You can use it as a standalone renderer, or even better, integrated with 3D applications. In 3D applications,

More information

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ]

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ] CSCI 420 Computer Graphics Lecture 15 Ray Tracing Ray Casting Shadow Rays Reflection and Transmission [Ch. 13.2-13.3] Jernej Barbic University of Southern California 1 Local Illumination Object illuminations

More information

Let s Make a (3 6 ) D (3 6 ) L Chiral Tessellation Dance

Let s Make a (3 6 ) D (3 6 ) L Chiral Tessellation Dance Bridges 2012: Mathematics, Music, Art, Architecture, Culture Let s Make a (3 6 ) D (3 6 ) L Chiral Tessellation Dance Joseph D. Clinton Retired 334 Mackenzie Drive West Chester, PA, 19380-3816, USA E-mail:

More information

CGI and Pixar. In my opinion, one of the most fascinating applications of computer graphics

CGI and Pixar. In my opinion, one of the most fascinating applications of computer graphics Kevin Day Special Assignment EECS 487 CGI and Pixar In my opinion, one of the most fascinating applications of computer graphics technology has been its implementation in film. The convincing effects of

More information

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13 Lecture 1 Computer Graphics and Systems What is Computer Graphics? Image Formation Sun Object Figure from Ed Angel,D.Shreiner: Interactive Computer Graphics, 6 th Ed., 2012 Addison Wesley Computer Graphics

More information

L18 POV-Ray - Part 4

L18 POV-Ray - Part 4 Geophysical Computing L18-1 L18 POV-Ray - Part 4 1. Volume Visualization In this lecture we will talk about how to do volume visualization in POV-Ray. I haven t found a large number of examples on the

More information

RAYTRACING AS A TOOL FOR LEARNING COMPUTER GRAPHICS. Ching-Kuang Shene CAMERA, LIGHTS, OBJECTS, AND COLOR

RAYTRACING AS A TOOL FOR LEARNING COMPUTER GRAPHICS. Ching-Kuang Shene CAMERA, LIGHTS, OBJECTS, AND COLOR RAYTRACING AS A TOOL FOR LEARNING COMPUTER GRAPHICS Ching-Kuang Shene Abstract The commonly used programming approach in teaching computer graphics requires students to learn a lot before they can generate

More information

Rendering Engines - Specific tools may depend on "Rendering Engine"

Rendering Engines - Specific tools may depend on Rendering Engine Week 5 3DS Max, Cameras, Lighting and Materials Rendering - Process of turning geometry into pixels Rendering Engines - Specific tools may depend on "Rendering Engine" 1. Internal (3DS MAX) ART (Autodesk

More information

Graphics File Formats

Graphics File Formats 1 Graphics File Formats Why have graphics file formats? What to look for when choosing a file format A sample tour of different file formats, including bitmap-based formats vector-based formats metafiles

More information

Lighting & 3D Graphics. Images from 3D Creative Magazine

Lighting & 3D Graphics. Images from 3D Creative Magazine Lighting & 3D Graphics Images from 3D Creative Magazine Contents Introduction Definitions 3D Lighting Basics 3D Light Sources Lighting Controls & Effects Brightness & Colour Shadows Hotspot And Falloff

More information

LucidShape Computer Aided Lighting Overview. Willi Brandenburg brandenburg gmbh

LucidShape Computer Aided Lighting Overview. Willi Brandenburg brandenburg gmbh LucidShape Computer Aided Lighting Overview Willi Brandenburg brandenburg gmbh www.brandenburg-gmbh.de Overview Simulation LucidFunGeo Optic design Lit Appearance Optimizer Other Street lighting 2 Simulation

More information

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. 11 11.1 Basics So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. Global models include incident light that arrives

More information

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007 Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007 Programming For this assignment you will write a simple ray tracer. It will be written in C++ without

More information

Evolution of Imaging Technology in Computer Graphics. Related Areas

Evolution of Imaging Technology in Computer Graphics. Related Areas Evolution of Imaging Technology in Computer Graphics Jonas Gomes Rio de Janeiro http://www.visgraf.impa.br Image computation Related Areas 1 Related Areas An integrated view Problems on the frontiers Graphical

More information

CS 5625 Lec 2: Shading Models

CS 5625 Lec 2: Shading Models CS 5625 Lec 2: Shading Models Kavita Bala Spring 2013 Shading Models Chapter 7 Next few weeks Textures Graphics Pipeline Light Emission To compute images What are the light sources? Light Propagation Fog/Clear?

More information

Goals. Computer Graphics (Fall 2008) Course Outline. Course Outline. Course Outline. Demo: Surreal and Crazy World (HW 3)

Goals. Computer Graphics (Fall 2008) Course Outline. Course Outline. Course Outline. Demo: Surreal and Crazy World (HW 3) Computer Graphics (Fall 2008) COMS 4160, Lecture 1: Overview and History Ravi Ramamoorthi http://www.cs.columbia.edu/~cs4160 Goals Systems: Be able to write complex 3D graphics programs (real-time in OpenGL,

More information

The Animation Process. Lighting: Illusions of Illumination

The Animation Process. Lighting: Illusions of Illumination The Animation Process Lighting: Illusions of Illumination Lighting = realism Although real people versus real clay/plastic is up to textures Realistic lighting = render time Some properties of lights Colour

More information

Person s Optics Test SSSS

Person s Optics Test SSSS Person s Optics Test SSSS 2017-18 Competitors Names: School Name: All questions are worth one point unless otherwise stated. Show ALL WORK or you may not receive credit. Include correct units whenever

More information

POVRAY: a tool for scientific visualisation Paul Bourke WASP, UWA

POVRAY: a tool for scientific visualisation Paul Bourke WASP, UWA POVRAY: a tool for scientific visualisation Paul Bourke WASP, UWA Introduction POVRay is a raytracer. For each position (pixels) in the image plane rays are traced from a virtual camera into a scene. The

More information

CMSC427 Final Practice v2 Fall 2017

CMSC427 Final Practice v2 Fall 2017 CMSC427 Final Practice v2 Fall 2017 This is to represent the flow of the final and give you an idea of relative weighting. No promises that knowing this will predict how you ll do on the final. Some questions

More information

diverging. We will be using simplified symbols of ideal lenses:

diverging. We will be using simplified symbols of ideal lenses: Chapter 4 Lenses A good reading for the beginning may be this Wikipedia article, down to the section Lensmaker s Equation (but not including). Beginning from the Lensmaker s Equation section the article

More information

Advanced Maya Texturing and Lighting

Advanced Maya Texturing and Lighting Advanced Maya Texturing and Lighting Lanier, Lee ISBN-13: 9780470292730 Table of Contents Introduction. Chapter 1 Understanding Lighting, Color, and Composition. Understanding the Art of Lighting. Using

More information

03. 3ds Max Design & Mental Ray

03. 3ds Max Design & Mental Ray Design + Computing 03. 3ds Max Design & Mental Ray 9/23/2015 CAD & Graphics II HOM2027 Fall 2014 Every Wednesday 2:00 pm 5:50 pm Jin Kook Lee, PhD. 02-2220-2645 designit@hanyang.ac.kr Assistant Professor,

More information

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project To do Continue to work on ray programming assignment Start thinking about final project Lighting Course Outline 3D Graphics Pipeline Modeling (Creating 3D Geometry) Mesh; modeling; sampling; Interaction

More information

Shading. Brian Curless CSE 557 Autumn 2017

Shading. Brian Curless CSE 557 Autumn 2017 Shading Brian Curless CSE 557 Autumn 2017 1 Reading Optional: Angel and Shreiner: chapter 5. Marschner and Shirley: chapter 10, chapter 17. Further reading: OpenGL red book, chapter 5. 2 Basic 3D graphics

More information

Texture Mapping. Images from 3D Creative Magazine

Texture Mapping. Images from 3D Creative Magazine Texture Mapping Images from 3D Creative Magazine Contents Introduction Definitions Light And Colour Surface Attributes Surface Attributes: Colour Surface Attributes: Shininess Surface Attributes: Specularity

More information

Photorealism: Ray Tracing

Photorealism: Ray Tracing Photorealism: Ray Tracing Reading Assignment: Chapter 13 Local vs. Global Illumination Local Illumination depends on local object and light sources only Global Illumination at a point can depend on any

More information

Lecture 5 Chapter 1 & 2. Sources of light

Lecture 5 Chapter 1 & 2. Sources of light We are here Lecture 5 Chapter 1 & 2 Some history of technology How vision works What is light Wavelength and Frequency: c = f λ Scientific notation and metric units Electromagnetic spectrum Transmission

More information

All forms of EM waves travel at the speed of light in a vacuum = 3.00 x 10 8 m/s This speed is constant in air as well

All forms of EM waves travel at the speed of light in a vacuum = 3.00 x 10 8 m/s This speed is constant in air as well Pre AP Physics Light & Optics Chapters 14-16 Light is an electromagnetic wave Electromagnetic waves: Oscillating electric and magnetic fields that are perpendicular to the direction the wave moves Difference

More information

CS451Real-time Rendering Pipeline

CS451Real-time Rendering Pipeline 1 CS451Real-time Rendering Pipeline JYH-MING LIEN DEPARTMENT OF COMPUTER SCIENCE GEORGE MASON UNIVERSITY Based on Tomas Akenine-Möller s lecture note You say that you render a 3D 2 scene, but what does

More information

Advanced Maya e Texturing. and Lighting. Second Edition WILEY PUBLISHING, INC.

Advanced Maya e Texturing. and Lighting. Second Edition WILEY PUBLISHING, INC. Advanced Maya e Texturing and Lighting Second Edition Lee Lanier WILEY PUBLISHING, INC. Contents Introduction xvi Chapter 1 Understanding Lighting, Color, and Composition 1 Understanding the Art of Lighting

More information

Planar Graphs and Surfaces. Graphs 2 1/58

Planar Graphs and Surfaces. Graphs 2 1/58 Planar Graphs and Surfaces Graphs 2 1/58 Last time we discussed the Four Color Theorem, which says that any map can be colored with at most 4 colors and not have two regions that share a border having

More information

Turn your movie file into the homework folder on the server called Lights, Camera, Action.

Turn your movie file into the homework folder on the server called Lights, Camera, Action. CS32 W11 Homework 3: Due MONDAY, APRIL 18 Now let s put the ball in a world of your making and have some fun. Create a simple AND WE MEAN SIMPLE environment for one of your ball bounces. You will assign

More information

Experiment 7 Geometric Optics

Experiment 7 Geometric Optics Physics 263 Experiment 7 Geometric Optics In this laboratory, we will perform several experiments on geometric optics. A pictorial diagram of the various components to be used is shown in Figure 5. 1 Refraction

More information

1. What is the law of reflection?

1. What is the law of reflection? Name: Skill Sheet 7.A The Law of Reflection The law of reflection works perfectly with light and the smooth surface of a mirror. However, you can apply this law to other situations. For example, how would

More information

Instructor. Goals. Image Synthesis Examples. Applications. Foundations of Computer Graphics. Why Study 3D Computer Graphics?

Instructor. Goals. Image Synthesis Examples. Applications. Foundations of Computer Graphics. Why Study 3D Computer Graphics? Foundations of Computer Graphics Motivation: Why do we study 3D Graphics? http://www.cs.berkeley.edu/~ravir Instructor http://www.cs.berkeley.edu/~ravir PhD Stanford, 2002. PhD thesis developed Spherical

More information

MITOCW MIT6_172_F10_lec18_300k-mp4

MITOCW MIT6_172_F10_lec18_300k-mp4 MITOCW MIT6_172_F10_lec18_300k-mp4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for

More information

Chapter 3: Mirrors and Lenses

Chapter 3: Mirrors and Lenses Chapter 3: Mirrors and Lenses Chapter 3: Mirrors and Lenses Lenses Refraction Converging rays Diverging rays Converging Lens Ray tracing rules Image formation Diverging Lens Ray tracing Image formation

More information

Ray tracing. Methods of Programming DV2. Introduction to ray tracing and XML. Forward ray tracing. The image plane. Backward ray tracing

Ray tracing. Methods of Programming DV2. Introduction to ray tracing and XML. Forward ray tracing. The image plane. Backward ray tracing Methods of Programming DV2 Introduction to ray tracing and XML Ray tracing Suppose we have a description of a 3-dimensional world consisting of various objects spheres, triangles (flat), planes (flat,

More information

Supporting Information. Voronoi Polyhedra Probing of Hydrated OH Radical. Lukasz Kazmierczak and Dorota Swiatla-Wojcik *

Supporting Information. Voronoi Polyhedra Probing of Hydrated OH Radical. Lukasz Kazmierczak and Dorota Swiatla-Wojcik * Electronic Supplementary Material (ESI) for RSC Advances. This journal is The Royal Society of Chemistry 2014 Supporting Information Voronoi Polyhedra Probing of Hydrated OH Radical Lukasz Kazmierczak

More information

Chapter 32 Light: Reflection and Refraction. Copyright 2009 Pearson Education, Inc.

Chapter 32 Light: Reflection and Refraction. Copyright 2009 Pearson Education, Inc. Chapter 32 Light: Reflection and Refraction Units of Chapter 32 The Ray Model of Light Reflection; Image Formation by a Plane Mirror Formation of Images by Spherical Mirrors Index of Refraction Refraction:

More information

Overview. Computer Graphics CS324. OpenGL. Books. Learning Resources. CS131 Notes. 30 Lectures 3hr Exam

Overview. Computer Graphics CS324. OpenGL. Books. Learning Resources. CS131 Notes. 30 Lectures 3hr Exam Computer Graphics CS324 Dr Abhir Bhalerao Department of Computer Science University of Warwick Coventry CV4 7AL TJA 1999-2003, AHB 2004+ 30 Lectures 3hr Exam Overview Recommended books: Hearn and Baker,

More information

Homework 3: Shading, Raytracing, and Image Processing

Homework 3: Shading, Raytracing, and Image Processing Computer Graphics CSE 457, Spring 1999 Craig Kaplan Douglas Zongker Homework 3: Shading, Raytracing, and Image Processing Received: Friday May 7, 1999 Due: Friday May 21, 1999 DIRECTIONS Please provide

More information

Assignment 2 Ray Tracing

Assignment 2 Ray Tracing Assignment 2 Ray Tracing Overview The concept of ray tracing: a technique for generating an image by tracing the path of light through pixels in an image plane and simulating the effects of its encounters

More information

Lecture Notes (Geometric Optics)

Lecture Notes (Geometric Optics) Lecture Notes (Geometric Optics) Intro: - plane mirrors are flat, smooth surfaces from which light is reflected by regular reflection - light rays are reflected with equal angles of incidence and reflection

More information

Autodesk Fusion 360: Render. Overview

Autodesk Fusion 360: Render. Overview Overview Rendering is the process of generating an image by combining geometry, camera, texture, lighting and shading (also called materials) information using a computer program. Before an image can be

More information

PHYSICS. Chapter 34 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT

PHYSICS. Chapter 34 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT PHYSICS FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E Chapter 34 Lecture RANDALL D. KNIGHT Chapter 34 Ray Optics IN THIS CHAPTER, you will learn about and apply the ray model of light Slide 34-2

More information

Materials in Kerkythea ~ a beginners guide

Materials in Kerkythea ~ a beginners guide Materials in Kerkythea ~ a beginners guide I started using Kerkythea as a way of rendering SketchUP models. I quickly found that I needed to be able to create and work with materials. I read Patrick Nieborg

More information

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection Matières 1 2 3 mapping diffuse reflection diffuse transparency reflection refraction diffuse mapping diffuse reflection diffuse reflection filter mapping bump mapping mapping mapping diffuse reflection

More information

Welcome to: Physics I. I m Dr Alex Pettitt, and I ll be your guide!

Welcome to: Physics I. I m Dr Alex Pettitt, and I ll be your guide! Welcome to: Physics I I m Dr Alex Pettitt, and I ll be your guide! Physics I: x Mirrors and lenses Lecture 13: 6-11-2018 Last lecture: Reflection & Refraction Reflection: Light ray hits surface Ray moves

More information

04. 3d Graphics UI & 3ds Max + MR

04. 3d Graphics UI & 3ds Max + MR Design + Computing 04. 3d Graphics UI & 3ds Max + MR 9/26/2014 CAD & Graphics II HOM2027 Fall 2014 Every Friday 2:00 pm 6:00 pm Jin Kook Lee, PhD. 02-2220-2645 designit@hanyang.ac.kr Assistant Professor,

More information

Geometrical Optics INTRODUCTION. Wave Fronts and Rays

Geometrical Optics INTRODUCTION. Wave Fronts and Rays Geometrical Optics INTRODUCTION In this experiment, the optical characteristics of mirrors, lenses, and prisms will be studied based on using the following physics definitions and relationships plus simple

More information

Chapter 5 Mirror and Lenses

Chapter 5 Mirror and Lenses Chapter 5 Mirror and Lenses Name: 5.1 Ray Model of Light Another model for light is that it is made up of tiny particles called. Photons travel in perfect, lines from a light source This model helps us

More information

Optics INTRODUCTION DISCUSSION OF PRINCIPLES. Reflection by a Plane Mirror

Optics INTRODUCTION DISCUSSION OF PRINCIPLES. Reflection by a Plane Mirror Optics INTRODUCTION Geometric optics is one of the oldest branches of physics, dealing with the laws of reflection and refraction. Reflection takes place on the surface of an object, and refraction occurs

More information

Visualising results. Andrea Meo. 1 st Advanced VAMPIRE Workshop

Visualising results. Andrea Meo. 1 st Advanced VAMPIRE Workshop Visualising results Andrea Meo 1 st Advanced VAMPIRE Workshop Generate output files with VAMPIRE 2 Configuration files in VAMPIRE Include statement in input file config:atoms config:atoms-output-rate=1

More information

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Ground Truth. Welcome!

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Ground Truth. Welcome! INFOGR Computer Graphics J. Bikker - April-July 2015 - Lecture 10: Ground Truth Welcome! Today s Agenda: Limitations of Whitted-style Ray Tracing Monte Carlo Path Tracing INFOGR Lecture 10 Ground Truth

More information

CS 4620 Midterm, March 21, 2017

CS 4620 Midterm, March 21, 2017 CS 460 Midterm, March 1, 017 This 90-minute exam has 4 questions worth a total of 100 points. Use the back of the pages if you need more space. Academic Integrity is expected of all students of Cornell

More information

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction Effects needed for realism Global Rendering Computer Graphics 1, Fall 2005 Lecture 7 4th ed.: Ch 6.10, 12.1-12.5 Shadows Reflections (Mirrors) Transparency Interreflections Detail (Textures etc.) Complex

More information

A Little Background. Motivation. Motivation

A Little Background. Motivation. Motivation A Little Background Ray casting Process of shooting rays into scene to get pixel colors Nonrecursive, i.e., no interreflections Origin: Arthur Appel, 1968 (earlier work by others for nonrendering) Ray

More information

Spline Morphing. CG software practical course in the IWR. Carl Friedrich Bolz. Carl Friedrich Bolz

Spline Morphing. CG software practical course in the IWR. Carl Friedrich Bolz. Carl Friedrich Bolz Spline Morphing CG software practical course in the IWR Introduction Motivation: Splines are an important part n of vector graphics, 3D-graphics, CAD/CAM,... Splines are often used to describe characters,

More information

PHYS1004 Problem Sheet - Optics - with Solutions

PHYS1004 Problem Sheet - Optics - with Solutions PHYS004 Problem Sheet - Optics - with Solutions Do not write on these question sheets - there is not enough room to do a good job of answering these questions. The answers need to be written in your life

More information

Graphics for VEs. Ruth Aylett

Graphics for VEs. Ruth Aylett Graphics for VEs Ruth Aylett Overview VE Software Graphics for VEs The graphics pipeline Projections Lighting Shading VR software Two main types of software used: off-line authoring or modelling packages

More information

GEOMETRIC OPTICS. LENSES refract light, so we need to know how light bends when entering and exiting a lens and how that interaction forms an image.

GEOMETRIC OPTICS. LENSES refract light, so we need to know how light bends when entering and exiting a lens and how that interaction forms an image. I. What is GEOMTERIC OPTICS GEOMETRIC OPTICS In geometric optics, LIGHT is treated as imaginary rays. How these rays interact with at the interface of different media, including lenses and mirrors, is

More information

Case Study: The Pixar Story. By Connor Molde Comptuer Games & Interactive Media Year 1

Case Study: The Pixar Story. By Connor Molde Comptuer Games & Interactive Media Year 1 Case Study: The Pixar Story By Connor Molde Comptuer Games & Interactive Media Year 1 Contents Section One: Introduction Page 1 Section Two: About Pixar Page 2 Section Three: Drawing Page 3 Section Four:

More information

A Short Introduction to POV-Ray

A Short Introduction to POV-Ray A Short Introduction to POV-Ray Peter Fischer, ZITI, Heidelberg University 1 What is POV-Ray? A software to produce 3D images Very easy to use (in my opinion) Simple concept to generate complex shapes

More information

============================================================================

============================================================================ 25 Free 3D modeling softwares Posted by Waldo - 2011/11/08 14:23 I thought this link may come in handy to a few designers out there. 25 Free Modeling Softwares Posted by admin - 2011/11/08 18:51 Blender

More information

Interactive Real-Time Raycasting

Interactive Real-Time Raycasting Interactive Real-Time Raycasting CS184 AS4 Due 2009-02-26 11:00pm We start our exploration of Rendering - the process of converting a high-level object-based description into a graphical image for display.

More information

AP Physics: Curved Mirrors and Lenses

AP Physics: Curved Mirrors and Lenses The Ray Model of Light Light often travels in straight lines. We represent light using rays, which are straight lines emanating from an object. This is an idealization, but is very useful for geometric

More information

PHY 112: Light, Color and Vision. Lecture 11. Prof. Clark McGrew Physics D 134. Review for Exam. Lecture 11 PHY 112 Lecture 1

PHY 112: Light, Color and Vision. Lecture 11. Prof. Clark McGrew Physics D 134. Review for Exam. Lecture 11 PHY 112 Lecture 1 PHY 112: Light, Color and Vision Lecture 11 Prof. Clark McGrew Physics D 134 Review for Exam Lecture 11 PHY 112 Lecture 1 From Last Time Lenses Ray tracing a Convex Lens Announcements The midterm is Thursday

More information

Me Again! Peter Chapman. if it s important / time-sensitive

Me Again! Peter Chapman.  if it s important / time-sensitive Me Again! Peter Chapman P.Chapman1@bradford.ac.uk pchapman86@gmail.com if it s important / time-sensitive Issues? Working on something specific? Need some direction? Don t hesitate to get in touch http://peter-chapman.co.uk/teaching

More information

Deferred Rendering Due: Wednesday November 15 at 10pm

Deferred Rendering Due: Wednesday November 15 at 10pm CMSC 23700 Autumn 2017 Introduction to Computer Graphics Project 4 November 2, 2017 Deferred Rendering Due: Wednesday November 15 at 10pm 1 Summary This assignment uses the same application architecture

More information

COM337 COMPUTER GRAPHICS Other Topics

COM337 COMPUTER GRAPHICS Other Topics COM337 COMPUTER GRAPHICS Other Topics Animation, Surface Details, Global Illumination Kurtuluş Küllü based on the book by Hearn, Baker, and Carithers There are some other important issues and topics that

More information

Images from 3D Creative Magazine. 3D Modelling Systems

Images from 3D Creative Magazine. 3D Modelling Systems Images from 3D Creative Magazine 3D Modelling Systems Contents Reference & Accuracy 3D Primitives Transforms Move (Translate) Rotate Scale Mirror Align 3D Booleans Deforms Bend Taper Skew Twist Squash

More information