Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, EternallyCurious, howardR, 1 invisible), 623 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Bug with decals #377818
07/16/11 18:01
07/16/11 18:01
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I'm having problems with decals since I've started working with A8.
First I've faced problem with decal shadows, it looks like they have ZNEAR flag set on them grin
Quote:


And this happens with particles as well, they disappear if there is a decal shadow on the background.
Another problem with decal that I've faced, is that they really have ZNEAR flag set on sometimes grin
Quote:
I've made bulletholes here:

And when I walk away from it, decals appear throw the wall:

When I walk closer, they disappear again... and appear as soon as I walk away...
One more problem I've faced is this one:
Quote:



All sprites have proper alpha channel, and it worked flawlessly with A7, so there is nothing wrong with script and sprites as well.
I asked on the forum, no one can fix this, and I'm not the only one who faced this problem.
Some dude told me to read manual... and all of my stuff will work flawlessly, I do my best, but this one still doesn't work...


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Bug with decals [Re: 3run] #377941
07/18/11 08:10
07/18/11 08:10
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Please read here about how to use decals properly:

http://manual.3dgamestudio.net/ent_decal.htm

When particles disappear when you see a decal shadow, your particle number is too small. Either limit your particles and decals or increase the particle number.

Z-beating and elements appearing through walls are caused by a wrong clip_near/far range. Use careful level design and don't tamper with the view range settings. Otherwise increase clip_near and reduce clip_far until the problem is fixed.

I think this should be easily fixed by yourself - if not, please post again and we'll help.

Re: Bug with decals [Re: jcl] #377951
07/18/11 08:38
07/18/11 08:38
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Thank you, I've already tried to fix this myself (and not only me I guess):
Thread link
I've played with "clip_near" and "clip_far", but no results..
I've increased number of particles (actually, when I faced problem, I was using too much of them already), same no results...
I can post my script that I use to create decals, if needed, I think I'm using them pretty properly (worked great with A7).
Plus, one more question, why does model disappear if there is a decal shadow under it?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Bug with decals [Re: 3run] #377956
07/18/11 09:07
07/18/11 09:07
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
If you can't fix the problem yourself, please contact the support - they'll help fixing the level. Please prepare the level so that all view settings are at default, and the particle number is sufficiently high so that all your decals and particles are visible. Upload or send the level to them and they'll look into it.

Re: Bug with decals [Re: jcl] #377959
07/18/11 09:25
07/18/11 09:25
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
OK, thank you.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Bug with decals [Re: 3run] #377966
07/18/11 11:51
07/18/11 11:51
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I've managed to fix the problem, but the result isn't that good...
Here is the demo I've wanted to send to support team:
Download link (298.77 KB)
I found out, that I can fix most of the problems if I rice "clip_near" to number around "5".
But then I face another problem, like this:
Quote:
I would like to know how to avoid this... Do I still need to send anything to support team?
BTW, "clip_near" doesn't fix this problem:
Quote:






Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Bug with decals [Re: 3run] #377973
07/18/11 13:13
07/18/11 13:13
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
the second problem is because lot of decals are in the same position, thats a common problem that doesn't happend just with decals, try to place models or blocks with their surfaces in the same place

Last edited by painkiller; 07/18/11 13:13.

3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Bug with decals [Re: painkiller] #377974
07/18/11 13:17
07/18/11 13:17
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Dude, try the same in A7! Different result.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Bug with decals [Re: 3run] #377975
07/18/11 13:33
07/18/11 13:33
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
The first problem normally gets solved with clip_near, but i think in this case you model is too small, try to scale it up with MED laugh


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Bug with decals [Re: alibaba] #377976
07/18/11 13:58
07/18/11 13:58
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Shouldn't turning off writing into the depth buffer for the decals solve that last problem?

Page 1 of 2 1 2

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