Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, 7th_zorro, dr_panther), 1,297 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Toggling video resolution changes FPS...hmm #9246
06/02/02 06:18
06/02/02 06:18

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi,

I just noticed something I hadn't before, perhaps many already know this and I'm not observant [Wink] , but when I run a level with the debug panel on and then hit F5 to change screen resolution, I notice the higher the resolution the lower the FPS gets. Thus a screen set to 800x600 has a lower FPS than if it were set to 640x480.

This being the case, it would seem better to set the video mode in main function to reflect a 640x480 resolution (video_mode = 6), correct?? Or am I missing something. Is there some reason why one would not do this?

thanks

Re: Toggling video resolution changes FPS...hmm #9247
06/02/02 06:27
06/02/02 06:27

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



quote:
I just noticed something I hadn't before, perhaps many already know this and I'm not observant
yup this is common in all game engines, makes sense really, there is not best resolution to use, it depends what target market you are aiming for, if they are likley to have high or low spec computers. Obviously higher spec computers can handle a higher resolution. I would suggest for todays computer however to use 800X600 as a default resolution, and you should consider the possiblility of making it possible for the user to change this "in-game"
Hope this helps
Chris

Re: Toggling video resolution changes FPS...hmm #9248
06/02/02 07:53
06/02/02 07:53
Joined: Mar 2001
Posts: 1,825
London, England
Keith B [Ambit] Offline
Expert
Keith B [Ambit]  Offline
Expert

Joined: Mar 2001
Posts: 1,825
London, England
...Or you can use GS-Startup Manager to provide a setup panel for your game so that the user can select the resolution before they use the game, just as in Max Payne, Hitman, Tomb Raider etc. Eg:

 -

GS-Startup Manager 2.0 (freeware) will be released later this month, keep an eye on User Contributions... (Never hurts to plug your program. [Smile] )

Cheers,
Keith

Re: Toggling video resolution changes FPS...hmm #9249
06/02/02 23:08
06/02/02 23:08

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



thanks guys, so is it safe to assume that the typical user (player) is aware that if he/she changes the screen resolution in-game this will affect the FPS rate?

Nice looking appl. Ambit, I'll certainly be giving that a try later...

thanks again

Re: Toggling video resolution changes FPS...hmm #9250
06/03/02 00:04
06/03/02 00:04
Joined: Mar 2001
Posts: 1,825
London, England
Keith B [Ambit] Offline
Expert
Keith B [Ambit]  Offline
Expert

Joined: Mar 2001
Posts: 1,825
London, England
Absolutely - as Cheets says, it's common to all engines. I believe the general practise is to set the default resolution as 800x600 (most systems used to play games can handle that well these days), and then let the user up it or lower it to what they like. (If you do decide to use GS-Startup Manager, you don't have to worry about this until your game is completed, as you just have to use one include and then set the default using the setup panel before distribution.)
Cheers,
Keith

Re: Toggling video resolution changes FPS...hmm #9251
06/04/02 01:42
06/04/02 01:42

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I notice noone actually bothered to explain why resolution affects the framerate. It's pretty simple; it takes time to render (fancy word for "draw") each pixel, so the more pixels that have to be rendered each frame the longer it takes to render a frame.

Ambit, where are those images on the Startup Manager from? I recognize but cannot place them.

-Joe Hocking
www.3darteest.com

Re: Toggling video resolution changes FPS...hmm #9252
06/04/02 03:58
06/04/02 03:58
Joined: Sep 2000
Posts: 3,936
CH
P
Perro Offline

Expert
Perro  Offline

Expert
P

Joined: Sep 2000
Posts: 3,936
CH
@Ambit: does 3dgs really have anisotropic filtering?

Re: Toggling video resolution changes FPS...hmm #9253
06/04/02 04:03
06/04/02 04:03
Joined: Mar 2001
Posts: 1,825
London, England
Keith B [Ambit] Offline
Expert
Keith B [Ambit]  Offline
Expert

Joined: Mar 2001
Posts: 1,825
London, England
@Perro: yup, anisotropic filtering has been introduced to the beta. Here is what it says in the beta section:

quote:
Anisotropic texture filtering
The d3d_anisotropy variable gives the maximum level of anisotropy
(default = 0 = no anisotropic filtering). Anisotropic texture
filtering is supported by some newer 3D cards and eliminates the
distortion visible in the texture whose surface is oriented at an
angle with respect to the plane of the screen. Set the variable
to a value greater than 1.0 for activating anisotropic texture
filtering. Example:

d3d_anisotropy = 2; // activate

The checkbox in GSSM just toggles it on or off...

@Jhocking: the pictures are from Fathom, a Top Cat comic (they of Witchblade fame).

Cheers,
Keith


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1