Contents
Foreword xxi
Barthold Lichtenbelt
Preface xxiii
Tips xxvii
I Discovering 1
1 Teaching Computer Graphics Starting with Shader-Based
OpenGL 3
OpenGL
Edward Angel
1.1 Introduction........................... 3
1.2 ABasicCourse.......................... 4
1.3 HelloWorldinOpenGL:OldStyle ............... 4
1.4 StartingwithProgrammablePipelines.............. 6
1.5 HelloWorld:NewStyle..................... 8
1.6 TheRestoftheCourse ..................... 10
1.7 Conclusion ........................... 15
Bibliography.............................. 16
2 Transitioning Students to Post-Deprecation OpenGL 17
OpenGL
Mike Bailey
2.1 Introduction........................... 17
2.2 NamingShaderVariables:Introduction ............. 18
2.3 NamingShaderVariables:Details ................ ...