Last lecture... Computer Graphics:

Size: px
Start display at page:

Download "Last lecture... Computer Graphics:"

Transcription

1 Last lecture... Computer Graphics: Visualisation can be greatly enhanced through the Introduction to the Visualisation use of 3D computer graphics Toolkit Visualisation Lecture 2 toby.breckon@ed.ac.uk Computer Vision Lab. Institute for Perception, Action & Behaviour computer graphics are our tool in visualisation computer graphics are a key offering of computer science to the visualisation problem Notices reading / links / vtk examples In order to do effective visualisation we need: see course web page first practical handout (not assessed) to know some computer graphics (this lecture) VTK handout (reading) a computer graphics architecture (VTK) Computer Graphics & VTK 1 Computer Graphics & VTK 2 Data Representation : 3D shape Computer Graphics : simulation of light behaviour in 3D For effective simulation require to model: object representation (geometry) object illumination (lighting) camera model (vision) world to image plane projection rendering: converting graphical data into an image Approximate smooth surfaces with flat, planar polygons 3D scene (e.g. real world) polygons formed of edges & vertices vertex: positional point (2D or 3D) edge: joins 2 vertices polygon: enclosed within N edges (cf. faces) Light Source(s) Object with surfaces Camera Model Rendering on image plane Computer Graphics & VTK 3 Hierarchy of Surface Representation polygons share common edges mesh: set of connected polygons forming a surface (or object) (cf. graph) Computer Graphics & VTK 4

2 Surface mesh : examples Mesh Based Representation 3D file formats: set of vertices in ℝ3 polygons reference into vertex set Different resolutions alter perception of surface e.g. vertex vertex smoothness implicitly define edges... Several primitives utilised, triangles generally fastest to draw polyon (close up) polyon modern graphics cards : 1 million + triangles per second Computer Graphics & VTK 5 #VRML V1.0 ascii # Separator { Material { ambientcolor diffusecolor Coordinate3 { point [ , , , , , , , , , IndexedFaceSet { coordindex [ 0, 1, 2, -1, 3, 4, 5, -1, 6, 7, 8, -1, 9, 10, 11, -1, 12, 13, 14, -1, 15, 16, 17, -1, 18, 19, 20, -1, 21, 22, 23, -1, perform transformations only on vertices standards: IGRES (ANSI), VRML (ISO), X3D (ISO) Computer Graphics & VTK 6 Light interaction with surfaces Simple 3 parameter model The sum of 3 illumination terms: Ambient : 'background' illumination Ambient Lighting light reflected or scattered from other objects simple approximation to complex 'real world' process Result: globally uniform colour for object Specular : bright, shiny reflections Rc = resulting intensity curve Diffuse : non shiny illumination and shadows Lc = light intensity curve Oc = colour curve of object surface normal (specifies surface orientation) Uniform Light source Light source (here point light source) Object 'Virtual' camera Light Colour = Lc Object Colour = Oc Computer Graphics & VTK 7 Example: sphere On Rc camera Object Rc = Lc Oc Computer Graphics & VTK 8

3 Diffuse Lighting Specular Lighting Also known as Lambertian reflection considers the angle of incidence of light on surface Direct reflections of light source off shiny object (angle between light and surface normal) specular intensity sp = shiny reflectance of object Result: lighting varies over surface with orientation to light Result: specular highlight on object Infinite point light source Example: sphere (lit from left) Ln θ On Light Colour = Lc cosθ = (O n Ln ) Rc Object Object Colour = Oc Infinite point light source On θ Light Colour = Lc cosθ = (On Ln ) Object Colour = Oc No dependence on Object Rc = LcOc[S ( Rn)]sp camera angle! Rc=L c Oc cos Ln S = 2(cos θ)οn + Ln Computer Graphics & VTK 9 also specular power sp Rc = colour curve Rn = camera position No dependence on object colour. Surface Shape Perception 1 Rc = wa(ambient) + wd(diffuse) +ws(specular) for relative weights wa, wd, ws S (Reflection) Combined Lighting Models α Computer Graphics & VTK 10 Example: sphere (lit from left) Facing light 3D surface of the skin from a medical scanner. sp=100 sp=4 Interpolated shading (use Gourand or Phong) Diffuse lighting only. (i.e. directional) + Ambient (colour) = + Diffuse (directional) Specular (highlights) Perpendicular to light Rc Computer Graphics & VTK 11 Computer Graphics & VTK 12

4 Surface Shape Perception 2 Surface Shape Perception 3 3D surface of the skin from a medical scanner. 3D surface of the skin from a medical scanner. Diffuse + specular lighting. Diffuse + specular lighting. Specular Power = 4.0 Specular Power = Edge of highlight Edge of highlight Computer Graphics & VTK 13 Computer Graphics & VTK 14 Perception of Shape Interaction Specular highlights Allows perception of edge contours (silhouette) The motion/direction of lines or patterns on the surface of the shape improve perception of surface shape features (e.g. nose) Viewing depth with 2 eyes... but only where the highlight occurs Stereo displays frequently used for visualisation Display 'feels' more 3D e.g. easier to see features at sides of noise with diffuse (middle) Computer Graphics & VTK 15 Stereo Ability to rotate the shape is extremely powerful. Texture Other cues to shape Computer Graphics & VTK 16

