[Fixed] [r3978] Part of wall disappears : a single line in udmf

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[r3978] Part of wall disappears : a single line in udmf

Postby cocka » Thu Dec 06, 2012 7:04 am

There is a bug in this wad:

kommentek.wad
(15.37 KiB) Downloaded 19 times
(map for Hexen in UDMF)

The problem is when you step on the perpetual platform and it starts working the left side of the platform (south wall) disappears as you walk along beside it. I guess it has something to do with that line in the upper right corner of the room, but strangely this glitch won't happen when you convert the whole map into hexen format.

The other problem is when you step on that platform it works weirdly. Sometimes it raises immediately when you cross the east line but in other cases it just clicks and you have to cross the line again so that the platform can start working. You can even get stuck under the platform if you run/jump up and down.

This bug is strange so much the more because the wad doesn't contain any scripts. Just two action specials.

Thanks for your reply.
User avatar
cocka
 
Joined: 02 Jul 2011
Location: Hungary

Re: [r3978] Part of wall disappears : a single line in udmf

Postby ChronoSeth » Thu Dec 06, 2012 7:08 am

What happens when you rebuild the map's nodes?
User avatar
ChronoSeth
You are totally unique, just like everyone else.
 
Joined: 05 Jul 2010
Location: British Columbia

Re: [r3978] Part of wall disappears : a single line in udmf

Postby cocka » Thu Dec 06, 2012 7:17 am

The result remains the same. Though, in Gzdoom the glitch changes a bit because the wall doesn't disappear, but when you look upwards parts of the wall graphics will be messed up. That's why I think this must be a bug.
User avatar
cocka
 
Joined: 02 Jul 2011
Location: Hungary

Re: [r3978] Part of wall disappears : a single line in udmf

Postby Blue Shadow » Thu Dec 06, 2012 10:54 am

cocka wrote:You can even get stuck under the platform if you run/jump up and down.

The problem is with the nodes, as ChronoSeth mentioned. Start the map with gennodes enabled and you'll see that issue has gone.
User avatar
Blue Shadow
 
 
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: [r3978] Part of wall disappears : a single line in udmf

Postby cocka » Thu Dec 06, 2012 11:17 am

So are you telling me that every time I load the map I should use a console command and reload the map to correct the glitch? :lol:
User avatar
cocka
 
Joined: 02 Jul 2011
Location: Hungary

Re: [r3978] Part of wall disappears : a single line in udmf

Postby Blue Shadow » Thu Dec 06, 2012 11:27 am

No. What I was saying is the problem is with the nodes and running it with gennodes enabled is the proof that it is.

There's an alternative: Delete the nodes from the map (use SLADE) and don't build them yourself. ZDoom will do it for you when you start the map. The downside to this, however, is that the map will take longer to load/start the larger it gets.
User avatar
Blue Shadow
 
 
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: [r3978] Part of wall disappears : a single line in udmf

Postby cocka » Thu Dec 06, 2012 2:43 pm

OK, but the question is: why does zdbsp not work properly? If there is a routine in zdoom for building the nodes perfectly, why does zdbsp not use that routine? And why does it produce glitches by building nodes?
User avatar
cocka
 
Joined: 02 Jul 2011
Location: Hungary

Re: [r3978] Part of wall disappears : a single line in udmf

Postby Enjay » Thu Dec 06, 2012 3:01 pm

Just confirming that when I build the nodes manually from the command prompt using my usual settings ( -x -z -w -b -r ) or build them via DB2, the glitch persists but gennodes 1 removes the glitch. As to why this is happening, I have no idea.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: [r3978] Part of wall disappears : a single line in udmf

Postby cocka » Thu Dec 06, 2012 5:36 pm

but gennodes 1 removes the glitch.


If you "convert" it to hexen format, the glitch will be gone too.

As to why this is happening, I have no idea.


Obviously, this is a bug. I wouldn't have written it here, if there were no problem at all.

I think it has something to do with the vertices using fractional numbers for their coordinates.
User avatar
cocka
 
Joined: 02 Jul 2011
Location: Hungary

Re: [r3978] Part of wall disappears : a single line in udmf

Postby Enjay » Thu Dec 06, 2012 5:48 pm

cocka wrote:I think it has something to do with the vertices using fractional numbers for their coordinates.

I think you're right. I just used DB2 to move the few vertices that were using fractional coordinates to vertices to whole number coordinates then saved the map. On testing it, the problem had gone.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: [r3978] Part of wall disappears : a single line in udmf

Postby cocka » Thu Dec 06, 2012 6:55 pm

to move the few vertices that were using fractional coordinates to vertices to whole number coordinates


OK, but this is the circumvention of the problem and the fact remains that it is a bug.
User avatar
cocka
 
Joined: 02 Jul 2011
Location: Hungary

Re: [r3978] Part of wall disappears : a single line in udmf

Postby ChronoSeth » Thu Dec 06, 2012 8:03 pm

I'm completely dumbfounded as to why zdoom's internal nodebuilder produces different (and better) results than ZDBSP. Aren't they (almost) exactly the same thing?
User avatar
ChronoSeth
You are totally unique, just like everyone else.
 
Joined: 05 Jul 2010
Location: British Columbia

Re: [r3978] Part of wall disappears : a single line in udmf

Postby randi » Fri Dec 07, 2012 12:13 am

I have reconfirmed that, aside from off-by-one-bit differences when loading fractional vertex data, the internal node builder and ZDBSP are, indeed, generating absolutely identical nodes. There's just one problem: None of the node formats support node splitters with fractional coordinates, so ZDBSP cannot save its nodes exactly as generated. Oops.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Re: [r3978] Part of wall disappears : a single line in udmf

Postby Xaser » Fri Dec 07, 2012 12:17 am

That could indeed explain why I was never able to get satisfactory results out of ZDBSP for ZDCMP2. If that's fixable, that'd make me a happy Xaser. :D
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Re: [r3978] Part of wall disappears : a single line in udmf

Postby randi » Fri Dec 07, 2012 1:22 am

Fixed in r3980 (ZDoom) and r3981 (ZDSP). I will try to get an updated version of ZDBSP up within 24 hours after I'm satisfied that the introduction of a new node format didn't break the writing of any of the existing formats.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Next

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests