PART 2 Introduction to Computer Graphics using OpenGL Burkhard Wünsche Director of the Graphics Group Director of the Division for Biomedical Imaging and Visualization
Burkhard Wünsche City Campus, Room 303-529 burkhard@cs.auckland.ac.nz Phone: (09) 3737599 ext 83705 Office hours: Whenever I am in my office and the door is open Or by appointment 2
Introduction to Computer Graphics Introduction to OpenGL Illumination and Shading Introduction to Modelling Modelling with Polygonal Meshes Ray Tracing Texture Mapping Spline Curves and Surfaces 3
Lecture times: Mon 4-5pm, Tue 3-4pm, Wed 1-2pm (303-G50, LgChem) NOTE: Monday, the 5 th June is a public holiday (Queen s birthday) Week 7 (1 5 May): Introduction to Graphics Research, Introduction to OpenGL Week 8 (8 12 May): Illumination and Shading Week 9 (15 19 May): Geometric Modelling with Polygonal Meshes Week 10 (22 26 May): Raytracing Week 11 (29 May 2 June): Texture Mapping & Spline Curves Week 12 (5 9 June): Spline Surfaces & Revision 4
Tutorial times: Tue 5-6pm, Wed 4-5pm, Thu 3-4pm Week 7 (1 5 May): Tutorials about week 6 from Patrice s lecture Week 8 (8 12 May): Intro to OpenGL Week 9 (15 19 May): Illumination and Shading Week 10 (22 26 May): Modelling and 3D Transformations Week 11 (29 May 2 June): Raytracing Week 12 (5 9 June): Texture Mapping & Spline Curves 5
Week 7 (1 5 May): Lab about week 6 from Patrice s lecture Week 8 (8 12 May): OpenGL Week 9 (15 19 May): Illumination and Shading Week 10 (22 26 May): Modelling Week 11 (29 May 2 June): Raytracing Week 12 (5 9 June): Texture Mapping & Spline Curves => 5 sets of quizzes/labs (theory and programming component) for Part 2 of the lecture, each set of quizzes is worth 2.5% IMPORTANT: OpenGL only works on the latest Coderunner version. Please use: https://coderunner2.auckland.ac.nz 6
Lectures and tutorials: There will be short (3-5min) ungraded quizzes in each tutorial about 3D Thinking Lecture/tutorials notes and recordings: Canvas pages for CS 373 S1 (and CS 771 S1) [folders Computer Graphics 2017 and Lecture recordings 2017 ] Additional lecture resources (recommended reading, example code) CS 373 S1 course webpage: https://www.cs.auckland.ac.nz/courses/compsci373s1c/burkhardslectures/ Coderunner assignments/labs: https://coderunner2.auckland.ac.nz (NOTE: different URL from part 1 of the lecture) Ungraded quizzes are voluntarily and have unlimited tries and are open during the entire semester The graded quizzes consist of a theoretical part (MCQs) and a programming part and are open for only a week. Each part is worth 5 points, i.e. 10 points in total (2.5% of your final grade). 7
Introduction to Computer Graphics What is Computer Graphics? Career opportunities in Computer Graphics How to do well in this course Who is Burkhard? Graphics Group and Graphics Lab Visual Problem Solving Computer Graphics research in the Graphics Group 8
Computer graphics (CG) is the field of visual computing, where one utilizes computers both to generate visual images synthetically and to integrate or alter visual and spatial information sampled from the real world. [http://en.wikipedia.org/wiki/computer_graphics] OUTPUT descriptions images INPUT descriptions Computer Graphics images Computer Vision Image Processing 9
Engineer Mechanic Taxi driver, Truck driver Formula 1 pilot Computer Graphics Specialist Technician Software support Designer Animator Research & Development Maintenance Use 10
Logical- Mathematical Abilities Artistic Abilities Visual Thinking Abilities Technical Abilities Interpersonal Abilities Mathematics Problem Solving Analytical Skills Creativity Artistic Skills 3D Vision Spatial Intelligence Programming Hardware Communication Skills Social Skills Teamwork Research / Development Implementation / Testing / Service Graphics Design Evaluation Specifications Sales / Marketing 11
Game and Movie Industry (Sidhe, Weta Digital, SmallWorlds) Biomedical Imaging (Siemens, MeVis) Graphics Software Development (Autodesk, Nemetschek, Massive Software) Education & Training (Pacific Simulators, SIMTICS) Applications (Serato, Animation Research) 12
If you are not familiar with C/C++ start studying now Spruce up your mathematics skills ;-) Be proactive, creative, learn teamwork ( plagiarism!!) Read the lecture notes BEFORE the lecture Read the lecture notes again after the lecture and try to understand everything Read the prescribed textbook, use the web, Do exercises & Coderunner quizzes Study and experiment with code examples Form study groups!!! (use the online forum for this) Go to the tutorials Do the labs/assignments yourself (don t copy) Be nice to each other 13
Neuroscience research shows that: Self-control is a better predictor of academic success than IQ Learn to prioritise your study Eliminate distractions Get enough sleep Five successive days of insufficient sleep can lower IQ by 15 points The brain s job is surviving, not learning Doing everything at the last minute might help you to work harder, but not better. Synaptic plasticity GOOD: Purposeful learning, curiosity, regular exercises (physically, mentally), emotional stability BAD: Stress, depression, sedative lifestyle Be proactive, not reactive 14
Born in München (Germany) Studied 3 years in Kaiserslautern (Germany) PhD in Biomedical Visualization Research Interests: Computer Graphics, Exergaming, CompSci Education, Biomedical Imaging, Scientific Visualization, Game Technology, Exergaming, Simulation Algorithms, Information Visualization, Human-Computer Interfaces, Human-Robot Interfaces, Augmented and Virtual Reality, Image-based modelling 15
2+ Academic staff 7 PhD Students > 200 international publications since 1997 Numerous research grants and student scholarships Successful commercial projects International collaborations 16
17
Burkhard Wünsche Graphics Group Department of Computer Science The University of Auckland, New Zealand GRAPHICS GROUP
A Simple Game - Textual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Player 1: Player 2: Winner: First player with three numbers adding up to 15 19
A Simple Game - Textual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 8 20
A Simple Game - Textual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 8 3 21
A Simple Game - Textual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 8, 5 3 22
A Simple Game - Textual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 8, 5 3, 2 23
A Simple Game - Textual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 8, 5,? 3, 2 24
A Simple Game - Visual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 4 9 2 3 5 7 8 1 6 25
A Simple Game - Visual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 4 9 2 3 5 7 8 1 6 26
A Simple Game - Visual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 4 9 2 3 5 7 8 1 6 27
A Simple Game - Visual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 4 9 2 3 5 7 8 1 6 28
A Simple Game - Visual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 4 9 2 3 5 7 8 1 6 29
A Simple Game - Visual Representation Given: 1, 2, 3, 4, 5, 6, 7, 8, 9 Two players: Alternately choose one number Winner: First player with three numbers adding up to 15 Player 1: Player 2: 4 9 2 3 5 7 8 1 6 30
50% of the brain is used for visual processing 31
Computer Graphics Domain knowledge Cognitive Psychology Computer Vision Fine Arts Marthematical Modelling Visual Problem Solving HCI 32
Improve the perception, analysis, understanding, interaction with and communication of complex data 33
Enable inexperienced users to rapidly create 3D content 34
Texture synthesis, morphing, reconstruction and completion 35
Create cognitive and perceptual overlap Improve efficiency, reduce cost & improve safety of applications ` 36
Visual representations for entertainment, business & education 37
Exercise games & rehabilitation applications Consumer-level sensors 38
Evaluate, improve and find novel applications for consumer-level hardware HCI technologies 39
Evaluate and develop technologies and concepts for improving computer science (and especially computer graphics) education 40
For more information and possible research projects please talk to me Burkhard Wünsche Graphics Group Department of Computer Science The University of Auckland, New Zealand 41