5 Scene Coordinate Systems Object Coordinates Object A s Transform Object A s Coordinate System 3D (x,y,z) Object B s Coordinate System 3D (x,y,z) Camera Model World Coordinates Light Position Camera Position Object Position(s) View Up Objects B s Transform Camera transform 4x4 Matrix (3D 2D) View Coordinates Display Display transform Window size Position Object / World co ordinates: transformations and rotations in ℝ3 1 transformation (perspective projection). Computer Graphics & VTK 17 Prospective projection (3D world 2D image plane rendering) all rays into camera go through a common point View Frustrum 3D space viewable to camera bound by clipping planes (front, back); by camera view angle (top, bottom) clipping planes eliminate data that is too near or too distant from camera Computer Graphics & VTK 18 VTK : in summary Computer Graphics Objects in VTK Our provider of a computer graphics architecture for visualisation To convert a data structure into graphical object in VTK, use an object called a mapper Controls graphics properties such as colour and shading VTK is a set of methods (toolkit) that implement a variety of visualisation operations Implements a visualisation pipeline Position, rotation and surface properties also specified by actor methods Platform independent (we use linux, DICE) transformation from object to world co ordinates Object orientated visualisation Program in C++ or Java or use an interpreted language such as Tcl/Tk or Python 3D computer graphics output & basic interactive user input Computer Graphics & VTK 19 Graphics objects in vtk are known as actors Actors are rendered in the scene by the renderer object VTK also implements basic tools for visualisation: Direction of Projection Front Clipping Plane Camera transform: 3D 2D matrix Focal point View angle Coordinates 2D (x,y) View Frustrum Position 3D (x,y,z) Back Clipping Plane Controls camera and lighting properties The renderer draws to a render window object Controls window size Can display or capture to an image file Computer Graphics & VTK 20

6 Graphical Objects in VTK Example : drawing cone vtkconesource Cone Source The Visualisation pipeline for this application Geometric representation Polygons vtkpolydatamapper Cone Mapper Computer Graphics & VTK 21 Actor Renderer RenderWindow vtkactor vtkrenderer vtkrenderwindow Computer Graphics & VTK 22 VTK Objects : TCL / Java TCL: Command with class name creates new object of that class Java : Object obj = new Object(); Tcl : Object obj # create a rendering window and renderer # create an actor object and set vtkrenderer ren1 # mapper vtkrenderwindow renwin vtkactor coneactor renwin AddRenderer ren1 VTK is object orientated; TCL itself is not coneactor SetMapper conemapper # create a cone geometry source object # assign our actor to the renderer vtkconesource cone ren1 AddActor coneactor cone SetResolution 8 A note on tcl/tk (tickle talk), tcl/vtk... # render scene TCL (Tool Command Language) is a dynamically allocated interpreted programming language # create mapper object and map cone geometry Commonly used for GUI application with GUI toolkit TK tcl/tk vtkpolydatamapper conemapper Here we are doing visualisation (rather than GUI) so we use VTK although not generally known as tcl/vtk! Drawing a cone : TCL Computer Graphics & VTK 23 renwin Render conemapper SetInput [cone GetOutput] Computer Graphics & VTK 24

