1 / 16

Introduction to Scientific Visualization

Introduction to Scientific Visualization. CS 4390/5390 Data Visualization Shirley Moore, Instructor October 13, 2014. SciVis aka Spatial Data Visualization.

Télécharger la présentation

Introduction to Scientific Visualization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Scientific Visualization CS 4390/5390 Data Visualization Shirley Moore, Instructor October 13, 2014

  2. SciVis aka Spatial Data Visualization • SciVis emerged as a discipline in the 1980s in response to the large amount of data produced by numerical simulations of physical phenomena (e.g., fluid flow, heat convection, material deformation). • Primary concern is visualization of 3D phenomena with emphasis on realistic renderings of volumes, surfaces, illuminations source, etc. • Depiction of datasets that have a natural spatial embedding • Relies heavily on computer graphics • Reference: Data Visualization: Principles and Practice, by AlexandruTelea, 2nd edition, CRC Press, 2014.

  3. SciVis Pipeline Image credit: AlexandruTelea, Data Visualization: Principles and Practice, 2nd edition

  4. DataSet

  5. Simple Example: Visualization of a Scalar Function of Two Variables

  6. Sample 1: Single-color Gridded Surface

  7. Sample 1 Code in C++ and GLUT • sample1.cpp • What happens if we use fewer sample points? • Viewpoint of virtual camera

  8. Sample 2 Plot

  9. Rendering Equation • Describes relationship between incoming light, outgoing light, and material properties at a given point • Approximate lighting effects to varying degrees of realism • Global illumination methods • radiosity methods • ray-tracing methods • Local illumination methods • Phong lighting model

  10. Phong-Blinn Lighting Model • Bui-TuongPhong, “Illumination for Computer-Generated Images”, 1973 • Jim Blinn, “Models of Light Reflections for Computer Synthesized Pictures”, 1977

  11. Phong-Blinn Lighting Model (2) Image from Wikipedia Phong lighting equation: I(p, v, L) = cambIl(cdiffmax(-L. n, 0) + cspecmax(r. v, 0)α)

  12. Phong Lighting Model in OpenGL • With flat shading: sample3.cpp • With Gouraud shading: sample4.cpp

  13. Transparency • Draw domain grid: sample5.cpp • Draw elevation plot with transparency factor: sample6.cpp

  14. Texture Mapping • Map 2D texture image onto 3D elevation plot • Sample7.cpp

  15. ParaView • http://www.paraview.org/ • Open source tool for scientific data visualization • Collaborative project between Kitware, Los Alamos National Lab, Sandia National Lab, and Army Research Lab • Can run in parallel to process large datasets • Built on top of the Visualization Toolkit (VTK), which is a portable open source C++ library for computer graphics and visualization • http://www.vtk.org/ • Flat and Gouraud shading examples in ParaView: • Gaussian (flat).pvsm • Gaussian (Gouraud).pvsm

  16. Preparation for Next Class • Finish Lab 3 • Study for quiz

More Related