1,518 reputation
719
bio website
location
age
visits member for 4 years, 2 months
seen Nov 27 at 1:40

I am fascinated by computer programming. My main interest is C++ and C#. Recently I grew a strong interest to generic programming and template meta-programming which is opening up a fascinating world of programming that is absolutely beautiful and exciting to unravel.

By profession, I am a game developer and specialize in core engine development.

Twitter: @samaursa


Oct
9
accepted Can I mix the use of VAO and direct usage of glVertexAttribPointer?
Oct
8
answered Can I mix the use of VAO and direct usage of glVertexAttribPointer?
Oct
7
comment Can I mix the use of VAO and direct usage of glVertexAttribPointer?
That's interesting. If I understand the doc correctly, I should get the GL_INVALID_OPERATION when using an absolute address for the pointer argument unless I have a buffer bound. In my case, I get the invalid operation error only if I bind a VAO before calling glVertexAttribPointer. The interesting thing is that if I don't use VBOs/VAOs at all and use glVertexAttribPointer with an absolute address, the attributes are transferred to the shader correctly. The only time when they don't is when I call glVertexAttribPointer and then bind a VAO and then make a draw call.
Oct
7
comment Can I mix the use of VAO and direct usage of glVertexAttribPointer?
Just so that I understood correctly, calling glVertexAttribPointer with an absolute address before binding a VAO and then doing a draw call should work? I am unable to get this to work so I wanted to be absolutely sure so that I look elsewhere in the code for a bug.
Oct
7
asked Can I mix the use of VAO and direct usage of glVertexAttribPointer?
Oct
4
awarded  Popular Question
Sep
26
awarded  Yearling
Sep
24
awarded  Autobiographer
Sep
13
awarded  Notable Question
Jul
2
awarded  Curious
Mar
25
awarded  Enlightened
Mar
25
awarded  Nice Answer
Dec
31
comment Implement an upper FPS limit in the gameloop
One of the points in that question is "Running at 100% CPU is not necessarily bad.". But I see your point about it not directly answering your question.
Dec
31
comment Implement an upper FPS limit in the gameloop
possible duplicate of CPU usage, game loop and sleep()
Dec
31
awarded  Citizen Patrol
Nov
25
awarded  Popular Question
Sep
26
awarded  Yearling
Aug
10
awarded  Nice Question
Jul
3
awarded  Nice Question
Jun
29
comment How can I unpack a sprite sheet into multiple images?
It also hangs when I click about... in options. I am guessing the program has trouble opening additional windows.