1 / 19

Teaching Computer Graphics with Java

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).

johnna
Download Presentation

Teaching Computer Graphics with Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Agenda Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Background Computer Graphics I Grading Computer Graphics II

  3. Background (pre 2012) Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • Two main courses dedicated to teaching computer graphics offered at the Department: • Computer Graphics I: CS students, VI semester, obligatory and elective, B.Sc. Level • Computer Graphics II: CS students, VII semester, elective, M.Sc. Level • CG1: covered 2D and 3D computer graphics • Lectures were focused on analytical geometry and linear algebra, exercises on Java 2D and JOGL APIs • CG2: a wide range of topics, based on students’ research and seminar papers

  4. Reasons for change Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • As of school year 2011/2012, several important changes were introduced: • CG1 is now focused mainly on 2D • CG2 deals with 3D, and the teaching is based on lectures and exercises • Additional 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 concepts • A relatively high percentage of plagiarism in seminar papers 

  5. Agenda Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Background Computer Graphics I Grading Computer Graphics II

  6. Computer Graphics I Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • Main motivation: to create a practical and fun 2D computer graphics course • The covered concepts include: • The basics of drawing • Fractals • Image filtering • Principles of animation • In the end, the students are also given a short introduction to Open GL

  7. The basics of drawing Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia The Java painting process Window coordinate system Graphics and Graphics2D classes Drawing and filling simple geometry and text Loading and drawing images

  8. Fractals Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Introduction to fractal geometry L-Systems Turtle graphics

  9. Image filtering Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia The RGB color model The concepts of image filtering Three filter categories: simple, displacement, convolution

  10. Principles of animation Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Frame-based animation Time-based animation Double-buffering Geometry and image morphing

  11. Projects Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • During 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 canvas • Shoot ‘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 own

  12. Introduction to Open GL Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia In the end, students are given a short introduction to 3D graphics programming and Open GL / JOGL The purpose is to provide them a hint of the Computer Graphics II course

  13. Agenda Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Background Computer Graphics I Grading Computer Graphics II

  14. Grading Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • Two practical exams during the semester • 30 + 40 points • Minimum passing score: 35 • After the semester ends, there are two additional make-up exams • The final (oral) exam: 30 points

  15. Grades – school year 2011/2012 Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • 27 students enrolled the course • As of August 2012: • 20 students (74%) passed the practical exams • 15 students (55%) passed the final exam • Average score: 7.73 (of 10 max)

  16. Informal feedback Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • The students’ informal feedback was highly positive • In 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 home

  17. Agenda Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Background Computer Graphics I Grading Computer Graphics II

  18. Computer Graphics II Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia • The upcoming CG2 course will include a number of introductory, as well as advanced 3D graphics programming topics: • 3D transformations • Texturing (incl. multi-texturing) • Lighting • Terrain rendering • Shaders • Ray tracing • In the end, an existing Java-based 3D engine (e.g. Unity 3D) will be studied

  19. Thank you for your attention! Teaching computer graphics with Java - DAAD WS, September 2 - 9, 2012, Opatija, Croatia Questions? Suggestions?

More Related