7 Drawing a cone : Java Drawing a cone : TCL Wrapper Code public class Cone { catch {load vtktcl public static void main (String []args) { # load vtk package and vtk user interaction command package // create an instance of vtkconesource package require vtk vtkconesource cone = new vtkconesource(); package require vtkinteraction cone.setheight( 3.0 );... cone.setradius( 1.0 ); cone.setresolution( 8 ); # CODE FROM PREVIOUS SLIDE // create vtkpolydatamapper and map cone source... vtkpolydatamapper conemapper = new vtkpolydatamapper(); conemapper.setinput( cone.getoutput() ); Computer Graphics & VTK 25 Computer Graphics & VTK 26 Drawing a cone : Java Drawing a cone : Java Boiler Plate Code // We import the vtk wrapped classes first. import vtk.*; // create actor and assign mapper // Then we define our class. vtkactor coneactor = new vtkactor(); public class Cone { coneactor.setmapper( conemapper ); // In the static contructor we load in the native code (via JNI). // The libraries must be in your path to work. // create renderer and add actor static { vtkrenderer ren1 = new vtkrenderer(); System.loadLibrary("vtkCommonJava"); ren1.addactor( coneactor ); System.loadLibrary("vtkFilteringJava"); System.loadLibrary("vtkIOJava"); // create render window and add renderer System.loadLibrary("vtkImagingJava"); vtkrenderwindow renwin = new vtkrenderwindow(); System.loadLibrary("vtkGraphicsJava"); renwin.addrenderer( ren1 ); System.loadLibrary("vtkRenderingJava"); Computer Graphics & VTK 27 Computer Graphics & VTK 28

8 TCL basics : variables Variables Are all strings Set using 'set variable value Reference using $variable # Compute the circumference of a circle set pi Expression TCL basics : variables set radius 2 Use expr to evaluate an expression set area [expr $radius * $pi * 2.0] Print results to standard output with puts puts $area useful for debugging Computer Graphics & VTK 29 Computer Graphics & VTK 30 TCL basics : loops TCL basics : conditionals for loop : 3 arguments : {start {end {every Exactly the same as C : if boolean then body1 else body2 # Example to print number 1 10 and their squares for {set num 1 {$num <= 10 {incr num { both then and else are optional set numsqr [expr $num*$num] puts $num => $numsqr e.g. : if {$x == 0 then { while loop : 1 argument : {end condition puts Only superheros, can divide by zeros! else { # print numbers 1 to 10 set x 0 set slope [expr $y/$x] while {$x<10 { puts "x is $x" incr x Computer Graphics & VTK 31 Computer Graphics & VTK 32

9 TCL basics : other puts $varname Special Features of TCL/VTK interpreter Writes a string to the console window format formatstring value1 value2 Returns a string in the same manner as printf in C Similarly scan does the same as scanf in C String operations performed by string Dynamic arrays Comments start with # Special method : ListMethods. Invoked in combination with an object name Find out which methods the object has Listed according to the inheritance hierarchy Special command : ListInstances Invoked in combination with a class name. Lists all instances of a particular class Special command : DeleteAllObjects Computer Graphics & VTK 33 Clears the tcl/vtk interpreter for another session Computer Graphics & VTK 34 VTK : interaction VTK : window interactor Create a new vtkrenderwindowinteractor controls user interaction with VTK visualisation Rotate ( left mouse button ) vtkrenderwindowinteractor iren Zoom ( Right mouse button ) Pan ( left mouse + shift key ) w Draw as a wireframe mesh s Draw as a surface mesh r Reset camera view u user defined command. Here, bring up window command box Set the RenderWindow object that it will control iren SetRenderWindow renwin Make the interactor active and start processing events iren Initialize Functions available (vtkrenderwindowinteractor): Tcl code is still processed even though event loop entered Computer Graphics & VTK 35 iren SetUserMethod {wm deiconify.vtkinteract e exit p pick actor underneath mouse pointer Computer Graphics & VTK 36

10 On line Resources VTK representing object geometry as polygon meshes Examples: code.php illumination models (ambient, diffuse, specular) camera model & projection (VTK) More examples: Everything else: TCL Manual: Online tutorial: Everything else: Software: see course web page (linux) or Computer Graphics (basics) Manual: Summary N.B. DICE versions vtk : & tcl : Computer Graphics & VTK 37 VTK Overview of VTK rendering pipeline simple example in TCL and Java basis of TCL programming language VTK interactive visualisation Next lecture: systems architectures for visualisation Computer Graphics & VTK 38

Simple visualizations of unstructured grids with VTK

Simple visualizations of unstructured grids with VTK Simple visualizations of unstructured grids with VTK Roman Putanowicz Frédéric Magoulès Revision : 1.3 November 28, 2004 Contents 1 Introduction

More information

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering 3. Computer Graphics Sungmin Kim http://latam.jnu.ac.kr Computer Graphics Definition Introduction Research field related to the activities that includes graphics as input and output Importance Interactive

More information

Introduction to Computer Graphics

Introduction to Computer Graphics Introduction to Computer Graphics Torsten Möller TASC 8021 778-782-2215 torsten@sfu.ca www.cs.sfu.ca/~torsten Today What is computer graphics? Contents of this course Syllabus Overview of course topics

More information

A Short Introduction to Computer Graphics

A Short Introduction to Computer Graphics A Short Introduction to Computer Graphics Frédo Durand MIT Laboratory for Computer Science 1 Introduction Chapter I: Basics Although computer graphics is a vast field that encompasses almost any graphical

More information

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine Blender Notes Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine The Blender Game Engine This week we will have an introduction to the Game Engine build

More information

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007 Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Questions 2007 INSTRUCTIONS: Answer all questions. Spend approximately 1 minute per mark. Question 1 30 Marks Total

More information

Computer Animation: Art, Science and Criticism

Computer Animation: Art, Science and Criticism Computer Animation: Art, Science and Criticism Tom Ellman Harry Roseman Lecture 12 Ambient Light Emits two types of light: Directional light, coming from a single point Contributes to diffuse shading.

More information

Scientific visualisation in 2D and 3D

Scientific visualisation in 2D and 3D Scientific visualisation in 2D and 3D Roman Putanowicz R.Putanowicz@L5.pk.edu.pl Some rights reserved (CC) 2010. See License slide. 1 Right tool for the right job gnuplot All sorts of 2D visualisation

More information

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies COMP175: Computer Graphics Lecture 1 Introduction and Display Technologies Course mechanics Number: COMP 175-01, Fall 2009 Meetings: TR 1:30-2:45pm Instructor: Sara Su (sarasu@cs.tufts.edu) TA: Matt Menke

More information

SOEM 024: Computer Aided Design. E. Rozos

SOEM 024: Computer Aided Design. E. Rozos SOEM 024: Computer Aided Design E. Rozos 3D Design with AutoCAD 2002 Isometric Drawings 3D coordinates, views Wire-frame 3D modelling, extruding Primitive objects Boolean operators Terminology Boolean

More information

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI) Computer Graphics CS 54 Lecture 1 (Part 1) Curves Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) So Far Dealt with straight lines and flat surfaces Real world objects include

More information

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1

GUI GRAPHICS AND USER INTERFACES. Welcome to GUI! Mechanics. Mihail Gaianu 26/02/2014 1 Welcome to GUI! Mechanics 26/02/2014 1 Requirements Info If you don t know C++, you CAN take this class additional time investment required early on GUI Java to C++ transition tutorial on course website

More information

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus ICICTE 2014 Proceedings 1 GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus Abstract This paper presents

More information

Visualization and Post Processing of OpenFOAM results a Brie. a Brief Introduction to VTK

Visualization and Post Processing of OpenFOAM results a Brie. a Brief Introduction to VTK Visualization and Post Processing of OpenFOAM results a Brief Introduction to VTK December 13:th 2007 OpenFOAM Introdutory Course Chalmers University of Technology Post Processing in OF No built in post

More information

2: Introducing image synthesis. Some orientation how did we get here? Graphics system architecture Overview of OpenGL / GLU / GLUT

2: Introducing image synthesis. Some orientation how did we get here? Graphics system architecture Overview of OpenGL / GLU / GLUT COMP27112 Computer Graphics and Image Processing 2: Introducing image synthesis Toby.Howard@manchester.ac.uk 1 Introduction In these notes we ll cover: Some orientation how did we get here? Graphics system

More information

Introduction to Computer Graphics. Reading: Angel ch.1 or Hill Ch1.

Introduction to Computer Graphics. Reading: Angel ch.1 or Hill Ch1. Introduction to Computer Graphics Reading: Angel ch.1 or Hill Ch1. What is Computer Graphics? Synthesis of images User Computer Image Applications 2D Display Text User Interfaces (GUI) - web - draw/paint

More information

INTRODUCTION TO RENDERING TECHNIQUES

INTRODUCTION TO RENDERING TECHNIQUES INTRODUCTION TO RENDERING TECHNIQUES 22 Mar. 212 Yanir Kleiman What is 3D Graphics? Why 3D? Draw one frame at a time Model only once X 24 frames per second Color / texture only once 15, frames for a feature

More information

An introduction to 3D draughting & solid modelling using AutoCAD

An introduction to 3D draughting & solid modelling using AutoCAD An introduction to 3D draughting & solid modelling using AutoCAD Faculty of Technology University of Plymouth Drake Circus Plymouth PL4 8AA These notes are to be used in conjunction with the AutoCAD software

More information

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model

We can display an object on a monitor screen in three different computer-model forms: Wireframe model Surface Model Solid model CHAPTER 4 CURVES 4.1 Introduction In order to understand the significance of curves, we should look into the types of model representations that are used in geometric modeling. Curves play a very significant

More information

Computer Graphics. Introduction. Computer graphics. What is computer graphics? Yung-Yu Chuang

Computer Graphics. Introduction. Computer graphics. What is computer graphics? Yung-Yu Chuang Introduction Computer Graphics Instructor: Yung-Yu Chuang ( 莊 永 裕 ) E-mail: c@csie.ntu.edu.tw Office: CSIE 527 Grading: a MatchMove project Computer Science ce & Information o Technolog og Yung-Yu Chuang

More information

GRAVE: An Interactive Geometry Construction and Visualization Software System for the TORT Radiation Transport Code

GRAVE: An Interactive Geometry Construction and Visualization Software System for the TORT Radiation Transport Code GRAVE: An Interactive Geometry Construction and Visualization Software System for the TORT Radiation Transport Code E. D. Blakeman Oak Ridge National Laboratory Oak Ridge, TN 37831 edb@ornl.gov ABSTRACT

More information

The Essentials of CAGD

The Essentials of CAGD The Essentials of CAGD Chapter 2: Lines and Planes Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book www.farinhansford.com/books/essentials-cagd c 2000 Farin & Hansford

More information

Creating Your Own 3D Models

Creating Your Own 3D Models 14 Creating Your Own 3D Models DAZ 3D has an extensive growing library of 3D models, but there are times that you may not find what you want or you may just want to create your own model. In either case

More information

How To Draw In Autocad

How To Draw In Autocad DXF Import and Export for EASE 4.0 Page 1 of 9 DXF Import and Export for EASE 4.0 Bruce C. Olson, Dr. Waldemar Richert ADA Copyright 2002 Acoustic Design Ahnert EASE 4.0 allows both the import and export

More information

Two Research Schools become ONE

Two Research Schools become ONE www.cb.uu.se/~aht Anders.Hast@it.uu.se Two Research Schools become ONE 1996 213 27 1 www.cb.uu.se/~aht Anders.Hast@it.uu.se Collaboration between Two Research Initiatives 2 www.cb.uu.se/~aht Anders.Hast@it.uu.se

More information

Edinburgh COLLEGE of ART ARCHITECTURE 3D Modelling in AutoCAD - tutorial exercise The screen The graphics area This is the part of the screen in which the drawing will be created. The command prompt area

More information

Intro to 3D Animation Using Blender

Intro to 3D Animation Using Blender Intro to 3D Animation Using Blender Class Instructor: Anthony Weathersby Class Objectives A primer in the areas of 3D modeling and materials An introduction to Blender and Blender s toolset Course Introduction

More information

SkillsUSA 2014 Contest Projects 3-D Visualization and Animation

SkillsUSA 2014 Contest Projects 3-D Visualization and Animation SkillsUSA Contest Projects 3-D Visualization and Animation Click the Print this Section button above to automatically print the specifications for this contest. Make sure your printer is turned on before

More information

VisIt Visualization Tool

VisIt Visualization Tool The Center for Astrophysical Thermonuclear Flashes VisIt Visualization Tool Randy Hudson hudson@mcs.anl.gov Argonne National Laboratory Flash Center, University of Chicago An Advanced Simulation and Computing

More information

GUIDE TO POST-PROCESSING OF THE POINT CLOUD

GUIDE TO POST-PROCESSING OF THE POINT CLOUD GUIDE TO POST-PROCESSING OF THE POINT CLOUD Contents Contents 3 Reconstructing the point cloud with MeshLab 16 Reconstructing the point cloud with CloudCompare 2 Reconstructing the point cloud with MeshLab

More information

Cork Education and Training Board. Programme Module for. 3 Dimensional Computer Graphics. Leading to. Level 5 FETAC

Cork Education and Training Board. Programme Module for. 3 Dimensional Computer Graphics. Leading to. Level 5 FETAC Cork Education and Training Board Programme Module for 3 Dimensional Computer Graphics Leading to Level 5 FETAC 3 Dimensional Computer Graphics 5N5029 3 Dimensional Computer Graphics 5N5029 1 Version 3

More information

Kankakee Community College

Kankakee Community College Kankakee Community College Course prefix and number: DRFT 2134 Course title: AutoCAD III Semester: Fall 2014 Credit hours: 4 Lecture hours: 2.5 Lab hours: 3 Catalog description: Prerequisite: DRFT 2114,

More information

Thea Omni Light. Thea Spot Light. Light setup & Optimization

Thea Omni Light. Thea Spot Light. Light setup & Optimization Light setup In this tutorial we will learn how to setup lights inside Thea Studio and how to create mesh lights and optimize them for faster rendering with less noise. Let us have a look at the different

More information

IT 386: 3D Modeling and Animation. Review Sheet. Notes from Professor Nersesian s IT 386: 3D Modeling and Animation course

IT 386: 3D Modeling and Animation. Review Sheet. Notes from Professor Nersesian s IT 386: 3D Modeling and Animation course IT 386: 3D Modeling and Animation Review Sheet Sources: Notes from Professor Nersesian s IT 386: 3D Modeling and Animation course Notes from CannedMushrooms on YouTube Notes from Digital Tutors tutorial

More information

Three-Dimensional Data Recovery Using Image-Based Modeling

Three-Dimensional Data Recovery Using Image-Based Modeling Three-Dimensional Data Recovery Using Image-Based Modeling Jeremy W. Cannon Jonathan C. Derryberry Vitaly Y. Kulikov jcannon1@mit.edu jonderry@mit.edu vkulikov@mit.edu Abstract 6.837: Introduction to Computer

More information

Basic controls of Rhinoceros 3D software

Basic controls of Rhinoceros 3D software lecture 2 Basic controls of Rhinoceros 3D software After the start Rhinoceros 3D software shows basic working area compound by four viewports (show model in other positions), popup menu over, palette menu

More information

Lezione 4: Grafica 3D*(II)

Lezione 4: Grafica 3D*(II) Lezione 4: Grafica 3D*(II) Informatica Multimediale Docente: Umberto Castellani *I lucidi sono tratti da una lezione di Maura Melotti (m.melotti@cineca.it) RENDERING Rendering What is rendering? Rendering

More information

Dhiren Bhatia Carnegie Mellon University

Dhiren Bhatia Carnegie Mellon University Dhiren Bhatia Carnegie Mellon University University Course Evaluations available online Please Fill! December 4 : In-class final exam Held during class time All students expected to give final this date

More information

Introduction to Autodesk Inventor for F1 in Schools

Introduction to Autodesk Inventor for F1 in Schools Introduction to Autodesk Inventor for F1 in Schools F1 in Schools Race Car In this course you will be introduced to Autodesk Inventor, which is the centerpiece of Autodesk s digital prototyping strategy

More information

Understand the Sketcher workbench of CATIA V5.

Understand the Sketcher workbench of CATIA V5. Chapter 1 Drawing Sketches in Learning Objectives the Sketcher Workbench-I After completing this chapter you will be able to: Understand the Sketcher workbench of CATIA V5. Start a new file in the Part

More information

MayaVi: A free tool for CFD data visualization

MayaVi: A free tool for CFD data visualization MayaVi: A free tool for CFD data visualization Prabhu Ramachandran Graduate Student, Dept. Aerospace Engg. IIT Madras, Chennai, 600 036. e mail: prabhu@aero.iitm.ernet.in Keywords: Visualization, CFD data,

More information

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg Image Processing and Computer Graphics Rendering Pipeline Matthias Teschner Computer Science Department University of Freiburg Outline introduction rendering pipeline vertex processing primitive processing

More information

AR-media TUTORIALS OCCLUDERS. (May, 2011)

AR-media TUTORIALS OCCLUDERS. (May, 2011) AR-media TUTORIALS OCCLUDERS (May, 2011) Copyright Copyright 2008/2011 Inglobe Technologies S.r.l. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in

More information

Scientific Visualization with Open Source Tools. HM 2014 Julien Jomier julien.jomier@kitware.com

Scientific Visualization with Open Source Tools. HM 2014 Julien Jomier julien.jomier@kitware.com Scientific Visualization with Open Source Tools HM 2014 Julien Jomier julien.jomier@kitware.com Visualization is Communication Challenges of Visualization Challenges of Visualization Heterogeneous data

More information

Castle Modeling. In this PDF tutorial we will be modeling a simple castle as pictured above.

Castle Modeling. In this PDF tutorial we will be modeling a simple castle as pictured above. Course: 3D Design Title: Castle Modeling Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) May, 2012 This tutorial assumes that you already know how to: Display orthographic

