Computer Graphics and Visualization in a Computational Science Program

Size: px
Start display at page:

Download "Computer Graphics and Visualization in a Computational Science Program"

Transcription

1 Computer Graphics and Visualization in a Computational Science Program Steve Cunningham California State University Stanislaus Oregon State University, October 16, 2000

2 The imperative to scientific visualization comes from two sources: The need to understand sophisticated ideas more deeply The need to use sophisticated computation to do science

3 Visualization uses visual thinking: a key tool to help the student develop his or her deeper understanding of science

4 Visualization involves computation, the third leg of the tripod that supports science education and practice Theory Laboratory Computation

5 Scientific visualization is where computation and visual thinking meet - it s using computation to support the visual understanding of science

6 How do we introduce students to visual thinking and computation in science? User level approach Tutorial software Generalized tools Programming level approach Focus on creating specific visual content

7 These may not be equally good Tutorial software There seems to be an understanding that seeing visualizations provides little learning that texts cannot provide; the key is doing modeling and visualization themselves Generalized tools This approach is only as good as the tools used, and student learning may not transfer when the tools are replaced with new paradigms

8 Value of programming approach The student creates the linkage between the image and the simulation or experimental data, and has many more ways to control the visual communication in the image Color set Rendering options Animation Geometry

9 This approach can be embodied in a computer graphics course designed to be a core component of the student s computational science background

10 Traditional wisdom says that this might not be worthwhile: Computer graphics is thought to be a difficult subject Computer graphics is thought to require a student to to master highly technical algorithms Computer graphics is thought to be just about making realistic images

11 BUT... Computer graphics does do not need to be an especially difficult subject Computer graphics courses does not need to require a focus on technical algorithms Computer graphics courses can focus on visual communication and problem solving in application areas instead of simulating realism

12 My goal: to create a model for a computer graphics course that serves a broad student audience and is still a sound computer science course

13 Whom will the course serve? Shift the emphasis from developing graphics specialists to developing a broad group of students with graphics skills Students can come from the sciences or from many other disciplines, depending on the focus of the institution Computational science is a natural!

14 What is the new course model like? Focus is on graphics programming instead of graphics theory, algorithms, and techniques Emphasizes visual thinking and communication Uses a standard programming API, such as OpenGL, for its work Lectures discuss graphics concepts, while the course projects allow the students to work in their individual specialty areas such as the sciences

15 What background is needed? Sound programming skills, and an ability to see the geometry in their field Programming skills means roughly B or better in two programming courses Seeing geometry requires simple spatial abilities that don t come from coursework but can be picked up from the students work in their fields, especially science

16 Course projects Graphics topics, in order: Simple geometry and color Lighting/shading, transformations, callbacks Event-driven programming, user control, interface Clipping, transparency, texture maps, splines,... Object selection and interaction with image Include problem statement as project source and problem summary with project results

17 So what we have is not the traditional computer graphics course content of Geometry Rendering Display

18 but rather the more complete Data/Simulation Geometrizing Geometry Rendering Information & Insight Display

19 Possible student projects

20 Who wins with this approach? Computer science wins because we serve our colleagues and our universities better Science students win because they get a good background in the computer graphics they will use for their professional work Computer science students win because they get useful professional skills

21 A key question that I have not yet worked on: How could we adapt some of the ideas, and some of the content, from this course into a module that could take approximately four weeks of class and could be integrated into a computational science course on modeling and simulation, or into a more general scientific visualization course?

22 This work is supported by National Science Foundation grant DUE All opinions, findings, conclusions, and recommendations in this work are those of the author and do not necessarily reflect the views of the National Science Foundation. Contact information and credits: address is or Draft notes and other materials are online at / Thanks to Mike Bailey of SDSC for valuable help and collaboration