Welcome to the OpenGL SuperBible Book 6th Edition Source Code by byhj!
OpenGL® SuperBible, Sixth Edition, is the definitive programmer’s guide, tutorial, and reference for the world’s leading 3D API for real-time computer graphics, OpenGL 4.3. The best all-around introduction to OpenGL for developers at all levels of experience, it clearly explains both the newest API and indispensable related concepts. You’ll find up-to-date, hands-on guidance for all facets of modern OpenGL development on both desktop and mobile platforms, including transformations, texture mapping, shaders, buffers, geometry management, and much more.
You can get more infomation by: http://www.openglsuperbible.com/
You can download the source code and media in this Website.
The github of this book: https://github.com/openglsuperbible/sb6code
=============================================================================================================================
- Visual Studio 2012 or 2013 (and some knowledge on how to build, run, and debug C++ projects)
- Microsoft Windows SDK for Windows 7 (This include the opengl)
- glew (The OpenGL Extension Wrangler Library)
- glfw3 (Use to creating render windows)
- glm (OpenGL Mathematics)
=============================================================================================================================
- Make sure you develop environment is right.
- You can build the environment by yourself according your target.
glew: http://glew.sourceforge.net
glfw: http://www.glfw.org
3.Project Organization:
|Root
|-- include
|-- bin
|-- lib
|-- src
|-- media
Notice: I use the Visual Studio project props file to share the project setting. The output dir:
|-- exe(Execute Dir)
|-- temp(temp file we possibly not need)
=============================================================================================================================
Open OpenGL-Bluebook.sln
- Right click on the project and set is as your startup project.
- Enter the exe Dir, run the exe to view the render output.