More information

Programming 3D Applications with HTML5 and WebGL

Programming 3D Applications with HTML5 and WebGL Programming 3D Applications with HTML5 and WebGL Tony Parisi Beijing Cambridge Farnham Köln Sebastopol Tokyo Table of Contents Preface ix Part I. Foundations 1. Introduction 3 HTML5: A New Visual Medium

More information

Glass coloured glass may pick up on scan. Top right of screen tabs: these tabs will relocate lost windows.

Glass coloured glass may pick up on scan. Top right of screen tabs: these tabs will relocate lost windows. Artec 3D scanner Instructions for Medium Handheld (MH) Scanner Scanning Conditions: Objects/surfaces that don t scan well: Black or shiny objects and objects with sharp edges or points, hair, glass, transparent

More information

Integration of C++ digital processing libraries and VTK through Tcl/Tk dynamic loadable extensions

Integration of C++ digital processing libraries and VTK through Tcl/Tk dynamic loadable extensions Visualization Development Environments 2000 Proceedings Integration of C++ digital processing libraries and VTK through Tcl/Tk dynamic loadable extensions Javier Suárez-Quirós, Daniel Gayo-Avello, Juán

More information

Plug-in Software Developer Kit (SDK)

Plug-in Software Developer Kit (SDK) Updated February 2, 2012 2 modo 601 Plug-in Development Kit for PC and Mac The modo 601 Plug-in Software Development Kit provides a set of Application Programming Interfaces (APIs) and numerous source

