This project is read-only.

Very slow performance.

Jun 4, 2013 at 4:21 PM
I wrote a small app to render a single object on the screen. I only get 10-16fps doing this.

I just wrote it to get a feel for openGL, and it uses the gl.Begin/gl.End method of rendering. I know this works fine for what I'm doing, because I have written the same app in java using LWJGL, and it worked fine.

Is there something I'm missing? It's taking ~15ms to do ~9800 iterations of gl.Vertex(..) and ~30ms to do gl.Vertex and gl.Normal
Jun 4, 2013 at 4:36 PM
Are you running in debug mode? Also, what render context provider are you using, using an FBO render context will generally be much faster - the dib section context is software mode
Jun 4, 2013 at 4:47 PM
Edited Jun 4, 2013 at 4:52 PM
I'm using the FBO context. I'm in debug mode, however, release mode offers no performance change.

I'm on Windows 8, using VS2012 and winform. If it matters.

EDIT: I overlooked something in my code. My performance is now ~30FPs.