Accuracy Aesthetics Scientific Visualizations Using Hollywood Tools Dr
- Slides: 42
Accuracy & Aesthetics: Scientific Visualizations Using Hollywood Tools Dr. Frank Summers Space Telescope Science Institute November 4, 2005
Academia vs Hollywood • • • Simulation Illustrate point Complex physics Simple geometry Simple lighting Simple camera No compositing Exact / approximate Intellectual Left brain Accuracy • • • Animation Tell story Simple physics Complex geometry Complex lighting Complex camera Heavy compositing Whatever looks good Emotional Right brain Aesthetics
Han Solo: Fast ship? You've never heard of the Millennium Falcon? Obi-Wan Kenobi: Should I have? Han Solo: It's the ship that made the Kessel Run in less than twelve parsecs.
GOODS CDFS
GOODS CDFS 19, 464 pixels 32, 195 pixels 627 M pixels
Resolutions Dimensions Total Pixels TV / VGA 640 x 480 300 k XGA 1024 x 768 800 k HDTV 1920 x 1080 2. 1 M WFPC 2 1600 x 1600 2. 6 M < 3800 x 3800 < 14. 4 M ACS WFC 4096 x 4096 16. 7 M Viz Wall 5120 x 4096 21 M IMAX 5616 x 4096 23 M Sombrero 11, 472 x 6429 74 M 32, 195 x 19, 464 627 M Dome GOODS
Image Cleaning
Image Cleaning
Image Cleaning
Galaxy Cut-outs
Galaxy Cut-outs • 11, 392 galaxies with image & redshift • 3 D Model – texture mapped planes, sized for distance – always face camera – transparency proportional to brightness
Data Pipeline GOODS Images Source Segmentation Map Image Source Data Redshift Source Data Crop, clean, alpha (perl, IRAF, C) Culling, cross match (perl) Galaxy Images Galaxy Data
Data to Visualization Galaxy Images 3 D modelling (perl) MEL Scripts Maya Galaxy Data • • Test in Maya Save as ASCII Edit Shortcuts • • Galaxy script Command script Camera script About a million lines of MEL
create. Node transform -n "p. Plane 18471"; set. Attr … create. Node mesh -n "p. Plane. Shape 18471" -p "p. Plane 18471"; create. Node poly. Plane -n "poly. Plane 18471"; create. Node orient. Constraint -n "p. Plane 18471_orient. Constraint 1" -p "p. Plane 18471"; create. Node lambert -n "lambert 18471"; create. Node shading. Engine -n "lambert 18471 SG"; create. Node material. Info -n "material. Info 18471"; create. Node file -n "file 18471"; create. Node place 2 d. Texture -n "place 2 d. Texture 18471"; // connect. Attr "poly. Plane 18471. out" "p. Plane. Shape 18471. i"; connect. Attr "p. Plane 18471. ro" "p. Plane 18471_orient. Constraint 1. cro"; connect. Attr "camera 1. ro" "p. Plane 18471_orient. Constraint 1. tg[0]. tro"; connect. Attr "lambert 18471 SG. msg" "light. Linker 1. lnk[18471]. olnk"; connect. Attr "file 18471. oc" "lambert 18471. ic"; connect. Attr "p. Plane. Shape 18471. iog" "lambert 18471 SG. dsm" -na;
Camera tracks in x, y and z Dots are keyframe positions
Visualization Wall
Renderman & SPH
Shading • Exact geometric modelling can get very complex • Shading - use simple shapes and add complexity when drawing the surface – Texture - color, pattern – Bumps - small shape distortions – Light - reflection, transparency • Programmability = Flexibility
Shading Example: Teapot
Renderman Interface • Pixar specification • Renderers – PRMan, BMRT, Aqsis, Air, Render. Dot. C, 3 Delight, Pixie • APIs – C, Java, perl, python, Tcl • RIB files
##Render. Man RIB-Structure 1. 0 version 3. 03 # Projection "perspective" Display "fisheye_splat. tiff" "rgb" Screen. Window -1 1 Format 480 1 Clipping 0. 049 1000. 0 # World. Begin # Surface "fjs_fisheyelens" "lens_angle" [180] "zdistance" [0. 05] "scale" [0. 05] Polygon "P" [0. 05 -0. 05] # Attribute "render" "integer visibility" [3] # Translate 0. 95940 0. 93531 1 Surface “fjs_splat" "splatcolor" [1 1 1] "radius" [1] "amplitude_g" [1] "sigma_g" [0. 4] "amplitude_e" [1. 0] "sigma_e" [0. 16] "percent_g" [1. 0] "exposure" [1. 0] Disk 0 0. 0110226 360 #
N-body & SPH Simulations • N-body simulations – particle based gravity – gravity is “softened” on small scales • Smoothed Particle Hydrodynamics – particles represent gas clouds – smoothing kernel – density profile – adapts over space and time • Work well together – stars, galaxies, cosmology sims
gas stars
SPH Shader • Disk geometry • Shade with 2 D projection of smoothing kernel – Gaussian splat • Can use softening length for gravity or calculate smoothing • Near exact visual representation • La. Grangian vs Eulerian
gas
stars
before after
Cosmology • Large scale structure of the universe • SPH - high density gas shows galaxies • N-body - dark matter shows mass
galaxies
dark matter
galaxies & dark matter
Fisheye Lens Shader • Shader can re-direct light path with a ray-tracing renderer • Insert fisheye shader in front of scene to produce planetarium dome master
/*----- fisheyelens. sl * Procedural shader applied to a Ri. Polygon which ray traces a fisheye lens from the origin. */ surface fisheyelens ( float lens_angle = 180. 0; float scale = 10. 0; ) { color blackcolor = color(0. 0, 0. 0); varying float ss = s*scale; varying float tt = t*scale; varying float r = sqrt(ss*ss + tt*tt); if (r > 0. 5) { Ci = blackcolor; } else { float polar_angle = radians(lens_angle)*r; float z = cos(polar_angle); float x = sin(polar_angle)*ss/r; float y = sin(polar_angle)*tt/r; varying vector tracedir = vector "camera" (x, y, z); varying point startpoint = point "camera" (0, 0, 0); Ci = trace(startpoint, tracedir); } } trace function requires raytracer
Conclusions • Simulations provide accuracy – Lots of big data sets – Special data preparation for viz • Animation software provides aesthetics – Utilize programming interfaces – Use the best, ignore the rest • Sci Viz benefits – Better data representation – Wider audience appeal • Resources – Hubble. Source DVD – FJS web pages
Notes • FJS web pages – google “Frank Summers” • Astronomy visualization email list – groups. yahoo. com – astro-viz • Planetarium email list – dome-l • Community – Archive, virtual repository – Open source software – Publishing?
- Delighted visualizations
- The hollywood studio system in the 1930s and 1940s
- Golden age of hollywood 1930s
- Etds universal studios hollywood
- Hollywood 1977
- What is continuity editing
- Inhalt des films
- Hollywood renaissance films
- West hollywood rso
- Hollywood versus bollywood
- Dream factory hollywood
- Hollywood silver fox farm v emmett
- Capital of hollywood
- Hollywood music genre
- Hollywood africans
- Hollywood vs history
- Where is the hollywood sign
- Benzedrine inhaler hollywood
- Classical hollywood cinema characteristics
- Capital hollywood
- James neville mason
- Hollywood
- Prensa rosa hollywood
- How was the hollywood ten affected by the accusations
- Law of similarity
- Racquel aesthetics
- Ideo pleasure examples
- The concept of aesthetics
- Mda framework example
- The aesthetics studio
- Plato aesthetics
- Bourriaud relational aesthetics
- Transcendental aesthetics
- Beast and beauty aesthetics
- Example of environmental aesthetics
- Aesthetics in photography
- Hegel philosophy of fine art summary
- Hume aesthetics
- Biotechnology aesthetics
- Introduction to aesthetics
- Applied media aesthetics
- Mechanics dynamics aesthetics examples
- Aesthetics on point meaning