More information

Pro/ENGINEER Wildfire 4.0 Basic Design

Pro/ENGINEER Wildfire 4.0 Basic Design Introduction Datum features are non-solid features used during the construction of other features. The most common datum features include planes, axes, coordinate systems, and curves. Datum features do

More information

Visualizing Electromagnetic Fields: The Visualization Toolkit. Michael Selvanayagam

Visualizing Electromagnetic Fields: The Visualization Toolkit. Michael Selvanayagam Visualizing Electromagnetic Fields: The Visualization Toolkit Michael Selvanayagam Visualization What is the purpose of visualizing electromagnetic (EM) Fields? Visualization 1. Understand the geometry

More information

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering (h.v.d.wetering@tue.nl)

Visualisatie BMT. Introduction, visualization, visualization pipeline. Arjan Kok Huub van de Wetering (h.v.d.wetering@tue.nl) Visualisatie BMT Introduction, visualization, visualization pipeline Arjan Kok Huub van de Wetering (h.v.d.wetering@tue.nl) 1 Lecture overview Goal Summary Study material What is visualization Examples

More information

Advanced Visualization for Chemistry

Advanced Visualization for Chemistry Advanced Visualization for Chemistry Part 11 Tools customization Mario Valle March 7 8, 2006 Why we need customization Read new file formats Compute and fuse together new derived quantities Add (computed)

