3d scientific visualization with blender...overview -3d scientific visualization with blender...

55
3D Scientific Visualization with Blender Brian R. Kent, Ph.D. Scientist, National Radio Astronomy Observatory www.cv.nrao.edu/~bkent/blender Twitter and Instagram: @VizAstro

Upload: others

Post on 21-Feb-2020

16 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

3D Scientific Visualization with BlenderBrian R. Kent, Ph.D.

Scientist, National Radio Astronomy Observatory

www.cv.nrao.edu/~bkent/blender

Twitter and Instagram: @VizAstro

Page 2: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Watch the live broadcast of this presentation, courtesy of NCSA, at:

https://youtu.be/8FqGNdvEVWo?t=539

Page 3: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Book and tutorials available at:

http://www.cv.nrao.edu/~bkent/blender/

https://www.youtube.com/VisualizeAstronomy

Twitter and Instagram: @VizAstro

Interesting in learning more?

Brian R. Kent, Ph.D.Scientist, National Radio Astronomy Observatory

Page 4: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Overview - 3D Scientific Visualization with Blender

• Science domain and data of astronomy•What and why we need to visualize data•All about the visualization tool Blender• Examples• Intro to using the interface

Dr. Brian R. Kent3D Visualization

Page 5: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

NRAO Radio Telescopes

Dr. Brian R. Kent3D Visualization

Page 6: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 7: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Astrophysical Phenomena

Dr. Brian R. Kent3D Visualization

Page 8: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 9: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 10: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 11: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

What do we do in observational astronomy?

Remote sensing and planetary explorationDr. Brian R. Kent3D Visualization

Caltech/NRAO/NASA/STScI

Page 12: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Remote Sensing● Imaging from the ground or space of phenomena that

we can’t physically reach● The entire physical Universe is our laboratory● Spectroscopy○ Dynamics and kinematics, chemistry

● Imaging○ Earth looking out, and from orbit looking at planets

● Time-series○ Asteroid identification, light-curves for planet finding, and

pulsar timing for general relativity

Dr. Brian R. Kent3D Visualization

Page 13: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Astrophysical Simulations● N-body simulations● Smoothed Particle Hydrodynamics● Numerical Relativity●Models of…○ Interacting Binary Stars○ Active Galactic Nuclei Jets○ Black Holes○ Interacting Galaxies

Dr. Brian R. Kent3D Visualization

Data from Matt Wood, Texas A&MUniversity-Commerce

Page 14: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Data Rates in Astronomy

● The Atacama Large Millimeter Array (ALMA) in Chile has produced:○ over 1300 Terabytes

of total data in 2014.○ over 2700 Terabytes

of total data in 2016● The Very Large Array in

New Mexico has the capability of producing a million simultaneous frequency channels.

● Current VLA Sky Survey generates 300 GB of raw data in four hours.

Dr. Brian R. Kent3D Visualization

Page 15: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All
Page 16: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 17: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All
Page 18: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Types of Data in Astronomy

Dr. Brian R. Kent3D Visualization

Page 19: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Why do we need to visualize?

In addition to increasing data rates, data are becoming increasingly complex. We have moved from

● the paradigm of studying a single spectral line to thousands of lines

● the paradigm of single galaxy dynamics to millions of galaxies

The parameter space continues to increase - efficient database usage, signal extraction, and visualization methods are required. Dr. Brian R. Kent

3D Visualization

Page 20: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

High-performance computing

Dr. Brian R. Kent3D Visualization

Study from Kent (PASP) 2013

Page 21: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Software for 3D graphics

HOUDINI

Dr. Brian R. Kent3D Visualization

Page 22: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Blender3D Graphics and Visualization

Dr. Brian R. Kent3D Visualization

Page 23: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

What is Blender?

Blender is:● 3D graphics software for modeling,

animation, and visualization●Open-source●A real-time 3D viewer and GUI●A Python scriptable interface for

loading datahttp://www.blender.org

Dr. Brian R. Kent3D Visualization

Page 24: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Elements of 3D GraphicsWe need to consider:● Models - physical or data containers?● Textures - 2D, 3D, and projections?● Lighting - illumination of data - physical or artistic● Animation - How will the model move and change?● Camera control - lens selection, angle, image size, and

movement and tracking● Rendering - backend engine choice● Compositing - layering final output

Dr. Brian R. Kent3D Visualization

Page 25: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 26: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Modeling

Page 27: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Texturing and Mapping

