Gamestudio Links
Zorro Links
Newest Posts
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (blobplayintennis, AndrewAMD, JeyKey II, 1 invisible), 21,343 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 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,149
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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