Digital 3D technologies

Similar documents
3D Digitization for Cultural Heritage NOT ALL 3D HAS BEEN CREATED EQUAL

Tecnologie per la ricostruzione di modelli 3D da immagini. Marco Callieri ISTI-CNR, Pisa, Italy

3D from Images - Assisted Modeling, Photogrammetry. Marco Callieri ISTI-CNR, Pisa, Italy

Tecnologie per la ricostruzione di modelli 3D da immagini. Marco Callieri ISTI-CNR, Pisa, Italy

6.837 Introduction to Computer Graphics Quiz 2 Thursday November 20, :40-4pm One hand-written sheet of notes allowed

Introduction. Chapter Computer Graphics

CS451Real-time Rendering Pipeline

Volume Shadows Tutorial Nuclear / the Lab

Chapter 7 - Light, Materials, Appearance

Computer Graphics. Chapter 1 (Related to Introduction to Computer Graphics Using Java 2D and 3D)

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

Shading Languages. Seminar Computer Graphics. Markus Kummerer

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

TSBK03 Screen-Space Ambient Occlusion

COMPUTER GRAPHICS AND INTERACTION

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

Maths at the Movies. Chris Budd

REYES REYES REYES. Goals of REYES. REYES Design Principles

Chapter 5. Projections and Rendering

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

CIS 581 Interactive Computer Graphics

Graphics Hardware and Display Devices

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

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

Reading. 18. Projections and Z-buffers. Required: Watt, Section , 6.3, 6.6 (esp. intro and subsections 1, 4, and 8 10), Further reading:

Announcements. Submitting Programs Upload source and executable(s) (Windows or Mac) to digital dropbox on Blackboard

Textures and UV Mapping in Blender

Chapter 4. Chapter 4. Computer Graphics 2006/2007 Chapter 4. Introduction to 3D 1

Today. Rendering algorithms. Rendering algorithms. Images. Images. Rendering Algorithms. Course overview Organization Introduction to ray tracing

ECE-161C Cameras. Nuno Vasconcelos ECE Department, UCSD

Enhancing Traditional Rasterization Graphics with Ray Tracing. October 2015

THE FOURTH SPATIAL DIMENSION

Introduction to 3D Modelling in Vectorworks

Drawing in 3D (viewing, projection, and the rest of the pipeline)

Chapter 23. Geometrical Optics (lecture 1: mirrors) Dr. Armen Kocharian

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

Scene Modeling for a Single View

So we have been talking about 3D viewing, the transformations pertaining to 3D viewing. Today we will continue on it. (Refer Slide Time: 1:15)

Shadows. COMP 575/770 Spring 2013

Depth. Common Classification Tasks. Example: AlexNet. Another Example: Inception. Another Example: Inception. Depth

For Intuition about Scene Lighting. Today. Limitations of Planar Shadows. Cast Shadows on Planar Surfaces. Shadow/View Duality.

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura

How shapes are represented in 3D Graphics. Aims and objectives By the end of the lecture you will be able to describe

Photorealism vs. Non-Photorealism in Computer Graphics

Graphics for VEs. Ruth Aylett

03 RENDERING PART TWO

Real-Time Shadows. MIT EECS 6.837, Durand and Cutler

Ulf Assarsson Department of Computer Engineering Chalmers University of Technology

There we are; that's got the 3D screen and mouse sorted out.

Topics and things to know about them:

Melvin Diaz and Timothy Campbell Advanced Computer Graphics Final Report: ICU Virtual Window OpenGL Cloud and Snow Simulation

Using Perspective Rays and Symmetry to Model Duality

Shadows in the graphics pipeline

Rendering. Mike Bailey. Rendering.pptx. The Rendering Equation

Last Time. Why are Shadows Important? Today. Graphics Pipeline. Clipping. Rasterization. Why are Shadows Important?

CS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside

Spatial Data Structures and Speed-Up Techniques. Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology

Real-Time Shadows. Last Time? Today. Why are Shadows Important? Shadows as a Depth Cue. For Intuition about Scene Lighting

3D Object Representation

03 Vector Graphics. Multimedia Systems. 2D and 3D Graphics, Transformations

Real-Time Shadows. Last Time? Schedule. Questions? Today. Why are Shadows Important?

Last Time. Reading for Today: Graphics Pipeline. Clipping. Rasterization

Previously... contour or image rendering in 2D

Algebra Based Physics

