Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, Quad, VoroneTZ), 8,658 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
tritom, sheliepaley, Blueguy, blobplayintennis, someone2
19178 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Shadows = Low FPS #283620
08/08/09 21:02
08/08/09 21:02
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
Hi there,

I'm busy with a funfair attraction simulation, and to make it look alittle bit better, I've decided to add shadows to it.

The model without shadows on 1024 x 768 = 110~ FPS
The model with shadows on 1024 x 768 = 34~ FPS

Each object has: my.shadow = on; - and in the main function I have: shadow_stencil = 3;

And this is how it looks:



http://img512.imageshack.us/img512/1123/sfshadow1.jpg

Is there a way to avoid that big FPS loss?

Because this is really unacceptable! laugh

Thanks in advance.

Last edited by Dreher; 08/08/09 21:02.

A7 7.77
Re: Shadows = Low FPS [Re: Dreher] #283629
08/08/09 22:03
08/08/09 22:03
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
I would cast a shadow from a different LOD step, to increase the speed.

Re: Shadows = Low FPS [Re: the_mehmaster] #283630
08/08/09 22:13
08/08/09 22:13
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
I've tried (also writen within the Main function)

shadow_lod = 0; and also tried 1/2/3, but no changes in FPS.


A7 7.77
Re: Shadows = Low FPS [Re: Dreher] #283631
08/08/09 22:15
08/08/09 22:15
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Does your model have LOD steps?

Re: Shadows = Low FPS [Re: the_mehmaster] #283633
08/08/09 22:24
08/08/09 22:24
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands


A7 7.77
Re: Shadows = Low FPS [Re: Dreher] #283634
08/08/09 22:31
08/08/09 22:31
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Half the amount of polys in every mesh (using the mesh reducer), and use it as lod step 2.

Then you can set shadow_lod to 1.smile

Re: Shadows = Low FPS [Re: the_mehmaster] #283636
08/08/09 22:38
08/08/09 22:38
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
Thanks alot, it got it fixed.

I will keep this in mind next time! wink

This is awesome^


A7 7.77

Moderated by  Blink, Hummel, Superku 

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