More information

Rendering Area Sources D.A. Forsyth

Rendering Area Sources D.A. Forsyth Rendering Area Sources D.A. Forsyth Point source model is unphysical Because imagine source surrounded by big sphere, radius R small sphere, radius r each point on each sphere gets exactly the same brightness!

More information

Optical Design Tools for Backlight Displays

Optical Design Tools for Backlight Displays Optical Design Tools for Backlight Displays Introduction Backlights are used for compact, portable, electronic devices with flat panel Liquid Crystal Displays (LCDs) that require illumination from behind.

More information

CSE 564: Visualization. GPU Programming (First Steps) GPU Generations. Klaus Mueller. Computer Science Department Stony Brook University

CSE 564: Visualization. GPU Programming (First Steps) GPU Generations. Klaus Mueller. Computer Science Department Stony Brook University GPU Generations CSE 564: Visualization GPU Programming (First Steps) Klaus Mueller Computer Science Department Stony Brook University For the labs, 4th generation is desirable Graphics Hardware Pipeline

More information

Practical Data Visualization and Virtual Reality. Virtual Reality VR Software and Programming. Karljohan Lundin Palmerius

Practical Data Visualization and Virtual Reality. Virtual Reality VR Software and Programming. Karljohan Lundin Palmerius Practical Data Visualization and Virtual Reality Virtual Reality VR Software and Programming Karljohan Lundin Palmerius Synopsis Scene graphs Event systems Multi screen output and synchronization VR software

More information

Lecture Notes, CEng 477

Lecture Notes, CEng 477 Computer Graphics Hardware and Software Lecture Notes, CEng 477 What is Computer Graphics? Different things in different contexts: pictures, scenes that are generated by a computer. tools used to make

More information

Introduction to Autodesk Inventor for F1 in Schools

Introduction to Autodesk Inventor for F1 in Schools F1 in Schools race car Introduction to Autodesk Inventor for F1 in Schools In this course you will be introduced to Autodesk Inventor, which is the centerpiece of Autodesk s Digital Prototyping strategy

More information

Computer Graphics Global Illumination (2): Monte-Carlo Ray Tracing and Photon Mapping. Lecture 15 Taku Komura

Computer Graphics Global Illumination (2): Monte-Carlo Ray Tracing and Photon Mapping. Lecture 15 Taku Komura Computer Graphics Global Illumination (2): Monte-Carlo Ray Tracing and Photon Mapping Lecture 15 Taku Komura In the previous lectures We did ray tracing and radiosity Ray tracing is good to render specular

More information

Using HDR Panoramas. Dr Ryan Southall - School of Architecture & Design, University of Brighton.

Using HDR Panoramas. Dr Ryan Southall - School of Architecture & Design, University of Brighton. Using HDR Panoramas Dr Ryan Southall - School of Architecture & Design, University of Brighton. Introduction The LightLab project attempts to improve the integration of technology into design education

More information

Course: 3D Design Title: Deciduous Trees Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (June 2012) Deciduous Trees

Course: 3D Design Title: Deciduous Trees Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (June 2012) Deciduous Trees Course: 3D Design Title: Deciduous Trees Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (June 2012) Deciduous Trees In general, modeling trees is a long and somewhat tedious

More information

3D Analysis and Surface Modeling

3D Analysis and Surface Modeling 3D Analysis and Surface Modeling Dr. Fang Qiu Surface Analysis and 3D Visualization Surface Model Data Set Grid vs. TIN 2D vs. 3D shape Creating Surface Model Creating TIN Creating 3D features Surface

More information

An introduction to Global Illumination. Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology

An introduction to Global Illumination. Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology An introduction to Global Illumination Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology Isn t ray tracing enough? Effects to note in Global Illumination image:

More information

Maya 2014 Still Life Part 1 Texturing & Lighting

Maya 2014 Still Life Part 1 Texturing & Lighting Maya 2014 Still Life Part 1 Texturing & Lighting Realistic lighting and texturing is the key to photorealism in your 3D renders. Objects and scenes with relatively simple geometry can look amazing with

More information

Geant4 Visualization. Andrea Dotti April 19th, 2015 Geant4 tutorial @ M&C+SNA+MC 2015

Geant4 Visualization. Andrea Dotti April 19th, 2015 Geant4 tutorial @ M&C+SNA+MC 2015 Geant4 Visualization Andrea Dotti April 19th, 2015 Geant4 tutorial @ M&C+SNA+MC 2015 HepRep/HepRApp Slides from Joseph Perl (SLAC) and Laurent Garnier (LAL/IN2P3) DAWN OpenGL OpenInventor RayTracer HepRep/FRED

More information

Efficient Storage, Compression and Transmission

Efficient Storage, Compression and Transmission Efficient Storage, Compression and Transmission of Complex 3D Models context & problem definition general framework & classification our new algorithm applications for digital documents Mesh Decimation

More information

CHAPTER 8, GEOMETRY. 4. A circular cylinder has a circumference of 33 in. Use 22 as the approximate value of π and find the radius of this cylinder.

CHAPTER 8, GEOMETRY. 4. A circular cylinder has a circumference of 33 in. Use 22 as the approximate value of π and find the radius of this cylinder. TEST A CHAPTER 8, GEOMETRY 1. A rectangular plot of ground is to be enclosed with 180 yd of fencing. If the plot is twice as long as it is wide, what are its dimensions? 2. A 4 cm by 6 cm rectangle has

More information

Tutorial: Biped Character in 3D Studio Max 7, Easy Animation