Camera model and multiple view geometry

Computer graphics 2: Graduate seminar in computational aesthetics

Introduction to 3D Concepts

Chapter 4- Blender Render Engines

Grade 6 Math Circles. Spatial and Visual Thinking

Ray Tracing. CPSC 453 Fall 2018 Sonny Chan

Computer Graphics and Visualization. What is computer graphics?

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15

Chapter 23. Geometrical Optics: Mirrors and Lenses and other Instruments

DH2323 DGI13. Lab 2 Raytracing

A Little Background. Motivation. Motivation

Pipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11

CHAPTER 3. Single-view Geometry. 1. Consequences of Projection

Module Contact: Dr Stephen Laycock, CMP Copyright of the University of East Anglia Version 1

Motivation. Sampling and Reconstruction of Visual Appearance. Effects needed for Realism. Ray Tracing. Outline

Photorealistic 3D Rendering for VW in Mobile Devices

How to print a Hypercube

Chapter 26 Geometrical Optics

Evolution of Imaging Technology in Computer Graphics. Related Areas

CS 381 Computer Graphics, Fall 2008 Midterm Exam Solutions. The Midterm Exam was given in class on Thursday, October 23, 2008.

Drawing Fast The Graphics Pipeline

Chapter 17: The Truth about Normals

CSE 4392/5369. Dr. Gian Luca Mariottini, Ph.D.

Two interrelated objectives of the ARIADNE project, are the. Training for Innovation: Data and Multimedia Visualization

The Traditional Graphics Pipeline

Caustics - Mental Ray

Hands-On Workshop: 3D Automotive Graphics on Connected Radios Using Rayleigh and OpenGL ES 2.0

All human beings desire to know. [...] sight, more than any other senses, gives us knowledge of things and clarifies many differences among them.

Enabling immersive gaming experiences Intro to Ray Tracing

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.

Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

782 Schedule & Notes

Game Architecture. 2/19/16: Rasterization

Computer Graphics. Lecture 02 Graphics Pipeline. Edirlei Soares de Lima.

Computer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011

Lecture 12: Advanced Rendering

Transcription:

Digital 3D technologies A simple introduction Marco Callieri ISTI-CNR callieri@isti.cnr.it

Who Am I? Marco Callieri Master Degree & PhD in computer science Researcher at the Visual Computing Lab, ISTI-CNR, in Pisa I work on 3D data manipulation and rendering... lot of experience in 3D scanning and data processing Beside this: an eclectic artisan, an avid gamer, a former biker, a good cook, an incorrigible geek... and much more

3D from 10.000 feet 3D has become quite a buzzword in the last few years Seems that, with 3D, everything is better... We aim at providing you a focused knowledge of devices, tools and techniques that employ 3D in the field of cultural heritage... However, we do believe an introduction to basic, general 3D concepts may help... even a simple (and very incomplete) one as this :) :)

3D from 10.000 feet 3D is used a lot because it has two natures: PURE DATA: 3D is metric, geometrical information. In a word: numbers. It is possible to do calculation over it, and work on it from a mathematical point of view. VISUAL: 3D data can be visualized such that is perceived in the same way we perceive reality. In this way we can access the data in a more natural way. The combination of these two properties is what makes 3D valuable

Interactive 3D You may have encountered applications where a digital 3D world is somehow displayed and, somehow the user may change the view over this world or the world content... (yes, this description is very very general, but for a purpose)

Interactive 3D Given this behaviour, you may speculate that there is a representation of the a 3D environment in the computer memory, AND a way to produce (in realtime) an image that represent a view over this world, PLUS a way to interact with this environment...

Wording A common word in the 3D field, rendering is used in different ways, but has a general meaning RENDERING: the process by which some data in memory (in some abstract/), is converted into a representation that can be directly perceived by the user

3D space Our 3D world is a space defined by an origin (a reference point) and three orthogonal axis. Points in this space are defined by their three coordinates [X Y Z]. All the 3D data is referenced in one of these spaces. Each 3D model has a local reference space, and what we call scene is just another reference Y space where models, lights and cameras are positioned... Origin X Z

Vertices are points in this space are defined by their three coordinates [X Y Z]. Triangles are just entities built on top of vertices

