Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, exile, Ayumi), 1,085 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Is this possible with A7? #302503
12/19/09 23:37
12/19/09 23:37
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline OP
User
the_mehmaster  Offline OP
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
I was wondering if it was possible to process stencil shadows only every second frame, as this would make the program more efficient, without much noticeable decrease in image quality.

If it is possible, could you give an example action for an entity that does this?

Re: Is this possible with A7? [Re: the_mehmaster] #302510
12/20/09 00:46
12/20/09 00:46
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
so the shadow will follow 1 second behind?
use baked shadows if you are asking this for non-moving entites.


3333333333
Re: Is this possible with A7? [Re: Quad] #302515
12/20/09 02:26
12/20/09 02:26
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline OP
User
the_mehmaster  Offline OP
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
Not exactly 1 second behind, It would at most be 1/30th of a second behind (if the games is at 60fps). A delay of 1/30th of a second would be hardly noticeable, in comparison to the halving of the time needed to process shadows.

I am trying to figure out an efficient way of using shadows for waving trees (of which there are many)..

Maybe I could render the animated shadows from a top view in blender, then save them as an animated sprite. I could maybe then use the transparent sprite as a shadow..

I've seen games with many thousands of trees, all waving, with animated shadows (e.g AOE III). I wonder how they would do it..

Re: Is this possible with A7? [Re: the_mehmaster] #302516
12/20/09 02:35
12/20/09 02:35
Joined: Jul 2004
Posts: 1,205
Greece
LarryLaffer Offline
Serious User
LarryLaffer  Offline
Serious User

Joined: Jul 2004
Posts: 1,205
Greece
Don't use complex models with stencil shadows. The fps drop makes them almost unusable in Gamestudio. If your models are high poly, use very low poly LODs for rendering the shadows.


INTENSE AI: Use the Best AI around for your games!
Join our Forums now! | Get Intense Pathfinding 3 Free!
Re: Is this possible with A7? [Re: LarryLaffer] #302525
12/20/09 09:28
12/20/09 09:28
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
@the_mehmaster:in such case shadow mapping shaders may perform better


3333333333
Re: Is this possible with A7? [Re: Quad] #302772
12/21/09 23:46
12/21/09 23:46
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline OP
User
the_mehmaster  Offline OP
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
That's probably correct. I'll try both methods, and see which has the best performance and quality, thanks smile.

Re: Is this possible with A7? [Re: the_mehmaster] #303088
12/25/09 03:01
12/25/09 03:01
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
But I guess that shadow mapper needs render2texture right? I dont think it will work in A7 Extra, so does custom decal shadow... You can use XDiv10's FFP projected texture, but it wont work on animated model...
Maybe you should use the ol' reliable z-buffer shadow...


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