Re: CS:Source -great graphics but fps-killer -
29-10-2004
no. I think peopl emess up FPS and Hz here.
FPS is literally "Frames per second" , more specificly the more 'screens' are drawn at a second. When i write my own games i have a simple counter, every second it counts the amount of screens i draw on the screen buffer. Hmm, i see this is a bit confusing. See it like this:
- you have a bitmap the size of your monitor resolutions
- your video card has a screen buffer (what you see on ur screen)
The engine draws everything probably on the BITMAP first , and at the end the BITMAP gets drawn on the screen. I wont get into details, as there are many manners to draw parts on the bitmap , and not redrawinfg things that have been drawn already (dirty rectangles, etc).
The amount of HZ is the amount of 'refresments' on the hardware size of ur screen buffer. Meaning, your CRT monitor will 'draw' that buffer on its screen. Everything below 72hz (on a CRT) will give u a headacke.. ur eyes will see a steady screen at 72 hz! (and i am a living proof + dozends of people i have helped with this problem).
On TFT screens u wont have this flickering btw..
anyway, unless the HL engine clears the bitmap everytime and then redraws all (which is stupid IMO) , it will calculate everything and then draw it. Drawing itself is probably not that CPU intensive, though the LOS and 'visibility' checks do. This causes a slow down.
Meaning, you can have 50 FPS, meaning the game does 50 cycles in one second. But your screen can do 100 Hz.
The FPS do probably not differ in HL1 and HL2. HL1 just uses an 'old' way of drawing the world compared to HL2. The FPS will probably be the same. In fact, strictly taken, FPS has nothing to do with polygons, or whatever you do in the game. It just means the amount of cycles. Meaning, in HL2 , 30 fps means it probably does MORE stuff, then in HL1 on 30 fps. In HL1 there is no physics engine for instance. Lets say the cycles in HL1 you can run your game at 60 fps. In HL2 that could be 40. Meaning that one cycle in HL2 costs more. Simple as that.
|