EG 2018 - Education Papers


pp. 25 - 32

GL-Socket: A CG Plugin-based Framework for Teaching and Assessment


Author(s):
Carlos Andujar, Antonio Chica, Marta Fairén, and Alvar Vinacua

DOI:
10.2312/eged.20181003

Abstract:
In this paper we describe a plugin-based C++ framework for teaching OpenGL and GLSL in introductory Computer Graphics courses. The main strength of the framework architecture is that student assignments are mostly independent and thus can be completed, tested and evaluated in any order. When students complete a task, the plugin interface forces a clear separation of initialization, interaction and drawing code, which in turn facilitates code reusability. Plugin code can access scene, camera, and OpenGL window methods through a simple API. The plugin interface is flexible enough to allow students to complete tasks requiring shader development, object drawing, and multiple rendering passes. Students are provided with sample plugins with basic scene drawing and camera control features. One of the plugins that the students receive contains a shader development framework with self-assessment features. We describe the lessons learned after using the tool for four years in a Computer Graphics course involving more than one hundred Computer Science students per year.

Multimedia:

   shader-creation.mp4


  full paper
<<< back