O'Reilly logo

Mastering SFML Game Development by Raimondas Pupius

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up OpenGL

  • In order to have access to the latest version of OpenGL, we need to download two libraries. One is named the OpenGL Extension Wrangler Library. It loads and makes available all OpenGL extensions that are supported on the target platform. The library can be downloaded here http://glew.sourceforge.net/.
  • The other library we need is called OpenGL Mathematics, or GLM for short. It is a header-only library that adds a lot of extra data types and functions, which come in handy more often than not. Anything from simple vector data types to functions used to calculate cross products are added in by this library. It can be found here http://glm.g-truc.net/0.9.8/index.html.

Setting up a Visual Studio project

Alongside the usual SFML includes, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required