Reputation
17,498
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 42 78
Newest
 Nice Answer
Impact
~422k people reached

Feb
5
comment Using VBO in Opengl. powered with c# TAOFramwork
@ratchetfreak You beat me by 20 seconds. (should have been posted as an answer, though!)
Dec
26
comment Know if you're fully utilizing the GPU
Elephant in the room: If you have 17,000 draw calls each frame, you are not fully using your GPU.
Dec
25
comment OpenGL/SDL2 How to resize the render area with the window?
Sounds like maybe you have a leftover scissor region still active? Also worth checking that you're resizing any non-default framebuffers. In my game, for example, I rendering into a couple of offscreen framebuffers, before blitting the results to the screen. So when my window gets resized, I need to resize those other framebuffers as well.
Dec
18
awarded  Nice Answer
Dec
17
comment How to justify friendly shopkeeper in the cave of doom among millions of mobs?
@vsz The original question didn't specify that it wanted realistic motivations. It also didn't specify a medieval-ish fantasy world (not sure where you got that from). It actually didn't specify much of anything, so my answer here was entirely mechanical in nature, apart from the silly quip in the last two sentences, which I just thought was funny and didn't think anyone would take seriously.
Dec
16
answered How to justify friendly shopkeeper in the cave of doom among millions of mobs?
Dec
6
awarded  Good Answer
Dec
2
comment How can I create borders in an open-world game that don't feel artificial?
@WernerCD It's already in the list, approximately two thirds of the way through. :) (although perhaps not as explicitly as it ought to be)
Dec
2
awarded  Nice Answer
Dec
2
revised How can I create borders in an open-world game that don't feel artificial?
added 7 characters in body
Dec
2
answered How can I create borders in an open-world game that don't feel artificial?
Nov
30
answered Camera movement and threshold not working
Nov
24
comment Terrain shader from heightmap opengl GLSL
Your height map is flipped on one axis.
Nov
13
comment OpenGL not rendering textures
(technically, you could swap the calls to glBindTexture() and glEnable() if you really want to. But everything else has to happen in this order, in order to work correctly.)
Nov
13
comment OpenGL not rendering textures
Additionally: according to the documentation, the only time glEnable() will trigger a GL_INVALID_OPERATION error is if you call it between glBegin() and glEnd(). Were you doing that, perhaps? OpenGL doesn't allow you to change the fixed function pipeline's configuration in the middle of a draw.
Nov
13
answered OpenGL not rendering textures
Nov
13
comment OpenGL not rendering textures
Note that 1282 is GL_INVALID_OPERATION.
Nov
12
comment How can I normalize a vector if I am handling movment of each axis seperatley?
(With that said, I can't make your amended formula produce reasonable results, so either it needs more explanation about how to use it, or there may simply be fundamental problems with the formula. But either way, the place to wrangle with those is in a separate answer, not in the comments on this one.)
Nov
12
comment How can I normalize a vector if I am handling movment of each axis seperatley?
@KyleBaran Please post answers as answers, not as comments.
Nov
11
revised How do I check if one square is overlapping another in HTML5 canvas
Caveats