3/45

Objectives

Why C++ and OpenGL

  • - You will use some C++ in the later classes.

  • - You will use library that are coded in C++ underneath.

  • - Refreshing programming concepts on highly used language for high end R&D tools

  • - You may not use directly OpenGL in the later CG classes

    • - Sofa for simulation (C++)

    • - Unity for Advanced CG (C#)

  • - However, OpenGL is everywhere underneath (/direct3D on Windows)

    • - OpenGL is the low-level base for real-time CG

  • ⇒ Give you (remind you) the fundamental low-level concept on which other tools are based

  • ⇒ Explains origin of keywords, working behavior, you may find in high level libraries

    • shaders, vertex, normals, phong, transform, etc