Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, Grant, Neb), 908 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
wiki-shadow mapping for terrain?? #159953
10/09/07 19:03
10/09/07 19:03
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
hi there,

did anyone have success with the terrain shadowmapping script from the wiki? i always get a plain white shadowmap and have no idea why...

any ideas what could cause it?

thanks

Re: wiki-shadow mapping for terrain?? [Re: ello] #159954
10/09/07 19:30
10/09/07 19:30
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
hmm. i just found out that the resulting coordinates of getxyz(px,py) are heigh above the terrains surface. that could be the problem, but ho to solve it?

anyone?

Re: wiki-shadow mapping for terrain?? [Re: ello] #159955
10/09/07 19:34
10/09/07 19:34
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Could you post a direct link to the wiki page of that file/plugin/script ?
I cannot track it down using the search function of the wiki.

Thanks in advance.

Edit:
Oh my god, silly me

Do you mean this one: ?
http://www.coniserver.net/wiki/index.php/Terrain_Shadowmapping

Last edited by Xarthor; 10/09/07 19:37.
Re: wiki-shadow mapping for terrain?? [Re: Xarthor] #159956
10/09/07 19:38
10/09/07 19:38
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
hmm.. http://www.coniserver.net/wiki/index.php/Terrain_Shadowmapping

anyways. i found that when i change the +/-50000 for the c_trace in the getxyz-function to +/- 1000 (which is enough for my terrain) the surface position is found correct. but now the whole shadowmap is filled black

Re: wiki-shadow mapping for terrain?? [Re: Xarthor] #159957
10/09/07 19:38
10/09/07 19:38
Joined: Mar 2003
Posts: 1,095
Germany
nightshade Offline
Serious User
nightshade  Offline
Serious User

Joined: Mar 2003
Posts: 1,095
Germany
He probably mean this, because i also get a white shadowmap.

Edit : Ello was faster...

Last edited by Raven53; 10/09/07 19:39.
Re: wiki-shadow mapping for terrain?? [Re: nightshade] #159958
10/09/07 19:44
10/09/07 19:44
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
ah, i found out that the surrounding hollow cube was the issue. removed that in wed and now it works:)


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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