Visualization Toolkit(VTK) Atul Kumar MD MMST PhD IRCAD-Taiwan
|
|
- Willa Shaw
- 6 years ago
- Views:
Transcription
1 Visualization Toolkit(VTK) Atul Kumar MD MMST PhD IRCAD-Taiwan
2 Visualization What is visualization?: Informally, it is the transformation of data or information into pictures.(scientific, Data, Information) Application of interactive 3D computer graphics to the understanding data. visual data analysis interactive viewing, understanding and reasoning process Conversion of numbers into images humans are generally poor at raw numerical data analysis human visual reasoning allows robust analysis of visual stimuli convert numerical analysis into visual analysis
3 Visualization 3 main sources of visualisation data: Scientific / Medical Visualisation visualising results of simulations, experiments or observations Frequently data is multi-dimensional Information Visualisation Visualisation of abstract, usually discrete data e.g financial data, web site hits etc. Real-world Data 3D capture technologies are reaching maturity Application : Virtual Reality, Games
4 Terminology Imaging or image processing is the study of 2D pictures or images. Computer graphics is the process of creating images using computer. Visualization is the process of exploring, transforming and viewing data as images ( or other sensory forms ) to gain understanding and insight into the data.
5 Visualization:Examples
6 Visualization:Examples
7 Visualization: Examples
8 Visualization: Examples
9 Visualization presenting data in a convenient and efficient visual form for human visual analysis Combining multi-dimensional data into a single image so that it is easy to understand Extracting important features Extracting important surface data from volume data Coloring it in various ways so that it is easy to understand
10 Visualization
11 Visualization
12 Visualization
13 Visualization The visualization process Computational methods -Finite element method -boundary element Data Measured Data -CT, MRI, Ultrasound -satellite Transform Map Display
14 VTK: Introduction A provider of a computer graphics architecture for visualization VTK is a set of methods (toolkit) that implement a variety of visualization operations Implements a visualization pipeline ( series of steps) Platform independent (we use Linux, Windows) Object-orientated visualization Program in C++ or Java or use an interpreted language such as Tcl/Tk or Python VTK also implements basic tools for visualization: 3D computer graphics output & basic interactive user input Resources:
15 VTK: Introduction Graphical objects in VTK
16 VTK: Introduction Actors are rendered in the scene by the renderer object Controls camera and lighting properties The renderer draws to a render window object Controls window size Can display or capture to an image file
17 VTK: Introduction Computer Graphics Objects in VTK To convert a data structure into graphical data (object) in VTK use an object called a mapper Graphics objects in vtk are known as actors Position, rotation and surface properties also specified by actor methods Controls graphics properties such as colour and shading transformation from object to world co-ordinates
18 VTK: Introduction Graphical objects in VTK
19 VTK: Introduction Example: Demo of program for Cone.cxx
20 VTK: Introduction Example: Cone: Its Visualization pipeline
21 VTK: Introduction Example: Demo of program for Cone3.cxx
22 VTK: Introduction VTK : window interactor Functions available (vtkrenderwindowinteractor): Rotate ( left mouse button ) 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 (For TCL/TCk). Here, bring up window command box ren AddObserver UserEvent {wm deiconify vtkinteract} e exit p pick actor underneath mouse pointer
23 Visualization: Computer Vision Visualisation & Computer Vision Computer Vision (CV): computer analysis of visual information automated visual reasoning Visualization: computer presentation of that visual information commonly part of the output process in the CV pipeline (especially 3D capture) also used for evaluation in CV (i.e. to provide insight into CV process itself)
24 Object Oriented Programming Terminology: Object Class Encapsulation Interface Inheritance Polymorphism Overloading Abstract class
25 Computer graphics primer Computer graphics is the process of generating images using computers. Also called as Rendering Data converted into graphics primitives and then rendered.
26 Computer graphics primer Simulation of light behavior in 3D Effective simulation requires to model: object representation (geometry) object illumination (lighting) camera model (vision) world to image plane projection rendering: converting graphical data into an image
27 Computer graphics primer Data representation: 3D shape Approximate smooth surfaces with flat, planar polygons Polygons formed of edges and vertices Vertex: positional point (2D or 3D) Edge: joins 2 vertices Polygon: enclosed within N edges mesh: set of connected polygons forming a surface (or object)
28 Computer graphics primer Data representation:
29 Computer Graphics Primer Image-order and object-order There are two types of rendering algorithms Image order, e.g., ray-tracing (or ray-casting) Object order, render one object at a time.
30 Computer Graphics Primer Surface versus volume rendering Surface-rendering: somethings are very hard to do with that kind of technique, e.g., clouds, smoke or translucent surfaces. Volume rendering: Done with ray-tracing or raycasting techniques, where rendering is done one ray at the time.
31 Computer Graphics Primer Color There are three types of cones in the human retina, with characteristic response.
32 Computer Graphics Primer Color models: Models common in use RGB specifies colors as an additive mix of Red, Green and Blue HSV Specifies Hue (color), Saturation, and Value to specify a color. CMY species colors as a subtractive mix of Cyan, Magenta and Yellow.. This color model is mainly used for printing purposes.
33 Computer Graphics Primer Light interaction with surfaces Simple 3 parameter model The sum of 3 illumination terms: Ambient : 'background' illumination Specular : bright, shiny reflections Diffuse : non-shiny illumination and shadows
34 Computer Graphics Primer Ambient Lighting Light from the environment light reflected or scattered from other objects simple approximation to complex 'real-world' process Result: globally uniform colour for object Rc = resulting intensity curve Lc = light intensity curve Oc = colour curve of object
35 Computer Graphics Primer Ambient Lighting
36 Computer Graphics Primer Diffuse Lighting Also known as Lambertian reflection considers the angle of incidence of light on surface (angle between light and surface normal) Result: lighting varies over surface with orientation to light
37 Computer Graphics Primer Diffuse Lighting
38 Computer Graphics Primer Specular Lighting Direct reflections of light source off shiny object specular intensity n = shiny reflectance of object Result: specular highlight on object
39 Computer Graphics Primer Specular Lighting
40 Computer Graphics Primer Combined Lighting Models R c = w a (ambient) + w d (diffuse) +w s (specular) for relative weights w a, w d, w s also specular power n
41 Computer Graphics Primer Computation of lighting at the points over the surface depends on the shading model Flat Shading (once per polygon) Gouraud shading ( for all the vertex of the polygon) Phong Shading ( all the points)
42 Computer Graphics Primer Phong shading is good but computationally costly Flat shading is easy but results are too bad Gouraud shading is usually used for simple applications
43 Computer Graphics Primer Cameras: Position, Focal point, Direction of projection, Roll Elevation, Azimuth, Yaw, Pitch, View up, View plane normal, front and back clipping plane.
44 Computer Graphics Primer 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
45 Model Computer Graphics: Coordinate Systems local coordinate system World Where the models are placed View Logical Image Plane Display X,Y Pixel locations
46 Coordinate System
47 Computer Graphics Primer Coordinate systems:
48 Computer Graphics Primer Coordinate systems: Homogeneous coordinates
49 Computer Graphics Primer Graphics primitives: Polygon, Triangle strip, Line, Polyline, Point Typical graphics interface hierarchy Your program Application Library-vtk Graphics Library Graphics Hardware Display Hardware
50 Computer Graphics Primer Rasterization /Scan conversion Z-buffer
51 Computer Graphics Primer The graphics model of VTK: Seven basic objects vtkrenderwindow: manages a window on the display device; one or more renderers draw into an instance of vtkrenderwindow. vtkrenderer: coordinates the rendering process involving lights, cameras, and actors. vtklight: a source of light to illuminate the scene vtkcamera: defines the view position, focal point, and other viewing properties of the scene.
52 Computer Graphics Primer The graphics model of VTK: Seven basic objects (cont.) vtkactor: represents an object rendered in the scene, both its properties and position in the world coordinate system. vtkproperty: defines the appearance properties of an actor including color, transparency, and lighting properties such as specular and diffuse. vtkmapper: the geometric representation for an actor. More than one actor may refer to the same mapper.
53 Examples Render a cone: Cone.cxx Creating multiple renderers: Cone2.cxx Introducing vtkrenderwindowinteractor: Cone3.cxx Properties and Transformations: Cone4.cxx
54 Data Representation in Visualization For (computer) visualization data is discrete (in representation) structured / unstructured (e.g. grid / cloud) of a specific dimension (1, 2, 3, n) Organizing structure (architecture) for data: Topology How things (data elements) fit together Geometry Particular values that create (instantiate) a particular object Data Attributes
55 Data: Discrete vs. Continuous Real World is continuous Data for visualization is discrete Computers are good in handling discrete data discrete representation of a real world Text example of y = x 2, and f(x,y) = x 2 - y 2 continuous To create digital / visual representation must sample points E.g., built in method for sampling over function However, difficult to visualize continuous shape from raw discrete sampling? Requires topology and interpolation
56 Topology and Geometry Topology: Just, the way the data points are put together As lines, polygons, etc. More formally: Relationships within the data invariant under geometric transformation (e.g., orientation, translation) i.e., the information which vertex is connected to which edge, which face is composed of which edges, etc. Transformation : Classes of transformations preserve certain properties E.g., affine transformations for computer graphics Geometry: Putting particular values in for the elements of particular topology Creating an instance of (or instantiating) a particular form Topology is invariant under geometric transformation
57 Interpolation & Topology For various reasons interpolation is important in visualization Storage efficiency Representing change over known (or ascribed) values Interpolation: Increasing resolution of a discrete representation by producing intermediate samples Use interpolation to shade whole cube: in example: producing intermediate color pixels over cube topology from discrete vertex samples Example: Vertices represent spatial temperature at the 8 discrete points? e.g. a color scale with blue(=cold) -> green -> red( = hot) How to visualize temperature field over whole cube?
58 Detail: Interpolate over a Rectangle Will the red color dot on the right lower corner affect the color of the point near the left top? What happens if we change the representation? Discrete data samples remain the same topology has changed => affects interpolation => effects visualization
59 Interpolation in Digital Images Some digital cameras use interpolation to produce a larger image than the sensor captured Also using the topology of data E.g. below: top, just increase size original pixels evident, bottom, interpolate From computer graphics Various smoothing (and antialiasing) algorithms, effectively interpolation, as used here
60 Topological Dimension, or, Dimensionality Data has an inherent topological dimension I.e., minimum number of independent continuous variables needed to specify the location inside the data Or, just, dimensionality Points : 0D, Lines, curves : 1D, Surfaces : 2D, Volumes : 3D Time dependent volumes : 4D and, n-dimensional
61 VTK Data Representation Data objects: structure + value A dataset
62 Dataset Dataset consists of 2 main components Structure of the data Structure gives spatial meaning to the attributes Value Attributes associated to particular parts of the structure Example: values = { blue, green, green, green, green, green, turquoise, red} attributes alone are meaningless without structure
63 Structure of Data Structure has 2 main parts Topology : determines interpolation required for visualization shape of data Geometry instantiation of the topology specific position of points in geometric space
64 Concrete Representation of Datasets Points specify where the data is known specify geometry Cells allow us to interpolate between points specify topology of points
65 VTK Cells Quite similar in all graphics applications Fundamental building blocks of shapes Defined by topological dimension 1,2,3d Specified as an ordered point list Primary or composite cells composite : consists of one or more primary cells
66 0 and 1 Dimensional Cell Types Zero-dimensional Vertex Primary zero-dimensional cell Definition: single point Polyvertex Composite zero-dimensional cell composite : comprises of several vertex cells Definition: arbitrarily ordered set of points One-dimensional Line Primary one-dimensional cell type Definition: 2 points, direction is from first to second point. Polyline Composite one-dimensional cell type Definition: an ordered set of n+1 points, where n is the number of lines in the polyline
67 Two-Dimensional Cell Types Triangle Primary 2D cell type Definition: counter-clockwise ordering of 3 points order of the points specifies the direction of the surface normal Triangle strip Composite 2D cell consisting of a strip of triangles Definition: ordered list of n+2 points n is the number of triangles Quadrilateral Primary 2D cell type Definition: ordered list of four points lying in a plane constraints: convex + edges must not intersect Pixel Primary 2D cell, consisting of 4 points topologically equivalent to a quadrilateral constraints: perpendicular edges; axis aligned numbering is in increasing axis coordinates Polygon Primary 2D cell type Definition: ordered list of 3 or more points constraint: may not self-intersect
68 Three-Dimensional Cell Types Tetrahedron Definition: list of 4 non-planar points Six edges, four faces Hexahedron Definition: ordered list of 8 points six quadrilateral faces, 12 edges, 8 vertices constraint: edges and faces must not intersect Voxel Volume pixel Topologically equivalent to Hexahedron constraint: each face is perpendicular to a coordinate axis 3D pixels
69 Example: Hexahedron Cell In fact each cell type represented by set/list of points From computer graphics, vertex list, etc. Definition: ordered list of 8 points six quadrilateral faces, 12 edges, 8 vertices constraint: edges and faces must not intersect
70 Attribute Data Information associated with data topology usually associated to points or cells Examples : temperature, wind speed, humidity, rain fall (meteorology) heat flux, stress, vibration (engineering) surface normal, color (computer graphics) Usually categorized into specific types: scalar (1D) vector (commonly 2D or 3D; ND in RN) tensor (N dimensional array)
71 Attribute Data : Scalar Single valued data at each location simplest and most common form of visualisation data
72 Attribute Data: Vector Data Magnitude and direction at each location 3D triplet of values (i, j, k) Also Normals vectors of unit length (magnitude = 1)
73 Dataset Types Defined by structure type: regular or irregular If there is a mathematical relationship between the point and cell positions it is regular if the points are regular, the geometry is regular if the cells are regular, the topology is regular Regular data can be implicitly represented saves storage and computation (e.g. grid based representation) Datasets with implicit topology Structured points (regular grid) Rectilinear grid Structured grid Datasets without implicit topology Unstructured grid (has topology) Polygonal data (might have topology) Unstructured points (does not have topology)
74 Regular: Structured Points & Rectilinear Grid Structured points Points & cells arranged in a regular grid axis aligned grid for line elements (1D), pixels (2D) or voxels (3D) e.g. images (2D), medical scanners (3D) regular topology and geometry uniform, equally spaced, axis aligned cells Rectilinear Grid Points and cells arranged in a regular grid topology is regular geometry is partially regular points are arranged along the axes but the spacing may vary e.g. log-scale
75 Semi-Regular : Structured Grid Regular topology Irregular geometry (completely) Surface triangulations are structured grids common topology = triangles Not all polygon surfaces have regular topology
76 Irregular: Unstructured Points and Grids Unstructured Points Points irregularly located in space No topology No structured geometry e.g. sparse measurements of temperature etc. Difficult to visualize e.g., unstructured point clouds Can be from 3D scanners Need surface reconstruction from unstructured points clouds topology recovery Unstructured Grid Both topology and geometry unstructured can range from 0D to 3D topologies general, flexible, inefficient to store e.g. finite element analysis Using higher resolution grids near where precise simulation is needed,rough grids for regions less important Same verticies might be both a structured (implicit topology) and unstructured grid
77 Polygonal Data - Rendering Essential representation for visualization (and computer graphics) Consists of points, lines, polygons graphics primitives irregular geometry irregular topology Usually irregular (modelled by humans, or sticking regular data together) used for rendering
78 Examples: Polygon.cxx SGrid.cxx Rgrid.cxx
Data Representation in Visualisation
Data Representation in Visualisation Visualisation Lecture 4 Taku Komura Institute for Perception, Action & Behaviour School of Informatics Taku Komura Data Representation 1 Data Representation We have
More informationIntroduction to Scientific Visualization
CS53000 - Spring 2018 Introduction to Scientific Visualization Introduction to January 11, 2018 The Visualization Toolkit Open source library for Visualization Computer Graphics Imaging Written in C++
More informationComputer Graphics: Introduction to the Visualisation Toolkit
Computer Graphics: Introduction to the Visualisation Toolkit Visualisation Lecture 2 Taku Komura Institute for Perception, Action & Behaviour Taku Komura Computer Graphics & VTK 1 Last lecture... Visualisation
More informationVolume Illumination, Contouring
Volume Illumination, Contouring Computer Animation and Visualisation Lecture 0 tkomura@inf.ed.ac.uk Institute for Perception, Action & Behaviour School of Informatics Contouring Scaler Data Overview -
More informationCHAPTER 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 informationVisualisation : Lecture 1. So what is visualisation? Visualisation
So what is visualisation? UG4 / M.Sc. Course 2006 toby.breckon@ed.ac.uk Computer Vision Lab. Institute for Perception, Action & Behaviour Introducing 1 Application of interactive 3D computer graphics to
More informationCS 464 Review. Review of Computer Graphics for Final Exam
CS 464 Review Review of Computer Graphics for Final Exam Goal: Draw 3D Scenes on Display Device 3D Scene Abstract Model Framebuffer Matrix of Screen Pixels In Computer Graphics: If it looks right then
More informationL1 - Introduction. Contents. Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming
L1 - Introduction Contents Introduction of CAD/CAM system Components of CAD/CAM systems Basic concepts of graphics programming 1 Definitions Computer-Aided Design (CAD) The technology concerned with the
More informationACGV 2008, Lecture 1 Tuesday January 22, 2008
Advanced Computer Graphics and Visualization Spring 2008 Ch 1: Introduction Ch 4: The Visualization Pipeline Ch 5: Basic Data Representation Organization, Spring 2008 Stefan Seipel Filip Malmberg Mats
More informationTopics 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 informationScalar Data. Visualization Torsten Möller. Weiskopf/Machiraju/Möller
Scalar Data Visualization Torsten Möller Weiskopf/Machiraju/Möller Overview Basic strategies Function plots and height fields Isolines Color coding Volume visualization (overview) Classification Segmentation
More informationSEOUL NATIONAL UNIVERSITY
Fashion Technology 5. 3D Garment CAD-1 Sungmin Kim SEOUL NATIONAL UNIVERSITY Overview Design Process Concept Design Scalable vector graphics Feature-based design Pattern Design 2D Parametric design 3D
More informationThe Traditional Graphics Pipeline
Last Time? The Traditional Graphics Pipeline Participating Media Measuring BRDFs 3D Digitizing & Scattering BSSRDFs Monte Carlo Simulation Dipole Approximation Today Ray Casting / Tracing Advantages? Ray
More informationComputer Graphics. Instructor: Oren Kapah. Office Hours: T.B.A.
Computer Graphics Instructor: Oren Kapah (orenkapahbiu@gmail.com) Office Hours: T.B.A. The CG-IDC slides for this course were created by Toky & Hagit Hel-Or 1 CG-IDC 2 Exercise and Homework The exercise
More informationPipeline Operations. CS 4620 Lecture 10
Pipeline Operations CS 4620 Lecture 10 2008 Steve Marschner 1 Hidden surface elimination Goal is to figure out which color to make the pixels based on what s in front of what. Hidden surface elimination
More informationLevel of Details in Computer Rendering
Level of Details in Computer Rendering Ariel Shamir Overview 1. Photo realism vs. Non photo realism (NPR) 2. Objects representations 3. Level of details Photo Realism Vs. Non Pixar Demonstrations Sketching,
More informationVisualization Toolkit (VTK) An Introduction
Visualization Toolkit (VTK) An Introduction An open source, freely available software system for 3D computer graphics, image processing, and visualization Implemented as a C++ class library, with interpreted
More informationVisualisatie BMT. Rendering. Arjan Kok
Visualisatie BMT Rendering Arjan Kok a.j.f.kok@tue.nl 1 Lecture overview Color Rendering Illumination 2 Visualization pipeline Raw Data Data Enrichment/Enhancement Derived Data Visualization Mapping Abstract
More informationIllumination and Shading
Illumination and Shading Light sources emit intensity: assigns intensity to each wavelength of light Humans perceive as a colour - navy blue, light green, etc. Exeriments show that there are distinct I
More informationCS5620 Intro to Computer Graphics
So Far wireframe hidden surfaces Next step 1 2 Light! Need to understand: How lighting works Types of lights Types of surfaces How shading works Shading algorithms What s Missing? Lighting vs. Shading
More informationCPS 533 Scientific Visualization
CPS 533 Scientific Visualization Wensheng Shen Department of Computational Science SUNY Brockport Chapter 3: Computer Graphics Primer Computer graphics is the foundation of data visualization Visualization
More informationScalar Algorithms: Contouring
Scalar Algorithms: Contouring Computer Animation and Visualisation Lecture tkomura@inf.ed.ac.uk Institute for Perception, Action & Behaviour School of Informatics Contouring Scaler Data Last Lecture...
More informationLecture overview. Visualisatie BMT. Fundamental algorithms. Visualization pipeline. Structural classification - 1. Structural classification - 2
Visualisatie BMT Fundamental algorithms Arjan Kok a.j.f.kok@tue.nl Lecture overview Classification of algorithms Scalar algorithms Vector algorithms Tensor algorithms Modeling algorithms 1 2 Visualization
More informationSRM INSTITUTE OF SCIENCE AND TECHNOLOGY
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK SUB.NAME: COMPUTER GRAPHICS SUB.CODE: IT307 CLASS : III/IT UNIT-1 2-marks 1. What is the various applications
More informationData Visualization. What is the goal? A generalized environment for manipulation and visualization of multidimensional data
Data Visualization NIH-NSF NSF BBSI: Simulation and Computer Visualization of Biological Systems at Multiple Scales June 2-4, 2 2004 Joel R. Stiles, MD, PhD What is the goal? A generalized environment
More informationComputer Graphics and Visualization. What is computer graphics?
CSCI 120 Computer Graphics and Visualization Shiaofen Fang Department of Computer and Information Science Indiana University Purdue University Indianapolis What is computer graphics? Computer graphics
More informationThe Traditional Graphics Pipeline
Final Projects Proposals due Thursday 4/8 Proposed project summary At least 3 related papers (read & summarized) Description of series of test cases Timeline & initial task assignment The Traditional Graphics
More informationgraphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1
graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1 graphics pipeline sequence of operations to generate an image using object-order processing primitives processed one-at-a-time
More informationIntroduction to Python and VTK
Introduction to Python and VTK Scientific Visualization, HT 2013 Lecture 2 Johan Nysjö Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University 2 About me PhD student in
More informationgraphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1
graphics pipeline computer graphics graphics pipeline 2009 fabio pellacini 1 graphics pipeline sequence of operations to generate an image using object-order processing primitives processed one-at-a-time
More informationThe Traditional Graphics Pipeline
Last Time? The Traditional Graphics Pipeline Reading for Today A Practical Model for Subsurface Light Transport, Jensen, Marschner, Levoy, & Hanrahan, SIGGRAPH 2001 Participating Media Measuring BRDFs
More informationComputer Graphics I Lecture 11
15-462 Computer Graphics I Lecture 11 Midterm Review Assignment 3 Movie Midterm Review Midterm Preview February 26, 2002 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/
More informationGraphics 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 informationIntroduction to Scientific Visualization
Introduction to Scientific Visualization Data Sources Scientific Visualization Pipelines VTK System 1 Scientific Data Sources Common data sources: Scanning devices Computation (mathematical) processes
More informationPipeline Operations. CS 4620 Lecture Steve Marschner. Cornell CS4620 Spring 2018 Lecture 11
Pipeline Operations CS 4620 Lecture 11 1 Pipeline you are here APPLICATION COMMAND STREAM 3D transformations; shading VERTEX PROCESSING TRANSFORMED GEOMETRY conversion of primitives to pixels RASTERIZATION
More informationGraphics for VEs. Ruth Aylett
Graphics for VEs Ruth Aylett Overview VE Software Graphics for VEs The graphics pipeline Projections Lighting Shading Runtime VR systems Two major parts: initialisation and update loop. Initialisation
More informationCS 130 Final. Fall 2015
CS 130 Final Fall 2015 Name Student ID Signature You may not ask any questions during the test. If you believe that there is something wrong with a question, write down what you think the question is trying
More informationIllumination Models & Shading
Illumination Models & Shading Lighting vs. Shading Lighting Interaction between materials and light sources Physics Shading Determining the color of a pixel Computer Graphics ZBuffer(Scene) PutColor(x,y,Col(P));
More informationScientific Visualization Example exam questions with commented answers
Scientific Visualization Example exam questions with commented answers The theoretical part of this course is evaluated by means of a multiple- choice exam. The questions cover the material mentioned during
More informationPipeline Operations. CS 4620 Lecture 14
Pipeline Operations CS 4620 Lecture 14 2014 Steve Marschner 1 Pipeline you are here APPLICATION COMMAND STREAM 3D transformations; shading VERTEX PROCESSING TRANSFORMED GEOMETRY conversion of primitives
More informationCMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker
CMSC427 Advanced shading getting global illumination by local methods Credit: slides Prof. Zwicker Topics Shadows Environment maps Reflection mapping Irradiance environment maps Ambient occlusion Reflection
More informationData Visualization. What is the goal? A generalized environment for manipulation and visualization of multidimensional data
Data Visualization NIH-NSF NSF BBSI: Simulation and Computer Visualization of Biological Systems at Multiple Scales Joel R. Stiles, MD, PhD What is real? Examples of some mind-bending optical illusions
More informationWhat is visualization? Why is it important?
What is visualization? Why is it important? What does visualization do? What is the difference between scientific data and information data Visualization Pipeline Visualization Pipeline Overview Data acquisition
More informationIntroduction to Visualization and Computer Graphics
Introduction to Visualization and Computer Graphics DH2320, Fall 2015 Prof. Dr. Tino Weinkauf Introduction to Visualization and Computer Graphics Visibility Shading 3D Rendering Geometric Model Color Perspective
More informationCS230 : Computer Graphics Lecture 4. Tamar Shinar Computer Science & Engineering UC Riverside
CS230 : Computer Graphics Lecture 4 Tamar Shinar Computer Science & Engineering UC Riverside Shadows Shadows for each pixel do compute viewing ray if ( ray hits an object with t in [0, inf] ) then compute
More informationVisualization. Images are used to aid in understanding of data. Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [chapter 26]
Visualization Images are used to aid in understanding of data Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [chapter 26] Tumor SCI, Utah Scientific Visualization Visualize large
More informationScalar Data. CMPT 467/767 Visualization Torsten Möller. Weiskopf/Machiraju/Möller
Scalar Data CMPT 467/767 Visualization Torsten Möller Weiskopf/Machiraju/Möller Overview Basic strategies Function plots and height fields Isolines Color coding Volume visualization (overview) Classification
More informationGraphics Hardware and Display Devices
Graphics Hardware and Display Devices CSE328 Lectures Graphics/Visualization Hardware Many graphics/visualization algorithms can be implemented efficiently and inexpensively in hardware Facilitates interactive
More informationTopic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping
Topic 12: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping Texture sources: Photographs Texture sources: Procedural Texture sources: Solid textures
More informationGraphics and Interaction Rendering pipeline & object modelling
433-324 Graphics and Interaction Rendering pipeline & object modelling Department of Computer Science and Software Engineering The Lecture outline Introduction to Modelling Polygonal geometry The rendering
More informationTopic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized
Topic 11: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip mapping & env mapping Texture sources: Photographs Texture sources: Procedural Texture sources: Solid textures
More informationOXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS
OXFORD ENGINEERING COLLEGE (NAAC Accredited with B Grade) DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING LIST OF QUESTIONS YEAR/SEM.: III/V STAFF NAME: T.ELANGOVAN SUBJECT NAME: Computer Graphics SUB. CODE:
More informationWhat is visualization? Why is it important?
What is visualization? Why is it important? What does visualization do? What is the difference between scientific data and information data Cycle of Visualization Storage De noising/filtering Down sampling
More informationOrthogonal Projection Matrices. Angel and Shreiner: Interactive Computer Graphics 7E Addison-Wesley 2015
Orthogonal Projection Matrices 1 Objectives Derive the projection matrices used for standard orthogonal projections Introduce oblique projections Introduce projection normalization 2 Normalization Rather
More informationRendering. Illumination Model. Wireframe rendering simple, ambiguous Color filling flat without any 3D information
llumination Model Wireframe rendering simple, ambiguous Color filling flat without any 3D information Requires modeling interaction of light with the object/surface to have a different color (shade in
More informationComputer Graphics 1. Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2011
Computer Graphics 1 Chapter 2 (May 19th, 2011, 2-4pm): 3D Modeling 1 The 3D rendering pipeline (our version for this class) 3D models in model coordinates 3D models in world coordinates 2D Polygons in
More informationPhotorealism: 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 information11/1/13. Visualization. Scientific Visualization. Types of Data. Height Field. Contour Curves. Meshes
CSCI 420 Computer Graphics Lecture 26 Visualization Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [Angel Ch. 2.11] Jernej Barbic University of Southern California Scientific Visualization
More informationVisualization. CSCI 420 Computer Graphics Lecture 26
CSCI 420 Computer Graphics Lecture 26 Visualization Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [Angel Ch. 11] Jernej Barbic University of Southern California 1 Scientific Visualization
More informationColor and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception
Color and Shading Color Shapiro and Stockman, Chapter 6 Color is an important factor for for human perception for object and material identification, even time of day. Color perception depends upon both
More informationTopic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural
Topic 11: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip mapping & env mapping Topic 11: Photographs Texture Mapping Motivation Sources of texture Texture coordinates
More informationCSE528 Computer Graphics: Theory, Algorithms, and Applications
CSE528 Computer Graphics: Theory, Algorithms, and Applications Hong Qin State University of New York at Stony Brook (Stony Brook University) Stony Brook, New York 11794--4400 Tel: (631)632-8450; Fax: (631)632-8334
More informationContours & Implicit Modelling 4
Brief Recap Contouring & Implicit Modelling Contouring Implicit Functions Visualisation Lecture 8 lecture 6 Marching Cubes lecture 3 visualisation of a Quadric toby.breckon@ed.ac.uk Computer Vision Lab.
More informationCHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY CS2401 COMPUTER GRAPHICS QUESTION BANK
CHETTINAD COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS2401 COMPUTER GRAPHICS QUESTION BANK PART A UNIT I-2D PRIMITIVES 1. Define Computer graphics. 2. Define refresh
More informationThe Viewing Pipeline Coordinate Systems
Overview Interactive Graphics System Model Graphics Pipeline Coordinate Systems Modeling Transforms Cameras and Viewing Transform Lighting and Shading Color Rendering Visible Surface Algorithms Rasterization
More informationComputer Graphics. Illumination and Shading
Rendering Pipeline modelling of geometry transformation into world coordinates placement of cameras and light sources transformation into camera coordinates backface culling projection clipping w.r.t.
More information2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into
2D rendering takes a photo of the 2D scene with a virtual camera that selects an axis aligned rectangle from the scene. The photograph is placed into the viewport of the current application window. A pixel
More informationComputer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL
Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon
More informationColor and Light CSCI 4229/5229 Computer Graphics Fall 2016
Color and Light CSCI 4229/5229 Computer Graphics Fall 2016 Solar Spectrum Human Trichromatic Color Perception Color Blindness Present to some degree in 8% of males and about 0.5% of females due to mutation
More informationQUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION
QUESTION BANK 10CS65 : COMPUTER GRAPHICS AND VISUALIZATION INTRODUCTION OBJECTIVE: This chapter deals the applications of computer graphics and overview of graphics systems and imaging. UNIT I 1 With clear
More informationProcessing 3D Surface Data
Processing 3D Surface Data Computer Animation and Visualisation Lecture 12 Institute for Perception, Action & Behaviour School of Informatics 3D Surfaces 1 3D surface data... where from? Iso-surfacing
More informationInteractive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL
International Edition Interactive Computer Graphics A TOP-DOWN APPROACH WITH SHADER-BASED OPENGL Sixth Edition Edward Angel Dave Shreiner Interactive Computer Graphics: A Top-Down Approach with Shader-Based
More informationPreviously... contour or image rendering in 2D
Volume Rendering Visualisation Lecture 10 Taku Komura Institute for Perception, Action & Behaviour School of Informatics Volume Rendering 1 Previously... contour or image rendering in 2D 2D Contour line
More information3D Programming. 3D Programming Concepts. Outline. 3D Concepts. 3D Concepts -- Coordinate Systems. 3D Concepts Displaying 3D Models
3D Programming Concepts Outline 3D Concepts Displaying 3D Models 3D Programming CS 4390 3D Computer 1 2 3D Concepts 3D Model is a 3D simulation of an object. Coordinate Systems 3D Models 3D Shapes 3D Concepts
More informationModeling the Virtual World
Modeling the Virtual World Joaquim Madeira November, 2013 RVA - 2013/2014 1 A VR system architecture Modeling the Virtual World Geometry Physics Haptics VR Toolkits RVA - 2013/2014 2 VR object modeling
More informationCourse Title: Computer Graphics Course no: CSC209
Course Title: Computer Graphics Course no: CSC209 Nature of the Course: Theory + Lab Semester: III Full Marks: 60+20+20 Pass Marks: 24 +8+8 Credit Hrs: 3 Course Description: The course coversconcepts of
More informationECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014
ECS 175 COMPUTER GRAPHICS Ken Joy Winter 2014 Shading To be able to model shading, we simplify Uniform Media no scattering of light Opaque Objects No Interreflection Point Light Sources RGB Color (eliminating
More informationIntroduction to Computer Graphics
Introduction to Computer Graphics James D. Foley Georgia Institute of Technology Andries van Dam Brown University Steven K. Feiner Columbia University John F. Hughes Brown University Richard L. Phillips
More informationRendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane
Rendering Pipeline Rendering Converting a 3D scene to a 2D image Rendering Light Camera 3D Model View Plane Rendering Converting a 3D scene to a 2D image Basic rendering tasks: Modeling: creating the world
More informationComputer Graphics Fundamentals. Jon Macey
Computer Graphics Fundamentals Jon Macey jmacey@bournemouth.ac.uk http://nccastaff.bournemouth.ac.uk/jmacey/ 1 1 What is CG Fundamentals Looking at how Images (and Animations) are actually produced in
More informationTopic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source
Topic 9: Lighting & Reflection models Lighting & reflection The Phong reflection model diffuse component ambient component specular component Spot the differences Terminology Illumination The transport
More information3D graphics, raster and colors CS312 Fall 2010
Computer Graphics 3D graphics, raster and colors CS312 Fall 2010 Shift in CG Application Markets 1989-2000 2000 1989 3D Graphics Object description 3D graphics model Visualization 2D projection that simulates
More informationHeight Fields and Contours Scalar Fields Volume Rendering Vector Fields [Angel Ch. 12] April 23, 2002 Frank Pfenning Carnegie Mellon University
15-462 Computer Graphics I Lecture 21 Visualization Height Fields and Contours Scalar Fields Volume Rendering Vector Fields [Angel Ch. 12] April 23, 2002 Frank Pfenning Carnegie Mellon University http://www.cs.cmu.edu/~fp/courses/graphics/
More informationInterpolation using scanline algorithm
Interpolation using scanline algorithm Idea: Exploit knowledge about already computed color values. Traverse projected triangle top-down using scanline. Compute start and end color value of each pixel
More informationShading. Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller/Fuhrmann
Shading Introduction to Computer Graphics Torsten Möller Machiraju/Zhang/Möller/Fuhrmann Reading Chapter 5.5 - Angel Chapter 6.3 - Hughes, van Dam, et al Machiraju/Zhang/Möller/Fuhrmann 2 Shading Illumination
More informationCS130 : Computer Graphics Lecture 2: Graphics Pipeline. Tamar Shinar Computer Science & Engineering UC Riverside
CS130 : Computer Graphics Lecture 2: Graphics Pipeline Tamar Shinar Computer Science & Engineering UC Riverside Raster Devices and Images Raster Devices - raster displays show images as a rectangular array
More informationModels and Architectures
Models and Architectures Objectives Learn the basic design of a graphics system Introduce graphics pipeline architecture Examine software components for an interactive graphics system 1 Image Formation
More informationThe University of Calgary
The University of Calgary Department of Computer Science Final Examination, Questions ENEL/CPSC 555 Computer Graphics Time: 2 Hours Closed Book, calculators are permitted. The questions carry equal weight.
More informationTopic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component
Topic 9: Lighting & Reflection models Lighting & reflection The Phong reflection model diffuse component ambient component specular component Spot the differences Terminology Illumination The transport
More informationVolume Illumination and Segmentation
Volume Illumination and Segmentation Computer Animation and Visualisation Lecture 13 Institute for Perception, Action & Behaviour School of Informatics Overview Volume illumination Segmentation Volume
More informationLecture notes: Object modeling
Lecture notes: Object modeling One of the classic problems in computer vision is to construct a model of an object from an image of the object. An object model has the following general principles: Compact
More informationChapter 5. Projections and Rendering
Chapter 5 Projections and Rendering Topics: Perspective Projections The rendering pipeline In order to view manipulate and view a graphics object we must find ways of storing it a computer-compatible way.
More informationComputer Graphics Ray Casting. Matthias Teschner
Computer Graphics Ray Casting Matthias Teschner Outline Context Implicit surfaces Parametric surfaces Combined objects Triangles Axis-aligned boxes Iso-surfaces in grids Summary University of Freiburg
More informationComputer Graphics 1. Chapter 7 (June 17th, 2010, 2-4pm): Shading and rendering. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2010
Computer Graphics 1 Chapter 7 (June 17th, 2010, 2-4pm): Shading and rendering 1 The 3D rendering pipeline (our version for this class) 3D models in model coordinates 3D models in world coordinates 2D Polygons
More informationVolume Rendering. Computer Animation and Visualisation Lecture 9. Taku Komura. Institute for Perception, Action & Behaviour School of Informatics
Volume Rendering Computer Animation and Visualisation Lecture 9 Taku Komura Institute for Perception, Action & Behaviour School of Informatics Volume Rendering 1 Volume Data Usually, a data uniformly distributed
More informationVolume Illumination & Vector Field Visualisation
Volume Illumination & Vector Field Visualisation Visualisation Lecture 11 Institute for Perception, Action & Behaviour School of Informatics Volume Illumination & Vector Vis. 1 Previously : Volume Rendering
More informationCS 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 informationOverview: Ray Tracing & The Perspective Projection Pipeline
Overview: Ray Tracing & The Perspective Projection Pipeline Lecture #2 Thursday, August 28 2014 About this Lecture! This is an overview.! Think of it as a quick tour moving fast.! Some parts, e.g. math,
More informationCPSC / Illumination and Shading
CPSC 599.64 / 601.64 Rendering Pipeline usually in one step modelling of geometry transformation into world coordinate system placement of cameras and light sources transformation into camera coordinate
More informationChapter 10. Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL
Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL 1 Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon
More information