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
2 registered members (AndrewAMD, Nymphodora), 485 guests, and 3 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
Page 1 of 2 1 2
Stencil Shadow Z-Fail Bug #148654
08/17/07 13:21
08/17/07 13:21
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline OP
Senior Member
msl_manni  Offline OP
Senior Member
M

Joined: Dec 2005
Posts: 478
India
Hi,
When I set
shadow_stencil = 2; //Z-fail stencil shadows

I see that the shadows are dranw totally incorrect.



Bye,
MSL.


My Specialities Limited.
Re: Stencil Shadow Z-Fail Bug [Re: msl_manni] #148655
08/17/07 16:24
08/17/07 16:24
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
i guess your models are not closed meshes...then this happens, but you can make a more lowpoly model and close it and set the shadow lod to a diffrent stage

Re: Stencil Shadow Z-Fail Bug [Re: Scorpion] #148656
08/17/07 16:56
08/17/07 16:56
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
this also happens if the camera is in a shadow volume.

Re: Stencil Shadow Z-Fail Bug [Re: lostclimate] #148657
08/17/07 17:19
08/17/07 17:19
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
I've got exactly same problem. when i set shadow_stencil to 1 everything is ok

Re: Stencil Shadow Z-Fail Bug [Re: lostclimate] #148658
08/17/07 18:22
08/17/07 18:22
Joined: Aug 2000
Posts: 7,490
O
Orange Brat Offline

Senior Expert
Orange Brat  Offline

Senior Expert
O

Joined: Aug 2000
Posts: 7,490
Quote:

this also happens if the camera is in a shadow volume.




It doesn't make any difference with z-fail shadows. Z-fail will allow the camera into the shadow without artifacts.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links
Re: Stencil Shadow Z-Fail Bug [Re: Orange Brat] #148659
08/17/07 20:12
08/17/07 20:12
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
...try making your shadow darker and your light brighter


xXxGuitar511
- Programmer
Re: Stencil Shadow Z-Fail Bug [Re: xXxGuitar511] #148660
08/17/07 20:50
08/17/07 20:50
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
huh
Another solution - drink less alcohol
Seriously, nobody had the same problem? Maybe it's because of the videocard or something? I have it on every level

Re: Stencil Shadow Z-Fail Bug - Solved [Re: Shadow969] #148661
08/18/07 04:08
08/18/07 04:08
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline OP
Senior Member
msl_manni  Offline OP
Senior Member
M

Joined: Dec 2005
Posts: 478
India
Sorry guys, for posting this late. The problem has been solved.
It's purely a problem due to the ground mesh being an opem mesh. I was testing this level of somebody else and found the problem, but today morning I realised that the problem could be due to open mesh.

Quote:

this also happens if the camera is in a shadow volume




z-fail method does not takes camera into account .

xXxGuitar - Really a nice idea that only a person like you can come up with .

Shadow - I wont even think of alchol even in my dreams. But nice try .

Edited :

Shadow969 - This is your level that I was trying to use the z-fail method, you lazy bones, couldn't you create the playground as a closed mesh? . Well I have another problem with your contribution, it wont run with the latest A7 7.05 update. Please look into it .


Last edited by msl_manni; 08/18/07 04:16.

My Specialities Limited.
Re: Stencil Shadow Z-Fail Bug - Solved [Re: msl_manni] #148662
08/18/07 08:16
08/18/07 08:16
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
Closed meshes suck! Because i dont want to have gouraud shading on everything, esp walls and floor. Btw what exactly is the problem with 7.05? I'm too lazy to download and install it

Re: Stencil Shadow Z-Fail Bug - Solved [Re: Shadow969] #148663
08/18/07 08:48
08/18/07 08:48
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline OP
Senior Member
msl_manni  Offline OP
Senior Member
M

Joined: Dec 2005
Posts: 478
India
The Newton implementation doesn't works. There is error reported with Newton.c, and I have asked ventilator also to check the error. BTW any progress with Newton.


My Specialities Limited.
Page 1 of 2 1 2

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