Accuracy & Aesthetics: Scientific Visualizations Using Hollywood Tools Frank Summers Greg Bacon Space Telescope Science Institute May 25, 2005.

Slides:



Advertisements
Similar presentations
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Advertisements

3D Graphics Rendering and Terrain Modeling
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
CS 4363/6353 INTRODUCTION TO COMPUTER GRAPHICS. WHAT YOU’LL SEE Interactive 3D computer graphics Real-time 2D, but mostly 3D OpenGL C/C++ (if you don’t.
1Notes  Assignment 1 is out, due October 12  Inverse Kinematics  Evaluating Catmull-Rom splines for motion curves  Wednesday: may be late (will get.
HCI 530 : Seminar (HCI) Damian Schofield.
Chapter 4 Digital Multimedia, 2nd edition Vector Graphics.
(conventional Cartesian reference system)
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
SWE 423: Multimedia Systems Chapter 4: Graphics and Images.
Ch 1 Intro to Graphics page 1CS 367 First Day Agenda Best course you have ever had (survey) Info Cards Name, , Nickname C / C++ experience, EOS experience.
Coordinate Systems X Y Z (conventional Cartesian reference system) X Y Z.
Shading Languages By Markus Kummerer. Markus Kummerer 2 / 19 State of the Art Shading.
1cs426-winter-2008 Notes  RenderMan resources up on the website  We will be using Pixie this term Check on the website soon (installed on CS linux.
Guilford County Sci Vis V204.01
Science, Data, & Art in the Imax Film “Hubble 3D” Frank Summers, Greg Bacon, Lisa Frattare, Zolt Levay Space Telescope Science Institute January 21, 2010.
Graphics: Creating Images Chapter 8, Exploring the Digital Domain.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - GRAPHICS. In this chapter how the computer creates, stores, and displays graphic images how the computer creates,
3D Concepts Coordinate Systems Coordinates specify points in space 3D coords commonly use X, Y, & Z A vertex is a 'corner' of an object Different coordinate.
Cornell CS465 Fall 2004 Lecture 1© 2004 Steve Marschner 1 CS465: Computer Graphics I Professor: Steve Marschner.
UFCEKT-20-33D Modelling and Animation 3D Modelling & Animation Materials and Textures Maps.
1 Chapter 1: Graphics Systems and Models. 2 Applications of C. G. – 1/4 Display of information Maps GIS (geographic information system) CT (computer tomography)
Lesson 1: Intro to Animation
COMP 261 Lecture 14 3D Graphics 2 of 2. Doing better than 3x3? Translation, scaling, rotation are different. Awkward to combine them. Use homogeneous.
Matte Painting 2.5D Environment Milestone 3 March 2009 Øyvind Lien.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
CS 480/680 Computer Graphics Course Overview Dr. Frederick C Harris, Jr. Fall 2012.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Introducing To 3D Modeling George Atanasov Telerik Corporation
Programmable Pipelines. 2 Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Week 2 - Wednesday CS361.
Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
Making Movies CS 551/645 Fall Assignment 4 n Use BMRT to render RenderMan scenes –BMRT is freeware version of a raytracer that renders RenderMan.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
RenderMan Introduction CS 551/645 Fall Evaluate Me! Please visit the SEAS main website and use the ‘Course Evaluations’ button to rate this class.
From Simulation to Visualization: Astrophysics Goes Hollywood Frank Summers January 17, 2002.
Game Programming 06 The Rendering Engine
Project requirements Summer 2015 Intro to 3D Animation (Please use this address for me.)
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Digital Media Dr. Jim Rowan ITEC So far… We have compared bitmapped graphics and vector graphics We have discussed bitmapped images, some file formats.
Accuracy & Aesthetics: Scientific Visualizations Using Hollywood Tools Dr. Frank Summers Space Telescope Science Institute November 4, 2005.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
A Few Things about Graphics Jian Huang Computer Science University of Tennessee.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 4 Lecture 4 - Vector Graphics.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
Handle By, S.JENILA AP/IT
Digital Media Dr. Jim Rowan ITEC Vector Graphics Elegant way to construct digital images that –have a compact representation –are scalable –are.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
1 Perception and VR MONT 104S, Fall 2008 Lecture 20 Computer Graphics and VR.
CS 445 / 645: Introductory Computer Graphics Review.
Mohammed AM Dwikat CIS Department Digital Image.
Introduction to Computer Graphics
3D Rendering 2016, Fall.
Games Development Practices 3D Modelling
Rendering Pipeline Fall, 2015.
- Introduction - Graphics Pipeline
Computer Graphics.
Visualization Shading
3D Graphics Rendering PPT By Ricardo Veguilla.
Understanding Theory and application of 3D
Interactive Computer Graphics
Understanding Theory and application of 3D
Introduction to spagetti and meatballs
Presentation transcript:

Accuracy & Aesthetics: Scientific Visualizations Using Hollywood Tools Frank Summers Greg Bacon Space Telescope Science Institute May 25, 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

GOODS CDFS

32,195 pixels 19,464 pixels 627 M pixels

Resolutions TV / VGA640 x k XGA1024 x k HDTV1920 x M WFPC21600 x M Dome< 3800 x 3800< 14.4 M ACS WFC4096 x M Viz Wall5120 x M IMAX5616 x M Sombrero 11,472 x M GOODS 32,195 x 19, M DimensionsTotal Pixels

Image Cleaning

Galaxy Cut-outs

11,392 galaxies with image & redshift 3D Model – texture mapped planes, sized for distance – always face camera – transparency proportional to brightness

Data Pipeline Culling, cross match (perl) Crop, clean, alpha (perl, IRAF, C) Galaxy Images Redshift Source Data Image Source Data Source Segmentation Map GOODS Images Galaxy Data

Data to Visualization Test in Maya Save as ASCII Edit Shortcuts Galaxy script Command script Camera script About a million lines of MEL Galaxy Data 3D modelling (perl) MEL Scripts Galaxy Images Maya

createNode transform -n "pPlane18471"; setAttr … createNode mesh -n "pPlaneShape18471" -p "pPlane18471"; createNode polyPlane -n "polyPlane18471"; createNode orientConstraint -n "pPlane18471_orientConstraint1" -p "pPlane18471"; createNode lambert -n "lambert18471"; createNode shadingEngine -n "lambert18471SG"; createNode materialInfo -n "materialInfo18471"; createNode file -n "file18471"; createNode place2dTexture -n "place2dTexture18471"; // connectAttr "polyPlane18471.out" "pPlaneShape18471.i"; connectAttr "pPlane18471.ro" "pPlane18471_orientConstraint1.cro"; connectAttr "camera1.ro" "pPlane18471_orientConstraint1.tg[0].tro"; connectAttr "lambert18471SG.msg" "lightLinker1.lnk[18471].olnk"; connectAttr "file18471.oc" "lambert18471.ic"; connectAttr "pPlaneShape18471.iog" "lambert18471SG.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, RenderDotC, 3Delight, Pixie APIs –C, Java, perl, python, Tcl RIB files

##RenderMan RIB-Structure 1.0 version 3.03 # Projection "perspective" Display "fisheye_splat.tiff" "tiff" "rgb" ScreenWindow Format Clipping # WorldBegin # Surface "fjs_fisheyelens" "lens_angle" [180] "zdistance" [0.05] "scale" [0.05] Polygon "P" [ ] # Attribute "render" "integer visibility" [3] # Translate 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 #

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 2D projection of smoothing kernel –Gaussian splat Can use softening length for gravity or calculate smoothing Near exact visual representation LaGrangian 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 RiPolygon 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,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 –HubbleSource DVD –FJS web pages