GLBasic forum

Other languages => GLBasic - de => Topic started by: tft on 2007-Aug-10

Title: Fps > 500 ?
Post by: tft on 2007-Aug-10
Hi....

dieser Code kommt nie über 500 FPS. MAche ich etwas Falsch oder gibts nicht mer als 500-

// --------------------------------- //
// Project: Move without Frame
// Start: Sunday, March 04, 2007
// IDE Version: 4.114


LIMITFPS -1 ///  -1 = Vsync Off

WHILE TRUE
    fps_time = GETTIMERALL()
    fps_counter = fps_counter + 1
    IF (fps_time-fps_temp)>1000
       fps_temp = fps_time
       fps = fps_counter
       fps_counter = 0
    ENDIF
    PRINT fps+" Frames",10,100
SHOWSCREEN
WEND

Lg TFT
Title: Fps > 500 ?
Post by: Schranz0r on 2007-Aug-10
Habs auch noch nie  über 501 FPS geschaft .... in C++ hatte ich schon eindeutig mehr 1000+
Title: Fps > 500 ?
Post by: D2O on 2007-Aug-10
jepp, das ist irgendwo ne grenze drin.
Title: Fps > 500 ?
Post by: Quentin on 2007-Aug-10
ich weiß nicht wie es kommt, aber bei mir kommen immer nur 60 FPS raus, egal was ich irgendwo einstelle ...
Title: Fps > 500 ?
Post by: D2O on 2007-Aug-10
Quote from: Quentinich weiß nicht wie es kommt, aber bei mir kommen immer nur 60 FPS raus, egal was ich irgendwo einstelle ...
Du hast Laptop??

VSync im Treiber eingestellt??

Max Bildschirm wiederholung auf 60hz eingestellt??
Title: Fps > 500 ?
Post by: Quentin on 2007-Aug-10
jau, Frequenz ist auf 60 eingestellt. das wirds dann wohl sein, stört ja aber auch nicht wirklich
Title: Fps > 500 ?
Post by: D2O on 2007-Aug-10
Ne, soweit ich weis hängt das auch vom tft "lol" ab.
Title: Fps > 500 ?
Post by: Kitty Hello on 2007-Aug-10
Stimmt. Ich hab intern auf 500 geblockt. Das gibt sonst numerisch bisserl Stress. Aber das schafft dein Monitor eh nicht :D
Title: Fps > 500 ?
Post by: tft on 2007-Aug-10
Hi ...

wie sieht denn das Blocken aus. Wird die Rechenzeit verplämpert oder genutzt.