Introduction to Animation - Boston University

Introduction to Animation - Boston University

Visualization Data Representation Ray Gasser [email protected] SCV Visualization Workshop Fall 2008 Characteristics of Data Data is discrete Interpolation functions generate data values in between known points Structure may be regular or irregular Regular (structured) need to store only beginning position, spacing, number of points smaller memory footprint per cell (topology can be generated on the fly) examples: image data, rectilinear grid, structured grid

Irregular (unstructured) information can be represented more densely where it changes quickly higher memory footprint (topology must be explicitly written) but more freedom examples: polygonal data, unstructured grid SCV Visualization Workshop Fall 2008 Characteristics of Data Data has a topological dimension determines methods for visualization determines data representation examples:

0D - points 1D - lines/Curves 2D - surfaces 3D - volumes Data is organized into datasets for visualization Datasets consist of two pieces organizing structure cells (topology) points (geometry) data attributes associated with the structure File format derived from organizing structure SCV Visualization Workshop Fall 2008 Organizing Structure (Topology)

Topology the way in which constituent parts are interrelated or arranged specified by one or more cells (types vary with visualization packages) vertex - (0D) point polyvertex - (0D) arbitrarily ordered list of points line - (1D) defined by two points

polyline - (1D) ordered list of one or more connected lines triangle - (2D) ordered list of three points triangle strip - (2D) ordered list of n + 2 points (n is the number of triangles) polygon - (2D) ordered list of three or more points lying in a plane pixel - (2D) ordered list of four points with geometric constraints quadrilateral - (2D) - ordered list of four points lying in a plane tetrahedron - (3D) ordered list of four nonplanar points voxel - (3D) ordered list of eight nonplanar points with geometric constraints hexahedron - (3D) ordered list of eight nonplanar points SCV Visualization Workshop Fall 2008 Examples of Cell Types SCV Visualization Workshop Fall 2008 Organizing Structure (Geometry) Geometry

point coordinates assigned to a topology in 3D space represented by points example: (0 0 0), (0 1 0), (1 0 0) would be the geometry for a triangle SCV Visualization Workshop Fall 2008 Examples of Dataset Types Image Data (Structured Points) regular in both topology and geometry examples: lines, pixels, voxels applications: imaging CT, MRI Rectilinear Grid regular topology but geometry only partially regular examples: pixels, voxels

Structured Grid regular topology and irregular geometry examples: quadrilaterals, hexahedron applications: fluid flow, heat transfer SCV Visualization Workshop Fall 2008 Examples of Dataset Types Unstructured Points no topology and irregular geometry examples: vertex, polyvertex applications: data with no inherent structure

Polygonal Data irregular in both topology and geometry examples: vertices, polyvertices, lines, polylines, polygons, triangle strips Unstructured Grid irregular in both topology and geometry examples: any combination of cells applications: finite element analysis, structural design, vibration SCV Visualization Workshop Fall 2008 Examples of Dataset Types XML much more complicated than the dataset types described above, but supports

many more features provides the user with the ability to extend a file format with application specific tags in VTK the XML dataset has support for compression, portable binary encoding, random access, byte ordering, and multiple file representation of piece data SCV Visualization Workshop Fall 2008 Data Attributes Data attributes associated with the organizing structure Scalars single valued examples: temperature, pressure, density, elevation Vectors

magnitude and direction examples: velocity, momentum Normals direction vectors (magnitude of 1) used for shading Texture Coordinates used to map a point in Cartesian space into 1, 2, or 3D texture space used for texture mapping Tensors (generalizations of scalars, vectors and matrices) rank 0 ( scalar), rank 1 (vector), rank 2 (matrix), rank3 (3D rectangular array) examples: stress, strain SCV Visualization Workshop Fall 2008 Visualization of Attributes Scalar Algorithms

Color Mapping maps scalar data to colors implemented by using scalar values as an index into a color lookup table Contouring construct a boundary between distinct regions two steps: explore space to find points near contour connect points into contour (2D) or surface (3D) 2D contour map (isoline): applications: elevation contours from topography, pressure contours (weather maps) from meteorology SCV Visualization Workshop Fall 2008 Visualization of Attributes Contouring (cont) 3D isosurface:

applications: tissue surfaces from tomography, constant pressure or temperature in fluid flow, implicit surfaces from math and CAD Scalar Generation extract scalars from part of data example: extracting z coordinate (elevation) from terrain data to create scalar values SCV Visualization Workshop Fall 2008 Visualization of Attributes Vector Algorithms Hedgehogs oriented scaled line for each vector Oriented Glyphs orientation indicates direction

