Adding an image to a 2D OpenGL screen may seem like a relatively simple task, but it’s not. OpenGL is a rendering language, and as such has no native support for loading JPEG, GIF, TIF, BMP or any other popular image type. If, like me, you’re looking for a quick and simple way to get [...]
Posts Tagged ‘OpenGL’
Adding images to OpenGL in C
Posted: 7th July 2009 by Tim in OpenGLTags: bmp, C, coding, fig, image, jpeg, jpg, load, OpenGL, raw, Software Development, software engineering, texture, tif
7
vbo_copy_vertices: Assertion `0′ failed.
Posted: 7th July 2009 by Tim in OpenGLTags: coding, gl, glu, glut, OpenGL, Software Development, vbo
While writing an OpenGL program, I came across the following error: vbo/vbo_exec_draw.c:135: vbo_copy_vertices: Assertion `0′ failed. The problem occured while trying to plot ~1 million points in a graph. Reducing this number to 2000 points fixed the problem. So if you’re encountering this error, try simplifying your display.