Tutorial: Biped Character in 3D Studio Max 7, Easy Animation Tutorial: Biped Character in 3D Studio Max 7, Easy Animation Written by: Ricardo Tangali 1. Introduction:... 3 2. Basic control in 3D Studio Max... 3 2.1. Navigating a scene:... 3 2.2. Hide and Unhide

More information

CS 4204 Computer Graphics

CS 4204 Computer Graphics CS 4204 Computer Graphics 3D views and projection Adapted from notes by Yong Cao 1 Overview of 3D rendering Modeling: *Define object in local coordinates *Place object in world coordinates (modeling transformation)

More information

Angle - a figure formed by two rays or two line segments with a common endpoint called the vertex of the angle; angles are measured in degrees

Angle - a figure formed by two rays or two line segments with a common endpoint called the vertex of the angle; angles are measured in degrees Angle - a figure formed by two rays or two line segments with a common endpoint called the vertex of the angle; angles are measured in degrees Apex in a pyramid or cone, the vertex opposite the base; in

More information

Number Sense and Operations

Number Sense and Operations Number Sense and Operations representing as they: 6.N.1 6.N.2 6.N.3 6.N.4 6.N.5 6.N.6 6.N.7 6.N.8 6.N.9 6.N.10 6.N.11 6.N.12 6.N.13. 6.N.14 6.N.15 Demonstrate an understanding of positive integer exponents

More information

TWO-DIMENSIONAL TRANSFORMATION

TWO-DIMENSIONAL TRANSFORMATION CHAPTER 2 TWO-DIMENSIONAL TRANSFORMATION 2.1 Introduction As stated earlier, Computer Aided Design consists of three components, namely, Design (Geometric Modeling), Analysis (FEA, etc), and Visualization

More information

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, 2015 - Julien Jomier

Post-processing and Visualization with Open-Source Tools. Journée Scientifique Centre Image April 9, 2015 - Julien Jomier Post-processing and Visualization with Open-Source Tools Journée Scientifique Centre Image April 9, 2015 - Julien Jomier Kitware - Leader in Open Source Software for Scientific Computing Software Development

More information

Interactive visualization of multi-dimensional data in R using OpenGL

Interactive visualization of multi-dimensional data in R using OpenGL Interactive visualization of multi-dimensional data in R using OpenGL 6-Monats-Arbeit im Rahmen der Prüfung für Diplom-Wirtschaftsinformatiker an der Universität Göttingen vorgelegt am 09.10.2002 von Daniel

More information

Teaching Introductory Computer Graphics Via Ray Tracing

Teaching Introductory Computer Graphics Via Ray Tracing Teaching Introductory Computer Graphics Via Ray Tracing Helen H. Hu Westminster College, Salt Lake City, UT hhu@westminstercollege.edu Figure 1. Examples of student work. For fun, enthusiastic students

More information

3D MODEL DRIVEN DISTANT ASSEMBLY

3D MODEL DRIVEN DISTANT ASSEMBLY 3D MODEL DRIVEN DISTANT ASSEMBLY Final report Bachelor Degree Project in Automation Spring term 2012 Carlos Gil Camacho Juan Cana Quijada Supervisor: Abdullah Mohammed Examiner: Lihui Wang 1 Executive

More information

Realtime 3D Computer Graphics Virtual Reality

Realtime 3D Computer Graphics Virtual Reality Realtime 3D Computer Graphics Virtual Realit Viewing and projection Classical and General Viewing Transformation Pipeline CPU Pol. DL Pixel Per Vertex Texture Raster Frag FB object ee clip normalized device

More information

Canterbury Maps Quick Start - Drawing and Printing Tools

Canterbury Maps Quick Start - Drawing and Printing Tools Canterbury Maps Canterbury Maps Quick Start - Drawing and Printing Tools Quick Start Guide Standard GIS Viewer 2 Canterbury Maps Quick Start - Drawing and Printing Tools Introduction This document will

More information

GRADES 7, 8, AND 9 BIG IDEAS

GRADES 7, 8, AND 9 BIG IDEAS Table 1: Strand A: BIG IDEAS: MATH: NUMBER Introduce perfect squares, square roots, and all applications Introduce rational numbers (positive and negative) Introduce the meaning of negative exponents for

More information

A. OPENING POINT CLOUDS. (Notepad++ Text editor) (Cloud Compare Point cloud and mesh editor) (MeshLab Point cloud and mesh editor)

A. OPENING POINT CLOUDS. (Notepad++ Text editor) (Cloud Compare Point cloud and mesh editor) (MeshLab Point cloud and mesh editor) MeshLAB tutorial 1 A. OPENING POINT CLOUDS (Notepad++ Text editor) (Cloud Compare Point cloud and mesh editor) (MeshLab Point cloud and mesh editor) 2 OPENING POINT CLOUDS IN NOTEPAD ++ Let us understand

More information

MeshLab and Arc3D: Photo-Reconstruction and Processing of 3D meshes