Dr. Brian R. Kent3D Visualization

Page 28: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Animation Dr. Brian R. Kent3D Visualization

Page 29: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Camera Control and Movement

Dr. Brian R. Kent3D Visualization

Page 30: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Rendering Engine

● Blender (included)● Cycles (included)● Yafaray (open source ray tracing engine

http://www.yafaray.org/)● Luxrender (http://www.luxrender.net/en_GB/index)● Octane (http://render.otoy.com/)● Renderman

(http://renderman.pixar.com/view/renderman)

Dr. Brian R. Kent3D Visualization

Page 31: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Compositing

Dr. Brian R. Kent3D Visualization

Page 32: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Rendering and Compositing

Page 33: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Examples

Page 34: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Planetary Models● High resolution maps from orbit can be combined with

atmospheres, backgrounds, and lighting elements for a realistic presentation.

See: http://www.blenderguru.com/videos/create-a-realistic-earth/

Dr. Brian R. Kent3D Visualization

Page 35: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 36: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D Visualization

Page 37: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Magnetic Fields

Dr. Brian R. Kent3D Visualization

Page 38: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Data Cubes● Gridded data can come from telescopes or

simulations● Radio telescopes produce grids that cover...○ Two sky coordinates (X and Y)○ Frequency (Z - the doppler shifted velocity)

● These cubes can show the dynamics of galaxies, planetary disks, and large scale structure formation of clusters

Dr. Brian R. Kent3D Visualization

Page 39: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

●Density maps of the nearby Universe can be created on regularly spaced grids.

● The results of these surveys allow to study not only the density of galaxies in 3D, but also the effects of gravity in the same regions of space...

Data Cubes

Dr. Brian R. Kent3D Visualization

Page 40: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Dr. Brian R. Kent3D VisualizationData from Saunders et al. 2000 and Schmoldt et al. 1999

Page 41: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

N-body Simulations● Data generated from GADGET-2

(Galaxies and Dark Matter Interacting 2)

N-body/SPH code:

○ http://www.mpa-garching.mpg.de/gadget/

● 30,000 particles, 1100 snapshots run for 2

billion years

● Blender Python interface used to bring XYZ

position data into the vertices of Blender

objects

● Objects are “textured” with Halos.

● Each grid square is approximately 33,000 light

years

Dr. Brian R. Kent

3D Visualization

Page 42: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Galaxy Catalogs

Dr. Brian R. Kent3D VisualizationCourtois et al. 2009 and the extragalactic distance database

Page 43: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Other Sciences: Biology

http://www.bioblender.org

Page 44: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Other Fields: Geography

http://kodex.tumblr.com/post/37038839550/visualising-qgis-data-with-blender

Page 45: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

408 MHz NASA SkyView or Montage (Berriman et al.) Google Spatial Media Module

Dr. Brian R. Kent3D Visualization

Page 46: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

360 Panoramas (Kent 2017)http://iopscience.iop.org/article/10.1088/1538-3873/aa5543

Dr. Brian R. Kent3D Visualization

Page 47: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Courtois and Tully et al. Extragalactic Distance Databasehttps://www.youtube.com/watch?v=vW93wkDqz54

Dr. Brian R. Kent3D Visualization

Page 48: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Fluke et al. 2018 Vohl et al. 2017

Page 49: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Jill Naiman et al.Rhys Taylor et al.

Matias Garate et al.

Page 50: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Education and public outreach

Benedikt Diemer and Isaac Facio

Thomas Madura

NRAO NINE Program

Page 51: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

PASP Special Issue

Contribute to Volume 2!

http://iopscience.iop.org/journal/1538-3873/page/Techniques-and-Methods-for-Astrophysical-Data-Visualization

Dr. Brian R. Kent3D Visualization

Page 52: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

A Tour of the Blender Interface

Page 53: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Blender Interface

Dr. Brian R. Kent3D Visualization

Page 54: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Blender interface

Translation Rotation Scaling

Dr. Brian R. Kent3D Visualization

Page 55: 3D Scientific Visualization with Blender...Overview -3D Scientific Visualization with Blender •Science domain and data of astronomy •What and why we need to visualize data •All

Book and tutorials available at:

http://www.cv.nrao.edu/~bkent/blender/

https://www.youtube.com/VisualizeAstronomy

Twitter and Instagram: @VizAstro

Interesting in learning more?

Brian R. Kent, Ph.D.Scientist, National Radio Astronomy Observatory