scale indicates magnitude color indicates magnitude, pressure, temperature, or any variable Warping advect a simple object to indicate flow vertices individually translated by flow SCV Visualization Workshop Fall 2008 Visualization of Attributes Vector Algorithms (cont) Field Lines Fluid flow is described by a vector field in three dimensions for steady (fixed time) flows or four dimensions for unsteady (time varying) flows Three techniques for determining flow Pathline (Trace) tracks particle through unsteady (time-varying) flow

shows particle trajectories over time rake releases particles from multiple positions at the same time instant reveals compression, vorticity Streamline tracks particle through steady (fixed-time) flow holds flow steady at a fixed time snapshot of flow at a given time instant Streakline particles released from the same position over a time interval (time-varying) snapshot of the variation of flow over time example: dye steadily injected into fluid at a fixed point SCV Visualization Workshop Fall 2008 Visualization of Attributes Field Lines (cont) Four ways to show flow Streamlines lines show particle flow Streamlets

half way between streamlines and glyphs example: stream arrows Streamribbon rake of two particles to create a ribbon maintain constant tangent distance between particles reveals vorticity Streamtube circular rake of particles to create a tube relative radius of tube indicates compression/divergence color can indicate pressure, temperature SCV Visualization Workshop Fall 2008 Visualization of Attributes Modeling Algorithms Clipping

can reveal internal details of a surface Cutting/Slicing cutting through a dataset with a surface Subsampling reduces data size by selecting a subset of the original data modifies topology SCV Visualization Workshop Fall 2008 Visualization of Attributes Volume Rendering used for data that is inherently volumetric examples: biomedical imaging, MR scans, CT scans, ultrasounds

Time Animation SCV Visualization Workshop Fall 2008 Sources The Visualization Toolkit, 3rd Edition, Will Schroeder, Pearson Education, Inc, 2002. The VTK Users Guide, 4.2 Edition, Kitware, 2003. Kitware: www.vtk.org

SCV Visualization Workshop Fall 2008

Recently Viewed Presentations

  • Genesis Chapter Nineteen - The Gahanna-Jefferson Church of Christ

    Genesis Chapter Nineteen - The Gahanna-Jefferson Church of Christ

    A. Oh, not so, my LORD. Genesis 19:19. 36. Lot says to the angels, Behold now, thy servant hath found grace in thy sight, and thou hast magnified thy mercy, which thou hast shewed unto me how? A. in warning...
  • Les Evolutions technologiques dans le domaine de l ...

    Les Evolutions technologiques dans le domaine de l ...

    C. Silvy (INRA, Montpellier) C. Roure (SupAgro) Doccitanist/CNRS 08/11/2011. ZoteroLogiciel libre de bibliographie. Extension du navigateur . Firefox (> version 2) Extension de firefox, mais données stockées indépendamment
  • Project 5-2110-03 Internet-Based Utility Permit Implementation

    Project 5-2110-03 Internet-Based Utility Permit Implementation

    This slide shows installation requests submitted to TxDOT using UIR, grouped by TxDOT district. Note: In the case of the Houston District, training was provided to TxDOT and utility company officials, but the district has not officially opened the district...
  • Emerging Electrical Therapy for Malignant Gliomas: Impact of

    Emerging Electrical Therapy for Malignant Gliomas: Impact of

    Emerging Electrical Therapy for Malignant Gliomas: Impact of Tumor Treating Fields and the Role of the Neuroradiologist. Aaron Skolnik, MD1. Harish Poptani, PhD1
  • The Agenda - Audit and Advisory Services | Audit and Advisory ...

    The Agenda - Audit and Advisory Services | Audit and Advisory ...

    Audit notification - approximately 6 weeks advance notice prior to the start of the audit. An entrance letter is sent to the campus President approximately 2 weeks before the audit start date. SFSU A&AS's role in the process is to...
  • Organizaciona kultura - prezentacija

    Organizaciona kultura - prezentacija

    Primeri: otvorena vrata profesora, posebna vrata za profesore, parking, toaleti i liftovi za menadžere i radnike, zgrade osiguravajućih kompanija, dress code bankarskih službenika, boja ekoloških kompanija, kancelarije direktora MATERIJALNI SIMBOLI Arhitektura i lokacija zgrada - tradicija (stare zgrade u centru),...
  • ECO Longitudinal - OSEP Leadership Mtng

    ECO Longitudinal - OSEP Leadership Mtng

    Lauren Barton, ECO at SRI, DaSy. ... These 2 tools allow you to look at your infrastructure of your system….see the pieces in place and understand how well that system can support your understanding and improvement of the system… so...
  • PHYSICS 231 INTRODUCTORY PHYSICS I Lecture 12 Last

    PHYSICS 231 INTRODUCTORY PHYSICS I Lecture 12 Last

    M a) 0.9 kg m2 b) 6.67 rad/s2 c) 4 m/s2 d) 1.72 kg A 600-kg solid cylinder of radius 0.6 m which can rotate freely about its axis is accelerated by hanging a 240 kg mass from the end...