Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to have good FPS #256615
03/17/09 18:46
03/17/09 18:46
Joined: Mar 2007
Posts: 34
Osasco
xandeck Offline OP
Newbie
xandeck  Offline OP
Newbie

Joined: Mar 2007
Posts: 34
Osasco
Hello everyone,

I know this could be a dumb question regarding creating games. I know some tips do make a game to run on low PCs, but I build a map and, currently, it is running very slow when I use stencil shadows.

The map is not big: 7 terrains (Terrain size horizontal and vertical with 1280, vertices horizontal and vertical with 128), I use this for the field, where player walks; then about 20 trees, a grass generator (I got from AUM and modified to fix my project - thanks George) and some models that act as the grass generator (invisible) and of course my character. The game runs in third person (adventure game). I'm using 7 lights sources, HiRes and dynamic (no sun). If I use stencil shadows... my FPS drop down like hell crazy

Is that right? I have 2 PCs to work on:
Core 2 Duo with 3,25 RAM
ATI Radeon HD 2400 XT
This one runs slow when I use stencil shadows.

My other PC is:
Core 2 Quad
2 GB Ram
XFX 9600 GT
I did not test in this one yet.
What is the tip to use stencil shadows and not eat my FPS?
smirk

I search in the forum and find nothing about FPS

Thanks in advance

Last edited by xandeck; 03/17/09 18:47.

XandeCK
Lead Developer
JogadorVIP.com
Re: How to have good FPS [Re: xandeck] #256653
03/18/09 01:58
03/18/09 01:58
Joined: Mar 2007
Posts: 34
Osasco
xandeck Offline OP
Newbie
xandeck  Offline OP
Newbie

Joined: Mar 2007
Posts: 34
Osasco
Just tried in my best PC, it worked good ¬¬
So I think it will depends on the PC for sure... it is all about graphic card...


XandeCK
Lead Developer
JogadorVIP.com
Re: How to have good FPS [Re: xandeck] #256654
03/18/09 02:24
03/18/09 02:24
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
During game development you should not count on
"but it runs good on a fast PC"

This is the approch wich makes you create a lot of errors
regarding the performance.
Its actually better to develop or at least regularily test your app on
a weaker PC.

For the performance:

-use LOD. (its the core method for higher FPS)
write your own LOD if needed
-give the user an optionmenu to turn on/off things
like shadows, shaders, the LOD distance
-dont use stancil shadows (they are slow and dont even look good), keep it limited to the playermodel if needed.
rather use the "baked" shadows from WED, or by altering the terrain-skin.
-dont use oversized textures, rather think about how to make
the texture look good in a lower resolution
-use shaders carefully, have a fallbackmethod for any
performance-hungry shader (even if it is only to be able
to turn it off)

bottom line:
your game will probably not nearly reach the quality of a
AAA game.
So reward the end-user at least by having
a decent FPS -even on older PCs-.

also, by limiting the ressource "detail" you make the game-development easier for yourself,
as you dont need to create masses of detail-object
to keep a consistent look.
World of Warcraft is a good example to create a good look without
using a lot of ressources (regarding the
texture resolution and detail of meshes and detail of ambient objects)
-> and it has very high FPS speed

Re: How to have good FPS [Re: Damocles_] #256688
03/18/09 12:08
03/18/09 12:08
Joined: Mar 2007
Posts: 34
Osasco
xandeck Offline OP
Newbie
xandeck  Offline OP
Newbie

Joined: Mar 2007
Posts: 34
Osasco
Thanks for the infos Damocles...

Yes, I will test speacially in weaker PCs. I think I cannot use LOD yet, cause I have the Extra version (is it possible?). And for sure I cant use shader yet too (I will buy Comm edition asap).

Just other questions:
- What do you mean with "baked" shadows?
- I tried do put a shadow in my tress using "my.shadow = myshadow" but I cant manage to work. I dont know what I'm making wrong, I check the manual, I did the same and it did not work.
- I want to put stencil shadow only to character, but, as I said above, I cant.

Thanks again


XandeCK
Lead Developer
JogadorVIP.com
Re: How to have good FPS [Re: xandeck] #256692
03/18/09 12:24
03/18/09 12:24
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Originally Posted By: xandeck
- I tried do put a shadow in my tress using "my.shadow = myshadow" but I cant manage to work. I dont know what I'm making wrong, I check the manual, I did the same and it did not work.


Did you put the shadow as an entity?

Re: How to have good FPS [Re: Cowabanga] #256742
03/18/09 18:35
03/18/09 18:35
Joined: Mar 2007
Posts: 34
Osasco
xandeck Offline OP
Newbie
xandeck  Offline OP
Newbie

Joined: Mar 2007
Posts: 34
Osasco
Sure, did the same as manual says to


XandeCK
Lead Developer
JogadorVIP.com

Gamestudio download | 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