-
Notifications
You must be signed in to change notification settings - Fork 2
Sample code for the OpenGL 3.0+ core profiles.
License
BSVino/OpenGL-3-4-Samples
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to make and run the examples: --------------------------------- 1. Please make sure, you have installed a Windows OpenGL 3.2 driver. For some examples you need a OpenGL 4.2 driver. As Mac OS X only supports OpenGL 3.2, these examples do not work. 2. Install Eclipse IDE for C/C++ Developers and a GNU Compiler Collection for your operating system. 3. Extract this ZIP file and set the workspace-cpp folder as your Eclipse workspace. 4. Import each folder as a separate, existing project. 5. Set the build configuration in Eclispe to your operating system. 6. Build GLUS. 7. Build any of the examples. 8. The executables are located in the Binaries folder. Execute them directly or create a run configuration in Eclipse. If you get build errors: ------------------------ - Please make sure, that you install all the needed header and libraries. - Pre-build libraries are located in the External project folder. Replace these libraries with your own build. If the examples are not working with your NVIDIA card: ------------------------------------------------------ If the OpenGL 3.2 examples are not working, please try the following: - Replace "#version 150" in the shaders with "#version 330" - Init GLUS with "glusPrepareContext(3, 3, GLUS_FORWARD_COMPATIBLE_BIT);" 17.02.2012 Norbert Nopper (norbert@nopper.tv)
About
Sample code for the OpenGL 3.0+ core profiles.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published