-
Notifications
You must be signed in to change notification settings - Fork 926
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5763ff4
commit ef103b4
Showing
5 changed files
with
5 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,8 @@ Full source code is available [here]({{ site.baseurl }}/download). | |
|
||
Feel free to contact us for any question, remark, bug report, or other : <a href="mailto:[email protected]">[email protected]</a>, but don't forget to read the [FAQ]({{ site.baseurl }}/miscellaneous/faq/) first ! | ||
|
||
Contributions are welcome, especially for the [translations]({{site.baseurl}}/miscellaneous/contribute/translation/) ! | ||
|
||
If you enjoy our work, please don't hesitate to spread the word ! | ||
|
||
Follow us ! | ||
|
||
<a href="https://github.com/opengl-tutorials/ogl" target="_blank" style="text-decoration:none;" ><svg enable-background="new 0 0 32 32" height="50px" id="Layer_1" version="1.0" viewBox="0 0 32 32" width="50px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path clip-rule="evenodd" d="M16.003,0C7.17,0,0.008,7.162,0.008,15.997 c0,7.067,4.582,13.063,10.94,15.179c0.8,0.146,1.052-0.328,1.052-0.752c0-0.38,0.008-1.442,0-2.777 c-4.449,0.967-5.371-2.107-5.371-2.107c-0.727-1.848-1.775-2.34-1.775-2.34c-1.452-0.992,0.109-0.973,0.109-0.973 c1.605,0.113,2.451,1.649,2.451,1.649c1.427,2.443,3.743,1.737,4.654,1.329c0.146-1.034,0.56-1.739,1.017-2.139 c-3.552-0.404-7.286-1.776-7.286-7.906c0-1.747,0.623-3.174,1.646-4.292C7.28,10.464,6.73,8.837,7.602,6.634 c0,0,1.343-0.43,4.398,1.641c1.276-0.355,2.645-0.532,4.005-0.538c1.359,0.006,2.727,0.183,4.005,0.538 c3.055-2.07,4.396-1.641,4.396-1.641c0.872,2.203,0.323,3.83,0.159,4.234c1.023,1.118,1.644,2.545,1.644,4.292 c0,6.146-3.74,7.498-7.304,7.893C19.479,23.548,20,24.508,20,26c0,2,0,3.902,0,4.428c0,0.428,0.258,0.901,1.07,0.746 C27.422,29.055,32,23.062,32,15.997C32,7.162,24.838,0,16.003,0z" fill="#181616" fill-rule="evenodd"/><g/><g/><g/><g/><g/><g/></svg></a> | ||
<a href="https://twitter.com/GraphicsTut" target="_blank" style="text-decoration:none;"><svg enable-background="new 0 0 48 48" height="50px" width="50px" id="Layer_1" version="1.1" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><circle cx="24" cy="24" fill="#55ACEE" r="24"/><g><g><path d="M36.8,15.4c-0.9,0.5-2,0.8-3,0.9c1.1-0.7,1.9-1.8,2.3-3.1c-1,0.6-2.1,1.1-3.4,1.4c-1-1.1-2.3-1.8-3.8-1.8 c-2.9,0-5.3,2.5-5.3,5.7c0,0.4,0,0.9,0.1,1.3c-4.4-0.2-8.3-2.5-10.9-5.9c-0.5,0.8-0.7,1.8-0.7,2.9c0,2,0.9,3.7,2.3,4.7 c-0.9,0-1.7-0.3-2.4-0.7c0,0,0,0.1,0,0.1c0,2.7,1.8,5,4.2,5.6c-0.4,0.1-0.9,0.2-1.4,0.2c-0.3,0-0.7,0-1-0.1 c0.7,2.3,2.6,3.9,4.9,3.9c-1.8,1.5-4.1,2.4-6.5,2.4c-0.4,0-0.8,0-1.3-0.1c2.3,1.6,5.1,2.6,8.1,2.6c9.7,0,15-8.6,15-16.1 c0-0.2,0-0.5,0-0.7C35.2,17.6,36.1,16.6,36.8,15.4z" fill="#FFFFFF"/></g></g></svg></a> | ||
<a href="https://plus.google.com/107410003823545892786" target="_blank" style="text-decoration:none;"><svg enable-background="new 0 0 128 128" height="50px" id="Layer_1" version="1.1" viewBox="0 0 128 128" width="50px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><circle cx="64" cy="64" fill="#D95032" r="64"/><g><g><path d="M49.424,97.875c-19.018,0-34.491-15.193-34.491-33.874c0-18.68,15.473-33.875,34.491-33.875 c8.318,0,16.354,2.952,22.624,8.309l-8.771,9.899c-3.838-3.279-8.758-5.086-13.853-5.086c-11.652,0-21.13,9.31-21.13,20.752 c0,11.441,9.479,20.75,21.13,20.75c9.858,0,16.311-4.723,18.407-13.197H49.587V58.432h32.347v6.562 C81.934,84.659,68.869,97.875,49.424,97.875z" fill="#FFFFFF"/></g><polygon fill="#FFFFFF" points="117.934,58.438 107.934,58.438 107.934,48.438 99.934,48.438 99.934,58.438 89.934,58.438 89.934,66.438 99.934,66.438 99.934,76.438 107.934,76.438 107.934,66.438 117.934,66.438 "/></g></g></svg></a> | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ print: true | |
|
||
# About sending e-mails... | ||
|
||
Sending an e-mail to [email protected] is the most effective way to get support. However, if you have a problem, please include as much information as you can. This means at least : | ||
You can try sending an e-mail to [email protected], but we don't have much time anymore to provide support. In any case, please include as much information as you can. This means at least : | ||
|
||
* OS : Gentoo ? Windows XP ? ... (remember : use the 2.1 port if you have a mac !) | ||
* 32 bits or 64 bits ? | ||
|
@@ -46,10 +46,6 @@ Several possible reasons : | |
|
||
Please check if you have an Intel card. You can do so using glewinfo, GPU Caps Viewer, or any other tool. | ||
|
||
Intel cards, except recent HD4000, don't support OpenGL 3.3. As a matter of fact, most only support OpenGL 2.1. You have to download the 2.1 version from the Downloads page instead. | ||
|
||
The other possible reason is that you're on a Mac, with a pre-Lion version. Same stuff applies... | ||
|
||
## Wrong working directory | ||
|
||
Chances are that you don't run them from the right directory. Try double-clicking on the .exe from the explorer. | ||
|
@@ -64,8 +60,8 @@ If you created a program from scratch, make sure you created a VAO : | |
|
||
``` | ||
GLuint VertexArrayID; | ||
glGenVertexArrays(1, &VertexArrayID); | ||
glBindVertexArray(VertexArrayID); | ||
glGenVertexArrays(1, &VertexArrayID); | ||
glBindVertexArray(VertexArrayID); | ||
``` | ||
|
||
## GLEW bug | ||
|
@@ -93,25 +89,6 @@ glewExperimental = true; | |
|
||
You did read Tutorial 1, right ? You didn't try to write your own makefile and build everything yourself, RIGHT ? | ||
|
||
# Why should I use OpenGL 3.3 if Intel and Mac can't run it ?! | ||
|
||
... also known as : | ||
|
||
# Which version of OpenGL should I use ? | ||
|
||
As a matter of fact, I don't recommend using OpenGL 3 or above for an application. I use it in the tutorials because it's the **clean** way to learn OpenGL, without all the deprecated stuff, and because once you know 3.3, using 2.1 is straighforward. | ||
|
||
What I recommend is : | ||
|
||
* Learn in OpenGL 3.3 so that you know the "right way" | ||
* Set a target hardware for your application. For instance, *require *FBOs and GLSL. | ||
* Use GLEW to load all the extensions. At startup, refuse all hardware which hasn't the required functionality level. | ||
* From now on, you can code almost like if you were on 3.3, with only a few changes. | ||
* If you really want to deal with older/cheaper hardware , you can still deal with them by disabling effects which require FBOs, for instance. | ||
|
||
<div><span style="font-size: medium;"><span style="line-height: 24px;">There's one big situation where you might want to use a very recent version, say 4.2 : you're a graduate student doing high-end research, you really need a recent feature, and you don't care about compatibility because your software will never be ran outside your lab. In this case, don't waste time and go straight to the highest OpenGL version your hardware supports.</span></span></div> | ||
|
||
|
||
# Where do I download OpenGL 3 ? | ||
|
||
You don't. | ||
|
@@ -123,7 +100,6 @@ GLEW calls wglGetProcAdress on all needed symbols, and make them available to yo | |
So, just make sure your GPU driver supports the needed version, use GLEW, and you're good to go. | ||
|
||
|
||
|
||
# Why do you create a VAO in each tutorial, but you never use it ? | ||
|
||
|
||
|