PDA

View Full Version : Speed & Memory



Sangee
08-08-2007, 09:59 PM
Hi,
Now am finished drawing the CAD Diagram using OpenGL and VisualC++ 6.0. But the rendering speed is very slow and also while redrawing the design, large amount of memory is consumed each time and its goes on increasing. Any ideas to solve this problem?

sqrt[-1]
08-09-2007, 01:46 AM
Perhaps try and make sure you don't have any errors in your app first?

Try GLIntercept:
http://glintercept.nutty.org/index.html

or gDebugger

km,
09-09-2007, 08:59 PM
Since this is an application. I would advice to look at CPU code (C++ here) and then OpenGL usage.

Build your project with relevant optimization flags turned on etc.

You can use gDebugger (www.gremedy.com) to look at OpenGL performance later. Use it with instrumented driver to look at GPU performance counters if it is relevant in your app.

HTH
Ketan