Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (VoroneTZ, Quad), 479 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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 | 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