I am new to OpenTK and OpenGL programming as a whole so bear with me.
I have a C# application (windows forms, .net 3.5, visual studio 2010) which polls a device for data every 50ms. I then process this data and display a series of rings and traces (similar to a radar graph in excel). All works fine but it looks choppy. I really only draw 1`2 rings which are made up of 192 lines so the draw is not that intensive. Below is the flow
//clear the back buffer
GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
//my function to grab data from a tool
//the previous function loops and calls the following lines 12 times building the rings (depricated of course)
//bring the back buffer to the front
//give us time to show to user
//i then pause the thread for 50ms
//wait 50ms, this gives us @20fps
It seems strange to redraw every time and not just replace the lines that have not changed. Am i missing something? Thanks for any help!!