What you need for this book
This book supports a wide range of platforms and open source libraries, ranging from Windows, Mac OS X, or Linux-based desktop applications to portable Android-based mobile applications. You will need a basic understanding of C/C++ programming and background in basic linear algebra for geometric models.
The following are the requirements for chapters 1 to 3:
- OpenGL version: 2.0 or higher (easy to test on legacy graphics hardware).
- Platforms: Windows, Mac OS X, or Linux.
- Libraries: GLFW for OpenGL Windows/context management and handling user inputs. No additional libraries are needed, which makes it very easy to integrate into existing projects.
- Development tools: Windows Visual Studio or Xcode, CMake, and gcc.
The following are the requirements for chapters 4 to 6:
- OpenGL version: 3.2 or higher.
- Platforms: Windows, Mac OS X, or Linux.
- Libraries: Assimp for 3D model loading, SOIL for image and texture loading, GLEW for runtime OpenGL extension support, GLM for matrix operations, and OpenCV for image processing
- Development tools: Windows Visual Studio or Xcode, CMake, and gcc.
The following are the requirements for chapters 7 to 9:
- OpenGL version: OpenGL ES 3.0
- Platforms: Linux or Mac OS X for development, and Android OS 4.3 and higher (API 18 and higher) for deployment
- Libraries: OpenCV for Android and GLM
- Development tools: Android SDK, Android NDK, and Apache Ant in Mac OS X or Linux
For more information, keep in mind that the code in this book was built and tested with the following libraries and development tools in all supported platforms:
- OpenCV 2.4.9 (http://opencv.org/downloads.html)
- OpenCV 3.0.0 for Android (http://opencv.org/downloads.html)
- SOIL (http://www.lonesock.net/soil.html)
- GLEW 1.12.0 (http://glew.sourceforge.net/)
- GLFW 3.0.4 (http://www.glfw.org/download.html)
- GLM 0.9.5.4 (http://glm.g-truc.net/0.9.5/index.html)
- Assimp 3.0 (http://assimp.sourceforge.net/main_downloads.html)
- Android SDK r24.3.3 (https://developer.android.com/sdk/index.html)
- Android NDK r10e (https://developer.android.com/ndk/downloads/index.html)
- Windows Visual Studio 2013 (https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx)
- CMake 3.2.1 (http://www.cmake.org/download/)