Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 36172

OpenGL is a graphics standard and API which targets the desktop and workstation markets. It is designed to be easy to accelerate with dedicated computer hardware, and hence most implementations give greatly improved performance over traditional software rendering. Currently, OpenGL is used for applications like CAD software and computer games. It is also cross-platform. The OpenGL standard is controlled by the Khronos group, which also controls OpenGL ES.

4 votes
Accepted

Draw selected instances of VAO (glDrawArraysInstanced)

Keep in mind that various instancing features have been added to OpenGL at different times: OpenGL 3.1 ARB_draw_instanced and ARB_uniform_buffer_object become core, allowing basic instanced rendering … OpenGL 3.3 ARB_instanced_arrays becomes core, allowing for instanced vertex attributes through glVertexAttribDivisor. OpenGL 4.2 ARB_base_instance makes instanced attributes more flexible. …
bcrist's user avatar
  • 2,338
1 vote

How to fix model matrices colliding in vertex shader?

Typically, the MVP matrix (along with any other matrices you might be using) are specified using uniforms, for example: #version 330 in vec3 iPosition; // input from vertex attribute out vec3 vPosit …
bcrist's user avatar
  • 2,338
1 vote

OpenGL Arc-Ball Camera Yaw Pitch GLM::Rotate

There are a few issues that are preventing your code from behaving like you expect. First of all, your pitch and yaw rotations are applied in the wrong order. Remember non-coplanar 3D rotations are …
bcrist's user avatar
  • 2,338
3 votes
Accepted

How can I set up an intuitive perspective projection/view matrix combination in OpenGL, usin...

user1118321's answer will provide you the correct answer, though it is more general than necessary. Since we're dealing with a right triangle, the easiest solution is to use the definition of the tan …
bcrist's user avatar
  • 2,338