Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matheusamazonas/opengl-redbook-code-macos
OpenGL Red Book Code for MacOS
https://github.com/matheusamazonas/opengl-redbook-code-macos
Last synced: 4 days ago
JSON representation
OpenGL Red Book Code for MacOS
- Host: GitHub
- URL: https://github.com/matheusamazonas/opengl-redbook-code-macos
- Owner: matheusamazonas
- Created: 2014-07-20T21:12:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-02T05:24:05.000Z (over 10 years ago)
- Last Synced: 2024-10-11T10:13:46.194Z (27 days ago)
- Language: C++
- Size: 262 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OpenGL Red Book Code for MacOS
=========================Code for [“OpenGL Programming Guide: The Official Guide to Learning OpenGL”](http://www.opengl-redbook.com/) by Dave Shreiner, 8th edition. This code doesn’t belong to me, it’s simply an adaptation of the book’s code to MacOS X. Although it is possible to use FreeGLUT as a OpenGL Toolkit, I use GLFW.
* Running on MacOS 10.9.4 (Mavericks)
* Using [GLFW 3.0.4](http://www.glfw.org/) instead of GLUT/FreeGLUT (as the book does);
* OpenGL 4.1;To compile the code:
g++ source_file.cpp -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo -lGLEW -o program_nameWe need to use the Cocoa, IOKit and CoreVideo frameworks to use GLFW
http://www.glfw.org/docs/latest/build.html#build_link_osxOriginal Book Code available at:
http://www.opengl-redbook.com/