Re: Re: GetTickCount() Vs QuerryFrequencyCounter()
Quote:
Originally posted by NoteMe
Hmmm....so we have bad PC monitors...:(....thats not good.....OK....but it still needs to draw the white frame every other frame or soo...and That have too look weird on the screen. I can't understand anything else....And you have to make sure that the white frame is actually updated on the screen. So you have to have a high refreshrate on the monitor too. If not it might skip it....
Using this
VB Code:
D3DWindow.SwapEffect = D3DSWAPEFFECT_COPY_VSYNC
Should help make sure the frame gets displayed. And yeah seems wierd, guess thats why nobody makes Light Guns for PC though :(.
Quote:
Originally posted by NoteMe
Of course accuracy is importent. But as I said the reason it is not accurat is the same as for every counter in a interupt based OS like Windows. You will have context swtitches....;)....so you can't eliminate them at all. You can set the priority of the prosess higher, but there will still be context switching in your OS...;)
Not totally sure on this one but it might be to do with it being hardware dependand but I think its accuracy is to do with hardware goings on that keep a counter based on the processors clock. Because he seemed to think your communicating directly with the Processor, however I don't know if he's been spending too much time playing with the GameCube Dev Kits ;)