Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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 | 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