MeshLab and Arc3D: Photo-Reconstruction and Processing of 3D meshes MeshLab and Arc3D: Photo-Reconstruction and Processing of 3D meshes P. Cignoni, M Corsini, M. Dellepiane, G. Ranzuglia, (Visual Computing Lab, ISTI - CNR, Italy) M. Vergauven, L. Van Gool (K.U.Leuven ESAT-PSI

More information

Computer Graphics and Image Processing Introduction

Computer Graphics and Image Processing Introduction Computer Graphics and Image Processing Introduction Part 1 Lecture 1 1 COMPSCI 373 Lecturers: A. Prof. Patrice Delmas (303.391) Week 1-4 Contact details: p.delmas@auckland.ac.nz Office: 303-391 (3 rd level

More information

The Flat Shape Everything around us is shaped

The Flat Shape Everything around us is shaped The Flat Shape Everything around us is shaped The shape is the external appearance of the bodies of nature: Objects, animals, buildings, humans. Each form has certain qualities that distinguish it from

More information

Self-Positioning Handheld 3D Scanner

Self-Positioning Handheld 3D Scanner Self-Positioning Handheld 3D Scanner Method Sheet: How to scan in Color and prep for Post Processing ZScan: Version 3.0 Last modified: 03/13/2009 POWERED BY Background theory The ZScanner 700CX was built

More information

MobiX3D: a player for displaying 3D content on mobile devices

MobiX3D: a player for displaying 3D content on mobile devices MobiX3D: a player for displaying 3D content on mobile devices Daniele Nadalutti, Luca Chittaro, Fabio Buttussi HCI Lab Dept. of Math and Computer Science University of Udine via delle Scienze, 206 33100

More information

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND

DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND DOING PHYSICS WITH MATLAB COMPUTATIONAL OPTICS RAYLEIGH-SOMMERFELD DIFFRACTION INTEGRAL OF THE FIRST KIND THE THREE-DIMENSIONAL DISTRIBUTION OF THE RADIANT FLUX DENSITY AT THE FOCUS OF A CONVERGENCE BEAM

More information

H.Calculating Normal Vectors

H.Calculating Normal Vectors Appendix H H.Calculating Normal Vectors This appendix describes how to calculate normal vectors for surfaces. You need to define normals to use the OpenGL lighting facility, which is described in Chapter

More information

Course in ANSYS. Import + meshing issues. ANSYS Part 2 Computational Mechanics, AAU, Esbjerg

Course in ANSYS. Import + meshing issues. ANSYS Part 2 Computational Mechanics, AAU, Esbjerg Course in ANSYS Import + meshing issues Course Outline Introduction Lesson 1. Modeling reviewed Boolean s Lesson 2. Boolean s + meshing issues Lesson 3. Operate + meshing issues Lesson 4. Import + meshing

More information

Intermediate Tutorials Modeling - Trees. 3d studio max. 3d studio max. Tree Modeling. 1.2206 2006 Matthew D'Onofrio Page 1 of 12

Intermediate Tutorials Modeling - Trees. 3d studio max. 3d studio max. Tree Modeling. 1.2206 2006 Matthew D'Onofrio Page 1 of 12 3d studio max Tree Modeling Techniques and Principles 1.2206 2006 Matthew D'Onofrio Page 1 of 12 Modeling Trees Tree Modeling Techniques and Principles The era of sprites and cylinders-for-trunks has passed

More information

B4 Computational Geometry

B4 Computational Geometry 3CG 2006 / B4 Computational Geometry David Murray david.murray@eng.o.ac.uk www.robots.o.ac.uk/ dwm/courses/3cg Michaelmas 2006 3CG 2006 2 / Overview Computational geometry is concerned with the derivation

More information

The Rocket Steam Locomotive - Animation

The Rocket Steam Locomotive - Animation Course: 3D Design Title: Rocket Steam Locomotive - Animation Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (May 2012) The Rocket Steam Locomotive - Animation In this tutorial

More information

Specular reflection. Dielectrics and Distribution in Ray Tracing. Snell s Law. Ray tracing dielectrics

Specular reflection. Dielectrics and Distribution in Ray Tracing. Snell s Law. Ray tracing dielectrics Specular reflection Dielectrics and Distribution in Ray Tracing CS 465 Lecture 22 Smooth surfaces of pure materials have ideal specular reflection (said this before) Metals (conductors) and dielectrics

More information

ABAQUS/CAE Tutorial: Analysis of an Aluminum Bracket

ABAQUS/CAE Tutorial: Analysis of an Aluminum Bracket H. Kim FEA Tutorial 1 ABAQUS/CAE Tutorial: Analysis of an Aluminum Bracket Hyonny Kim last updated: August 2004 In this tutorial, you ll learn how to: 1. Sketch 2D geometry & define part. 2. Define material

More information

My Materials. In this tutorial, we ll examine the material settings for some simple common materials used in modeling.

My Materials. In this tutorial, we ll examine the material settings for some simple common materials used in modeling. Course: 3D Design Title: My Materials Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (nhirsig@tufts.edu) (May 2012) My Materials In this tutorial, we ll examine the material settings for some

More information

Blender 3D: Noob to Pro/Die Another Way

Blender 3D: Noob to Pro/Die Another Way Blender 3D: Noob to Pro/Die Another Way From Wikibooks, the open-content textbooks collection < Blender 3D: Noob to Pro Next Page: Edit Mode HotKeys Review Previous Page: Penguins from spheres This tutorial

More information

Jan Köhnlein and Helmut Weberpals 01.12.99

Jan Köhnlein and Helmut Weberpals 01.12.99 1 Graphics Primitives Graphics Primitives 3-dimensional point class Point3d 3-dimensional (directional) vector class Vector3d Class of 3-dimensional line segments LineArray 2 Modeling of 3D Objects Modeling

More information

Shader Model 3.0. Ashu Rege. NVIDIA Developer Technology Group

Shader Model 3.0. Ashu Rege. NVIDIA Developer Technology Group Shader Model 3.0 Ashu Rege NVIDIA Developer Technology Group Talk Outline Quick Intro GeForce 6 Series (NV4X family) New Vertex Shader Features Vertex Texture Fetch Longer Programs and Dynamic Flow Control

More information

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example. An Example 2 3 4 Outline Objective: Develop methods and algorithms to mathematically model shape of real world objects Categories: Wire-Frame Representation Object is represented as as a set of points

More information

Processing the point cloud with RiscanPro or Riprofile. CyberMapping Lab UT-Dallas

Processing the point cloud with RiscanPro or Riprofile. CyberMapping Lab UT-Dallas Processing the point cloud with RiscanPro or Riprofile CyberMapping Lab UT-Dallas RiScanPro Overview of how to import and display scans Table of Contents Window Start New Project Right Click SCANS New

More information