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
3 registered members (kzhao, AndrewAMD, bigsmack), 824 guests, and 5 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
Entity casts itself as a shadow at itself #235828
11/10/08 13:06
11/10/08 13:06
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
I think the stencil shadow has a bug. I have a stretched mdl cube as the ground and two small mdl reference objects aside. All objects have the Shadow flag on, and i have shadow_stencil = 2 in my main.c

When i run the project the groundcube casts itself as a shadow at itself. It is just visible from the angle of the lightsource. But nevertheless very disturbing.

Here the testfile, 200 Kb.

http://reinerstileset.4players.de/ext/3dgs/selfshadowing.zip

And the picture to show what i mean:




trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: Entity casts itself as a shadow at itself [Re: Tiles] #235840
11/10/08 14:11
11/10/08 14:11
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I believe it's not the groundcube shadow, but the shadow from the cap of the shadow volume that you're seeing here. It's not visible in a normal scene, but can be visible when you place the camera at the light position. It should go away when you use shadow_stencil = 1, which uses an uncapped volume.

I'll check if we can implement some settings for avoiding this artifact.


Re: Entity casts itself as a shadow at itself [Re: jcl] #235878
11/10/08 17:41
11/10/08 17:41
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Thanks JCL smile

Hmm, i cannot walk into shadows anymore with shadow_stencil = 1; without being in trouble. I need shadow_stencil = 2; for that. So that`s unfortunately this workaround out smile

It has become very visible in a normal scene. Inside a shadow it inverts. Outside a shadow i can see the whole groundmesh as a little shadow. That's why i invested some time here to create a reproduceable result.



Avoiding this artifact would be really great smile

Last edited by Tiles; 11/10/08 17:41.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de

Moderated by  jcl, Nems, Spirit, 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