3D model Most 3D models (especially the ones you'll see in our course) are made just by VERTICES (points in the 3D space) connected in TRIANGLES. Triangles are always planar, with enough triangles you may represent any shape, the mathematics and algebra used to manipulate triangles is simple, fast, and easy to be managed by computers...

Surface and other data Triangulated models does only have geometrical information of a zero-thickness surface (only the external shell). Other info, like color, are generally mapped on this surface. 3D geometry Texture mapped rendering

The scene Models are arranged inside a space, trough rotations translations and scale operations, defining a scene. Beside 3D models, in a scene, there are often many other elements One or more cameras: defining view over the scene Lights: used to simulate illumination...

Interaction In a relatime application it is possible to interact with the 3D scene in some way, and instantly see the effect of our interaction. At minimum, it is possible to change the point of view over the 3D space. On a different level, it may be possible to interact with scene elements (moving models around the scene). Editing tools (3D modeling, CAD and similar) let you also modify models. How this interaction is done, does change from one tool to another...

Realtime Rendering Bringing these kind of data to the screen in an interactive application is called realtime rendeing. Basically, is a way to simulate how the image is formed in our eyes (perspective projection) and how light interacts with objects (lighting)... Of course this simulation is simple and crude, to be able to do it many times per second

Projection Given a 3D space, with 3D models and a CAMERA, the vertices are perspective-projected like we did at school in technical drawings... Only vertices are projected, triangles are drawn filling the space between points... Projection plane v A B v C D A B viewpoint C D horizon

Lighting The projected model will appear correctly from a geometrical point of view, but completely flat. To simulate lighting, the simplest method is to calculate the angle between light and each triangle. The more orthogonal the light is, the brighter the surface. α N L

Lighting Things may get much more complex than this... Adding more lighting effects, more complex lighting models, and other real-time tricks. TRICKS, because almost nothing that is done in realtime rendering is really physically correct... We will return to realtime soon, but first...

Synthesis images On the other hand, you are certainly aware that some movies/images are generated from 3D data in such a way that they appear photorealistic

Offline Rendering Again, you may speculate there should be a way to go from a 3D data representation (which may be similar to the 3D representation used in realtime) to a photorealistic representation. Yes, this is correct. Yes, this method is much more complex and cannot be achieved in realtime (we will call it OFFLINE rendering).. Light is what make us see, a better simulation of light behaviour is the key to photorealism... The three main rendering methods try to simulate how light travels in the scene.

Ray Tracing Light travel in straight rays, following strict geometrical (optical) rules:if i follow back each ray entering my eyes, I can reconstruct the image I will see... S1 C1 R1 S2 S4 R3 C3 T1 (x, y) S3 Primary ray observer T2 C2 T3 R2 (x,y) C1+C2+C3

Ray Tracing

Radiosity Light is energy and, when emitted from a light source is just bounced/absorbed/transmitted around the scene. Idea: divide the scene in patches, calculate how energy moves around the scene until no more energy remains...

Radiosity

Photon Mapping Light is carried by photons, let us just sprinkle some (millions) in the scene and follow each one to see how light goes around

Combining all The various techniques started separate, but are converging. Most existing tool mix and match different strategies and algorithms, to combine the strengths of the various approaches...

Combining all

Not only light I lied (again), the added realism is also due to much more complicated calculation on lightmatter interaction...

They call it 3D but Movies in 3D are actually just stereoscopic images (but yes, sometimes they have been created through a 3D rendering)

Back to realtime The computational power required to follow these methods is too high for realtime, but many of the more accurate lighting and material calculations have been transferred from offline to realtime...

Modern 3D Video Cards The first cause for the 3D explosion has been the availability of accelerated 3D video cards. First of all, all the mathematical calculation for scene setup and perspective projection are managed by the video card that, on this specific task, is much faster than the CPU... But this does not explain why realtime 3D is nowadays so nice to see...

Modern 3D Video Cards Modern videocards are programmable, that means it is possible to employ some of the lighting calculation and material simulation from the offline rendering methods, obtaining stunning results...

Shader Shader is another very common word in the modern 3D field. A shader is a piece of code which is used to specify some aspect of the rendering, from the geometry, to the screen projection, from the light-material interaction to the final image filtering. Most hardware, today, is shader-based (especially mobile hdrware).

I do believe... I have shocked you enough, by now. Again, the intent was not to give you an in-depth knowledge of the 3D technology, but to provide you with a basic terminology and a basic reference to understand the things we will show you later on. Anyhow... to contact me for questions, clarifications and anything else about this seminar: callieri@isti.cnr.it