teaching computer graphics with java

19
Teaching Computer Graphics with Java Dejan Mitrović, Dragan Mašulović Department of Mathematics and Informatics Faculty of Sciences University of Novi Sad, Serbia

Upload: johnna

Post on 23-Feb-2016

36 views

Category:

Documents


0 download

DESCRIPTION

Teaching Computer Graphics with Java. Dejan Mitrović, Dragan Mašulović Department of Mathematics and Informatics Faculty of Sciences University of Novi Sad, Serbia. Agenda. Background Computer Graphics I Grading Computer Graphics II. Background (pre 2012). - PowerPoint PPT Presentation

TRANSCRIPT

PowerPoint Presentation

Teaching Computer Graphics with JavaDejan Mitrovi, Dragan Maulovi

Department of Mathematics and Informatics Faculty of SciencesUniversity of Novi Sad, SerbiaAgendaBackgroundComputer Graphics IGradingComputer Graphics IITeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia2/19Background (pre 2012)Two main courses dedicated to teaching computer graphics offered at the Department:Computer Graphics I: CS students, VI semester, obligatory and elective, B.Sc. LevelComputer Graphics II: CS students, VII semester, elective, M.Sc. LevelCG1: covered 2D and 3D computer graphicsLectures were focused on analytical geometry and linear algebra, exercises on Java 2D and JOGL APIsCG2: a wide range of topics, based on students research and seminar papers

Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia3/19Reasons for changeAs of school year 2011/2012, several important changes were introduced:CG1 is now focused mainly on 2DCG2 deals with 3D, and the teaching is based on lectures and exercisesAdditional elective course is introduced (Advanced concepts of computer graphics)Main reasons:One semester is not enough for a thorough understanding of both 2D and (especially) 3D conceptsA relatively high percentage of plagiarism in seminar papers Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia4/19AgendaBackgroundComputer Graphics IGradingComputer Graphics IITeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia5/19Computer Graphics IMain motivation: to create a practical and fun 2D computer graphics courseThe covered concepts include:The basics of drawingFractalsImage filteringPrinciples of animationIn the end, the students are also given a short introduction to Open GLTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia6/19The basics of drawingThe Java painting processWindow coordinate systemGraphics and Graphics2D classesDrawing and filling simple geometry and textLoading and drawing imagesTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia

7/19

FractalsIntroduction to fractal geometryL-SystemsTurtle graphicsTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia

8/19Image filteringThe RGB color modelThe concepts of image filteringThree filter categories: simple, displacement, convolutionTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia

9/19Principles of animationFrame-based animationTime-based animationDouble-bufferingGeometry and image morphingTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia

10/19ProjectsDuring the semester, the students also work on two projects:JPaint: a MS Paint-like application for drawing fractals and simple figures, and applying various filters on a canvasShoot em up: implementation of a classical shooter game

For each application, the students are given a skeleton implementation, as well as an accompanying documentation

The main idea is for the students to have two finished software products at the end of the course, that they have built on their ownTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia11/19Introduction to Open GLIn the end, students are given a short introduction to 3D graphics programming and Open GL / JOGLThe purpose is to provide them a hint of the Computer Graphics II courseTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia

12/19AgendaBackgroundComputer Graphics IGradingComputer Graphics IITeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia13/19GradingTwo practical exams during the semester30 + 40 points

Minimum passing score: 35After the semester ends, there are two additional make-up exams

The final (oral) exam: 30 pointsTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia14/19

Grades school year 2011/201227 students enrolled the courseAs of August 2012:20 students (74%) passed the practical exams15 students (55%) passed the final examAverage score: 7.73 (of 10 max)Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia15/19Informal feedbackThe students informal feedback was highly positiveIn previous official surveys, the average course grade has been ~ 9.5 (of 10 max)

The majority of students were motivated to work on the assignments during the practical exercises as well as at homeTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia16/19AgendaBackgroundComputer Graphics IGradingComputer Graphics IITeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia17/19Computer Graphics IIThe upcoming CG2 course will include a number of introductory, as well as advanced 3D graphics programming topics:3D transformationsTexturing (incl. multi-texturing)LightingTerrain renderingShadersRay tracingIn the end, an existing Java-based 3D engine (e.g. Unity 3D) will be studiedTeaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia18/19Thank you for your attention!Questions? Suggestions?Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia19/19