RE: [Opengc-devel] Performance Issue( help!)
Status: Pre-Alpha
Brought to you by:
madmartigan
From: Doyle, S. <ste...@uk...> - 2004-05-05 11:47:48
|
Hi Damion, Let give you a little background on this. I am currently trying to display the guages on top of a live video display. I have done this by creating a new guage component that consists of an openGL texture which I am rendering the live video to using DSVideoLib(Allows the use of Microsoft's Direct Show with openGL). It was while I was doing this that I noticed my performance problem. I have subsequently removed this component and started doing performance tests on OpenGC unmodified. I am running standalone, well I have set the datasource to be EGyro, but nothing is physically connected to the comm port. I have selected the 777 pfd minus the altitude tape and the speed tape. I have set the app rate as you suggested, but this has made no difference i.e appUpdateRate = 1.0 / 1000.0; My method of timming the app is primitive, I put the following code in the draw method of ogcFLTKRenderWindow unsigned int dwStart=GetTickCount(); this->Render(); unsigned int dwTime=GetTickCount()-dwStart; printf("Time(ms) = %d\n",dwTime); On 1.9GhZ P4 with 1GB RAM and an ATI RAGE 128PRO video card I get an average of 25fps. I have also tried it on a 2.2GHz P4, 1GB RAM and Nvidia Geforce 4 with very similar results. I've also tried it in both release & debug modes again there is no difference. I get the feeling this is going to turn out to be something very silly, but I can't think what. Cheers Steve -----Original Message----- From: Damion Shelton [mailto:da...@op...] Sent: 30 April 2004 17:30 To: ope...@li... Subject: Re: [Opengc-devel] Performance Issue( help!) Hi, One question comes to mind immediately.... you mentioned that you "altered the app update rate appropriately". Was that modification of this line: appUpdateRate = 1.0 / 24.0; in main.cpp? If you set this to be 1/1000 what happens? Also, you mention removing a piece of debug code - could you be more specific? Is this a debug or release build? Thanks, -Damion- On Apr 30, 2004, at 7:55 AM, Doyle, Steven wrote: > Hi, > > I've made a slight improvement(removed a piece of debug code which I > had > in), I've got it up to 25fps, but that's still very low. Some of the > standard GL benchtests which are displaying far more complex objects > are > achieving 100s fps on my system. (Can't find any reference to > glEnable(GL_LINE_STIPPLE) in the base code) > > I have tried it on an ATI RAGE 128 PRO & and on an Nvidia GeForce 4. > > What kind of framerate is everyone else getting ? > > Cheers > > Steve > > -----Original Message----- > From: Dieter Polzin [mailto:dp...@ab...] > Sent: 30 April 2004 12:49 > To: ope...@li... > Subject: Re: [Opengc-devel] Performance Issue( help!) > > > Hi, > > What gfx card are you using? I've experienced problems on a card using > line stippling, ie enabling line > stippling with glEnable(GL_LINE_STIPPLE) caused the performance of the > card to break. > > Just a thought, > Dieter > > Doyle, Steven wrote: > >> Hi Guys, >> >> I am experiencing a serious performance issue, and I don't understand >> why. >> >> Currently I have no datasource and displaying the 777pfd. I'm getting >> less than 10 fps ! I believe I have enabled OpenGL in fltk and I have >> altered the app update rate appropriately. I have tried it on two >> different machines both with good video cards. To me this is a very >> simple display which should be incredibly quick to render. >> >> Any ideas ? >> >> Cheers >> >> Steve >> >> >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle > 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Opengc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opengc-devel > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle > 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Opengc-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opengc-devel > > --------- Damion Shelton Carnegie Mellon University, Robotics Institute A408-o Newell Simon Hall 412.268.3866 (office) 412.818.8829 (cell) 412.268.6436 (fax) http://www.cs.cmu.edu/~beowulf --------- Your search for deep meaning in a trite and mundane workaday world continues. Meanwhile, 3,000 people worldwide die of malaria every day, you simp. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Opengc-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/opengc-devel |