Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2008, 9:12:59 PM (17 years ago)
Author:
rgrieder
Message:
  • rewrote the time measure in the main loop frame smoothing is gone for good and the fps display updates faster
  • changed "render time ratio" to "tick time in ms" which represents the time necessary to tick() one frame that's saying a lot more to me
Location:
code/branches/hud/src/orxonox/overlays/debug
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/debug/DebugFPSText.cc

    r1619 r1621  
    4949    void DebugFPSText::tick(float dt)
    5050    {
    51         float fps = GraphicsEngine::getSingleton().getAverageFPS();
     51        float fps = GraphicsEngine::getSingleton().getAverageFramesPerSecond();
    5252        this->text_->setCaption(this->getCaption() + convertToString(fps));
    5353    }
  • code/branches/hud/src/orxonox/overlays/debug/DebugRTRText.cc

    r1619 r1621  
    4949    void DebugRTRText::tick(float dt)
    5050    {
    51         float rtr = GraphicsEngine::getSingleton().getAverageRTR();
     51        float rtr = GraphicsEngine::getSingleton().getAverageTickTime();
    5252        this->text_->setCaption(this->getCaption() + convertToString(rtr));
    5353    }
Note: See TracChangeset for help on using the changeset viewer.