Presentation is loading. Please wait.

Presentation is loading. Please wait.

From Simulation to Visualization: Astrophysics Goes Hollywood Frank Summers January 17, 2002.

Similar presentations


Presentation on theme: "From Simulation to Visualization: Astrophysics Goes Hollywood Frank Summers January 17, 2002."— Presentation transcript:

1 From Simulation to Visualization: Astrophysics Goes Hollywood Frank Summers January 17, 2002

2

3

4 Simulation Done for research purposes Visualization Presentation to wide audience

5 Simulations Attempts to replicate & explore aspects of nature on a computer Attempts to replicate & explore aspects of nature on a computer Mathematical abstraction of a physical process (equations) Mathematical abstraction of a physical process (equations) Time sequence Time sequence

6 Example: Earth orbiting the Sun

7 Earth Sun

8 Earth Sun

9 Earth Sun

10 Earth Sun

11

12 Planet Star

13 Planet Star

14 Object 1 Object 2

15

16 Simulation is just numbers … Position, velocity, and mass Position, velocity, and mass Object Position (AU) Velocity (km/s) Mass (g) Sun (0, 0, 0) 2 x 10 2 x 10 33 Earth (1, 0, 0) (0, 30, 0) 6 x 10 6 x 10 27

17 … numbers changing over time Earth position changes Earth position changes DayXYZ 11.00.00.0 20.99990.01720.0 30.99940.03440.0 ………… 3640.9994-0.03440.0 3650.9999-0.01720.0

18 Simulation Details Initial Conditions Initial Conditions  position, velocity, density, temperature, etc. for all objects at starting time Equations Equations  gravity, hydrodynamics, radiation, magnetic fields, expansion of the universe

19 Simulation Details Time Evolution Time Evolution  Calculate forces, heating, other changes  Update position, velocity, etc. with new values  Repeat Data Output Data Output  Write file of positions, velocities, etc  Series of files covering simulation time

20 Scientific Accuracy Simulations expensive, but necessary Simulations expensive, but necessary Artist’s conceptions difficult Artist’s conceptions difficult  Well removed from normal experience  Complex 3D behaviors  Coupled feedback between physics  Scientists can’t describe it sufficiently Scientific simulations Scientific simulations  physics equations programmed in  3D, complexity, and feedbacks included

21

22

23 Visualization Turn those numbers into pictures Turn those numbers into pictures

24 Visualizations Data Transformation Data Transformation Representation Representation Choreography Choreography Rendering Rendering Compositing Compositing

25 Graphics vs Visualization Science Graphics Science Graphics  Pictures, plots, charts  Illustrations to scientific argument  Requires background knowledge to interpret  Representational  Content more important than form Scientific Visualization  Images and movies  Tells its own story  Must play off of audience’s knowledge  More literal  Visual message is the strongest

26 Data Transformation Comprehend the dataset Comprehend the dataset  What quantities?  What time period?  What are the assumptions? Convert from research quantities to more generally meaningful quantities Convert from research quantities to more generally meaningful quantities

27

28

29 Representation How literal? How literal? How artistic? How artistic? How best to promote message? How best to promote message? How to be least misleading? How to be least misleading?

30 Shading Geometry can get very complex Geometry can get very complex  ex., surface of an orange Shading solution - Use simple shapes Shading solution - Use simple shapes  ex., sphere Add complexity when drawing the surface Add complexity when drawing the surface  Texture - color, pattern  Bumps - small shape distortions  Light – reflection, transparency Programmability = Flexibility Programmability = Flexibility

31 Shading Example: 3 Balls

32 Shading Example: Teapot

33 Shading Stars Simple Geometry - DisksDisks w/ Star Shader

34 Shading Stars GaussianExponentialCombination Stars by Magnitude

35 Calibration using local starfield

36 Globular Star Cluster 47 Tucanae

37 Globular Star Cluster Viz Data - N-body simulation, 6144 stars (Zwart) Data - N-body simulation, 6144 stars (Zwart)  3D position, absolute brightness, mass, & type  color derived from mass, type, and spectra* Stars as point objects Stars as point objects  size depends on apparent brightness  size calculated in pixels, not 3D space Star shader in renderman Star shader in renderman  calculate app. brightness - each star, each frame  combination of gaussian and exponential glows Calibrated by reproducing constellations Calibrated by reproducing constellations

38

39 Shading Gas Clouds

40 Choreography Camera motion Camera motion Invaluable for giving 3D feel Invaluable for giving 3D feel Missing from most science animations Missing from most science animations

41 YZ Projection XY Projection

42 YZ Projection XY Projection

43

44 Orion Nebula

45

46 Rendering Lots of computer time Lots of computer time  Over 2 hours per frame for NASM  1500 frames – 125 CPU days Renderfarms Renderfarms  Clusters of computers dedicated to rendering

47 Renderfarm in 331B Gathered unused OPO machines Gathered unused OPO machines Installed Red Hat Linux Installed Red Hat Linux Connected to a switch and created an isolated private network of five machines Connected to a switch and created an isolated private network of five machines Total out-of-pocket cost $80 Total out-of-pocket cost $80 private network switch Computer 5 Red Hat Linux 7.2 P3 850 MHz Computer 4 Red Hat Linux 7.2 P2 400 MHz Computer 3 Red Hat Linux 7.2 P2 400 MHz Computer 2 Red Hat Linux 7.2 Dual P3 800 MHz Computer 1 Red Hat Linux 7.2 Dual P3 933 MHz

48 Master Computer Node 7 Node 9 Node 8 Node 4 Node 6 Node 2 Node 5 Node 3 Node 1 Node 11 Node 10 Node 13 Node 12 Node 14 Node 15 Node 16 1234 5678 9101112 13141516 Computing Cluster Display Visualization Wall Schematic

49 Compositing Add multiple elements together Add multiple elements together Provide context Provide context

50 Data - N-body + Hydro simulation Data - N-body + Hydro simulation  262,144 particles (Mihos & Hernquist)  young stars, old stars, gas, dark matter Galaxy Collision Viz

51

52


Download ppt "From Simulation to Visualization: Astrophysics Goes Hollywood Frank Summers January 17, 2002."

Similar presentations


Ads by Google