Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 3rd Nov 2002 02:32
When moving just a 352 x 32 sprite on a 1024 x 768 x 32 (or even 800 x 600 x 32), and after setting sync rate to 0, the maximum speed I can get (as reported by screen fps) is between 25 and 37 FPS...

This is on a GForce4 MX 440.

The code is



Even with the cls and text statements removed, it doesn't seem much is gained (the sprite would be moving around).
Yes, I really am THAT good...
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 5th Nov 2002 02:12
At 1024x768 on a chuddy Pentium3-450 with an ancient GeForce256 card I get a constant 280+ fps running the following code (which is almost identical to yours):



My image is just a standard BMP file. You're welcome to download my project file and image here: www.darkforge.co.uk/files/DBPRO/

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
brittd
21
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 5th Nov 2002 06:42
This Hybred code between your two above give me 141 fps with a 640x480 image. By taking out the fastsync complete it yeilded 200+ fps. Of course my monitor doesn't run that fast on refresh so it got a lot of cut sprites.

Have 1 Ghz Pentium III & Geforc3ti200.

brittd
21
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 5th Nov 2002 06:45
Just as a second thought If I was you MrTAToad I would make sure to go out and get the latest & greatest Drivers for your Video Card & DX8.1a drivers for your computer.

A few people a month back on DBDN had problem with MX models of Geforce card that where fixed by new drivers.
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 5th Nov 2002 11:44
Using the 40.72 Nvidia drivers, DX8.1 (Windows XP). Dont really want to go back to the 38.x ones as the 40.72 are supposed to be nearly WHQL'd

Yes, I really am THAT good...
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 5th Nov 2002 12:04
I'll have a look at my code later, but its possible that the sync command may have been missing...

Yes, I really am THAT good...
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 5th Nov 2002 20:37
Had a look at my original code, and the sync was present (which is set to 0).

Still cant get much above 32 FPS if the SET SPRITE command sets the backsave parameter. I had omitted this line from the code I put when I started the thread.

Yes, I really am THAT good...
Richard Davey
Retired Moderator
22
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 6th Nov 2002 23:25
Err that's quite a vital line to have omitted! Under no circumstances do you really want the sprites to backsave, there is just no point, doubley more-so now we're working with sprites in a 3D environment.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Nov 2002 23:50
Yes, it seems to be much quick doing a complete clear screen and then re-display everything...

Yes, I really am THAT good...

Login to post a reply

Server time is: 2024-05-19 12:05:03
Your offset time is: 2024-05-19 12:05:03