164 reputation
6
bio website bpace.info
location California
age 23
visits member for 2 years, 5 months
seen Dec 12 '12 at 1:37

Oct
9
awarded  Nice Question
Feb
21
comment SFML Segmentation Fault when using VBOs?
I didn't realize that was what I was doing, but reading a bit more on the OpenGL wiki cleared things up. In this case, the cautious way I program backfired. In my mind, I was attempting to get VBO rendering working, and once I had gotten there, experiment with shaders. I didn't realize I needed to provide some shaders.
Feb
20
awarded  Benefactor
Feb
19
comment SFML Segmentation Fault when using VBOs?
Great reply, I was operating with an incorrect understanding of the distinction between the different rendering methods.
Feb
19
accepted SFML Segmentation Fault when using VBOs?
Feb
19
comment SFML Segmentation Fault when using VBOs?
Well whoops, yeah, I meant three.
Feb
19
comment SFML Segmentation Fault when using VBOs?
I guess I may have misunderstood how glDrawArrays works, but even if I try to draw two vertices it segfaults. I'll add that on my Mac it segfaults trying to read memory address 0x00000000. For some reason on my linux machine gdb can't get a backtrace, complaining Backtrace stopped: previous frame inner to this frame (corrupt stack?).
Feb
19
awarded  Promoter
Feb
15
comment SFML Segmentation Fault when using VBOs?
glGetError returns GL_NO_ERROR. I'm not sure what your second question was, but the issue happens when I call glDrawArrays.
Feb
15
comment SFML Segmentation Fault when using VBOs?
Unless I'm reading it incorrectly, the OpenGL API states that the third argument to glDrawArrays is the number of points to read. Either way, calling GLDrawArrays(GL_TRIANGLES, 0, 1); results in the same error.
Feb
15
comment SFML Segmentation Fault when using VBOs?
I link it dynamically. I can do immediate mode drawing just fine.
Feb
15
asked SFML Segmentation Fault when using VBOs?
Nov
28
accepted Could I be going crazy with Event Handlers? Am I going the “wrong way” with my design?
Nov
28
asked Could I be going crazy with Event Handlers? Am I going the “wrong way” with my design?
Nov
28
awarded  Supporter
Nov
28
accepted What is the primary use of Vertex Buffer Objects?
Nov
27
asked What is the primary use of Vertex Buffer Objects?
Nov
27
awarded  Scholar
Nov
27
accepted Frame Buffer Objects vs calling TexCoord2f?
Nov
27
comment Frame Buffer Objects vs calling TexCoord2f?
Thank you! This is exactly the kind of answer I needed. It's much clearer, and now I know when I should start reading up on FBOs and what they can accomplish for me.