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 97624

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.

0 votes
1 answer
70 views

glDrawElements not acting as expected

code Vertices are created by an .obj file. (loading/OBJFile.java) I draw a cube perfectly fine with glDrawArrays. (VertexModel.java) created like this: new VertexModel(square.getIndexedVertexBuff …
stelar7's user avatar
  • 143
3 votes
3 answers
942 views

glDrawElements/Arrays not working

Given the following OpenGL call stack. According to my knowlegde, the calls to glDrawElements/Arrays are ok.(?) But, they do not draw anything. …
stelar7's user avatar
  • 143
1 vote
Accepted

glDrawElements/Arrays not working

Turns out LWJGL does not allow the use of .wrap() to create a FloatBuffer? Use BufferUtils.createFloatBuffer(), then put() and flip(). Ive created an issue on their github to see the answer
stelar7's user avatar
  • 143