Page 1 of 1

[bug][0.4.13] Weird glass bug

PostPosted: Sun Oct 18, 2015 23:23
by Fixerol
This is very weird glass bug on Extreme Survival Minetest (that could possibly be on default one too)... I have no idea wth is this. Confirmed by other person. What is interesting is it changes colours periodically... from orange to blue or whatever (but I have not observed exact moment).
Specs: MT 0.4.13 64bit msvc on Win7 64bit, ATI Radeon HD 6870, Catalyst 15.7.1
+ Spoiler

Screenshot:
Image

Re: [bug][0.4.13] Weird glass bug

PostPosted: Mon Oct 19, 2015 01:30
by Dragonop
I have seen it too on some of the servers OldCoder hosts. With a difference, the glass is not "filled" with colour, it has some sort of "carpet" inside it. Aside from that, it's the same.

Re: [bug][0.4.13] Weird glass bug

PostPosted: Mon Oct 19, 2015 03:11
by Don
Is that under water?

Re: [bug][0.4.13] Weird glass bug

PostPosted: Mon Oct 19, 2015 10:28
by Fixerol
Don wrote:Is that under water?

yes

Re: [bug][0.4.13] Weird glass bug

PostPosted: Mon Oct 19, 2015 22:29
by Fixerol
Today it is green... wth is going on?

Re: [bug][0.4.13] Weird glass bug

PostPosted: Tue Oct 20, 2015 02:20
by Dragonop
Fixerol, you lucky! Mine are always orange or light blue!

Re: [bug][0.4.13] Weird glass bug

PostPosted: Tue Oct 20, 2015 09:46
by est31
That's thanks to the param2 being non-zero. If its non-zero, the param2 displays some "interior volume level" of some sort. It has been added by commit ea6c3835debfffa22163f048eae57928311143c4 . I don't know why RBA added it, ask him.

But its no bug.

Re: [bug][0.4.13] Weird glass bug

PostPosted: Tue Oct 20, 2015 16:12
by Fixerol
est31 wrote:But its no bug.


m? o.O

Re: [bug][0.4.13] Weird glass bug

PostPosted: Wed Oct 21, 2015 01:04
by Dragonop
est31: it is not working as it should be, so it is a bug.

Re: [bug][0.4.13] Weird glass bug

PostPosted: Wed Oct 21, 2015 12:04
by est31
Only if something isn't expected doesn't mean its a bug. If you don't like these "volume levels", then remove the glass block and place it again. The param2 should be reset to 0.

Re: [bug][0.4.13] Weird glass bug

PostPosted: Wed Oct 21, 2015 14:49
by RealBadAngel
This is not a bug, but improper use of glasslike framed drawtype. Param2 is meant for interior volume level, special tiles shall hold textures for it. Its meant for water/lava or whatever tanks etc.
Sample mod that uses it is plasma lamp for example:
https://github.com/RealBadAngel/plasma_lamp
Image

Re: [bug][0.4.13] Weird glass bug

PostPosted: Wed Oct 21, 2015 16:46
by Amaz
I think that https://github.com/minetest/minetest_game/pull/712 will help with this.

Re: [bug][0.4.13] Weird glass bug

PostPosted: Sat Oct 24, 2015 23:21
by Sokomine
Nice water tanks! I wonder if it could be used for a barrel (a mesh by now) as well.