Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (dr_panther, Quad, AndrewAMD, 7th_zorro), 945 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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