| |
|
|
- Page 1 - |
|
| Please test and around the indicated the values in the cover (fps & slp) after itself the slp beruhigt has. i want too gladly know with whom itself the demonstration with of/ one Messagebox exits has and as Message lautete. (exe in the attachment) Prozessortyp and strength would so did i gladly know. (unless already in Signatur indicated) CompileMarkSeparation {$cleq}
{$res noversioninfo,nomanifest,icon if.ico}
const framesPerSecond=60
#include oglhelper.inc
#include fps.class
set(Decimals,0)
ogl.window(ogltest7,false,maxx,maxy,$00FFFFFF,1,false,true,framesPerSecond)
ifnot ogl.vsync(true) {
messagebox cant init vsync,,0
ogl.done
}
float realFps=framesPerSecond
var myFPS=new(FPS,realFps)
long sleeper
do {
realFps=myFPS::frame()
case realFPS>framesPerSecond : sleeper=sleeper+realFps
settext hwnd,str$(realFPS)+ FPS, +str$(sleeper)+ SLP
if (realFPS<framesPerSecond) and (sleeper<1000) {
messagebox machine to slow,,0
break
}
whileloop sleeper{}
ogl.2dnow
ogl.color(rnd($00FFFFFF),$40)
ogl.2drotate(maxx/2,maxy/2,gettickcount,0,0)
ogl.rectangle(rnd(maxx),rnd(maxy),rnd(maxx),rnd(maxy),true)
ogl.show
case umessage==wm_close:break
}
ogl.done
dispose myFPS
end
by me: ~56fps, ~22.000 SLP, P4 3.06GHz
The Lesson the Codes is it under Zuhilfenahme the VSync The FPS konstant small as framesPerSecond (60) To hold.
Download: [...] |
|
|
| |
|
|
|
| |
|
- Page 2 - |
|
Christian Eichler | 59fps 22.812slp on my Intel Celeron 2,8 Ghz with Intel Onboard Graka with 64 MB shared memory . on the AMD Athlon 2400+ and the GF 440 MX becomes not at all long demand, there crashes the program simply ex
Both Win XP
mfg Christian E.
EDIT: because ichs strain les, would have there ne MessageBox come solln ? |
|
|
| Debian Lenny, Intel Celeron 2,8 Ghz, 768 MB Ram && Win XP Pro, Intel C2D 1,66Ghz, 2 GB Ram ... PROFAN² 6.6 | 10/31/07 ▲ |
|
|
|
|
| Jörg Sellmeyer
OK, now have I it found. under Benutzerdefinierte Settings for OGL have I vertikale Synchronisation to wait it out on standartmäßig on set.
39 -54 ~13500 with nem second Durchlauf komm I only yet on 35- 45 with ~13200 SLP
standartmäßig on ought to neither really The korrekte attitude his - if possibly always rather Anwendungsgesteuert let. but vlt. means the Yes in Your drop Anwendungsgesteuert.
The values 35-45 wonder me something with the high SLP-worth there itself this only increased if The FPS > 60 are, but vlt. had You too yet bisl Zeugs in the background walk - and vlt. machts with manchen cards a Difference if The APP The dissolution something reduce would. |
|
|
| |
|
|
|
GDL | @Dieter
have everything looked through, too The not OGL Settings.I can nirgends a Vsinc take on.I suspect time the with the the Catalysator driver zusammenhängt. I have only a film with a fahrenden car and the Einstellungsmöglichkeiten of my obigen Posting.
Hello Georg |
|
|
| |
|
|
| |
|
- Page 3 - |
|
|
| What is herewith? [...] let it itself so take on? |
|
|
| |
|
|
|
|
|
|
| |
|
|
|
GDL | Jupp, then liegts on my driver.the wars then well. can no Driversettings Call.
time guugen what Force merchandise is. |
|
|
| |
|
|
|
Jörg Sellmeyer | I have too ne GraKa from the Radeon 9600 series. Such time to Benutzerdefinierte Settings in irgendeinem the dialogs. by me hieß The option then. vertikale Synchronisation to wait it out. the on standartmäßig on set and it functions. What is because with you under Basic... (left under) cache? |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 10/31/07 ▲ |
|
|
|
|
GDL | Hi,
Have it finally too found. by me heist it performance and under NEN Scroll bar with 4 Settings.on the vorletzten goes it then.
have then around the 59 FPS and around the 23700 SLP
Toller OGL GraKaStandard.
Hello Georg |
|
|
| |
|
|
|
| super, SLP 23.000 means - with whom processor? |
|
|
| |
|
|
|
GDL | naturally, sorry
Informationslisteworth CPU typeAMD Sempron, 1800 MHz (9 x 200) 3000+ |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Michael Wodrich | 56 / 15908 NVidia GeForce 3 Ti 200, 64MB no MessageBox
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 10/31/07 ▲ |
|
|
|