BIG fps dif. 40 vs 360 fps what's happening?
Blitz3D Forums/Blitz3D Programming/BIG fps dif. 40 vs 360 fps what's happening?
| ||
Frames Per Second readings of 30-40 while I get 360 - 450 FPS. () |
| ||
I use rect 0,0,450,400 to blank the screen each frame. My money is on that, can't you use Cls instead? |
| ||
Cls is not any faster than copyrect.. |
| ||
well rect isn't copyrect. rect is a 2d primitive command. tho it's fairly fast, but probably this depends on the graphics card. But I would rather say it has something to do with the bus speed. Writepixelfast's speed depends on the bus performence a lot. I would suggest to make a test app that is checking the speed of writepixelfast and readpixelfast only and ask your friend to run it. To make things easy, the app may write the results to a text file, so your friend can mail it to you. Especially when you writepixelfast to an image that is located in the VRam, this may be pretty slow because the system has to "take the bus" and no matter how fast the cpu or 3d chip is, if there's rush hour, it will take some time to go from A to B. |
| ||
It could also be the old Nvidia bug from a couple of drivers back (if he has an Nvidia chipset) |
| ||
I have tested the speed of "Rect" vs "cls" the results where to close to see any diffence, in fact clearing the screen has to performance hit at all! on my PC. |
| ||
ditch win98se! |