Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 900 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Can I make an entity that is out of view cast a shadow #239261
12/03/08 18:14
12/03/08 18:14
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
If an entity is out of view but its shadow would realistically be cast into the view, is there a way to make this happen? Stencil shadows appear to only be cast by entities that are in the view.

My previous post in the 'A7 Engine' forum received no responses

I see in the Beta Version update that decal shadows will replace z-buffer shadows. Will they be cast only on the floor like z-buffer shadows or also on model entities? Will they go through walls and model entities like stencil shadows?


Re: Can I make an entity that is out of view cast a shadow [Re: yorisimo] #239352
12/04/08 07:23
12/04/08 07:23
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
If you want shadows to be cast by offscreen entities, a solution would be to increase their visual bounding box by placing dummy vertices in MED. If a part of the bounding box is inside the view frustum, the shadow will be cast.

Re: Can I make an entity that is out of view cast a shadow [Re: jcl] #239444
12/04/08 17:44
12/04/08 17:44
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
Thanks, that works


Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing
Re: Can I make an entity that is out of view cast a shadow [Re: yorisimo] #239472
12/04/08 21:07
12/04/08 21:07
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
As a side question on this, is the "visual" bounding box the same thing as the
collision bounding box (c_setminmax)?
If they are different, what keywords should I look for in the manual to help me read up on the Visual bound box?


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Can I make an entity that is out of view cast a shadow [Re: EvilSOB] #239474
12/04/08 21:17
12/04/08 21:17
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
The visual bounding box is NOT the same as the collision bounding box. The visual bounding box appears to be a box that encompasses the entire model regardless of what you set min_xyz and max_xyz to. If you use c_setminmax, I guess they would be the same size. When you toggle f11 (default.c), I believe it shows the collision bounding box, not the visual bounding box.



Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing

Moderated by  old_bill, Tobias 

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