opengl-tutorials
opengl-tutorials copied to clipboard
Tutorials from the following playlist: https://www.youtube.com/playlist?list=PLPaoO-vpZnumdcb4tZc4x5Q-v7CkrQ6M-
  what can i do?
Hi, is it possible to include a CMakeLists.txt file for non Visual Studio users?
Load the sword model, but the model was not in the window? how to fix?
Due to [OpenGL specification](https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDetachShader.xhtml) glDetachShader has to be called at some point before or after glDeleteShader. > If shader has already been flagged for deletion by a call to [glDeleteShader](https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDeleteShader.xhtml)...
Greetings! Not an issue, but rather an example of how your amazing tutorial was used to extend it to some cross-platform implementations. This example (https://github.com/twelvechairssoftware/glfw-opengl3-imgui) wraps your code into a...
Change glviewport from first tutorials to int width, height; glfwGetFramebufferSize(window, &width, &height); glViewport(0, 0, width, height); It will prevent some issues with scaling
``` // Checks if the different Shaders have compiled properly void Shader::compileErrors(unsigned int shader /* Sidenote: shouldn't this be GLuint for maximum generality? */, const char* type) { // ......
YoutubeOpenGL 13 - Model Loading/Model.cpp: //======================================== 22 meshes[i].Mesh::Draw(shader, camera, matricesMeshes[i]); // created matrices are not transferred 22 meshes[i].Mesh::Draw(shader, camera, matricesMeshes[i], translationsMeshes[i], rotationsMeshes[i], scalesMeshes[i]); // corrected //-------------------------------------------------------------------- 69 float rotValues[4] =...
As in title, unchanged solution, reproducible under VS 2019/2022
There are some invalid `glTexParameteri` calls here that generate some errors (highlighted): https://github.com/VictorGordan/opengl-tutorials/blob/main/YoutubeOpenGL%2022%20-%20Anti-Aliasing/Main.cpp#L149-L152 The specification says: > An INVALID_ENUM error is generated by TexParameter* if target is ei- ther TEXTURE_2D_MULTISAMPLE...