Top "Opengl-3" questions

OpenGL 3.0 is, after OpenGL 2.0, the second major release of OpenGL which, apart from some convenience updates, supports and requires a significantly advanced hardware generation (geometry shaders and instancing).

OpenGL 4.1 and 3.1+, What are key differences?

I understand that OpenGL 4 and 3 are fairly similar, especially 3.1 and 4.1. With both being essentially released together, it can be difficult …

opengl 3d performance opengl-3 opengl-4
glDrawArrays GL_LINES not drawing lines correctly

I am trying to draw a single line with the code below and it works : // Include standard headers #include <…

opengl-3
Why is glGetUniformLocation failing me?

I found Gwen a few days ago and thought it looked like the perfect GUI toolkit for my project. But …

opengl glsl shader opengl-3
glVertexAttribPointer raising GL_INVALID_OPERATION

I'm trying to put together a very basic OpenGL 3.2 (core profile) application. In the following code, which is supposed to …

c++ opengl opengl-3
What is gl_ModelViewMatrix and gl_ModelViewProjectionMatrix in modern OpenGL?

I have this code which is context "#version 330 core" gl_Position = PerspectiveViewMatrix(90.0, AspectRatio, 0.01, 1000.0 ) * TranslationMatrix(0, 0, -4 -0.35*MouseWheel) * RotationMatrix(MouseMovement.y, …

opengl opengl-3
What does GLEW do and why do I need it?

Okay, so I already know why I need GLEW, but only up to a point. If I am using modern …

opengl opengl-3 glew opengl-4
Which OpenGL functions are not GPU-accelerated?

I was shocked when I read this (from the OpenGL wiki): glTranslate, glRotate, glScale Are these hardware accelerated? No, there …

opengl gpu hardware-acceleration opengl-3
When should I use STD140 in OpenGL?

When do I use the STD140 for uniform blocks in OpenGL? Although I am not a 100% sure, I believe there …

opengl glsl opengl-3 opengl-4
Why do we need perspective division?

I know perspective division is done by dividing x,y, and z by w, to get normalized device coordinates. But …

opengl opengl-es-2.0 opengl-3
Creating an OpenGL 3.2/3.x context in SDL 1.3

I'm facing a problem where SDL says it does not support OpenGL 3.x contexts. I am trying to follow this …

c++ opengl sdl opengl-3