[UDMF] Floor scrolling in wrong direction.

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

[UDMF] Floor scrolling in wrong direction.

Postby Amuscaria » Fri Aug 03, 2018 12:37 am

The scrolling floors using specials 201+ will scroll in the wrong direction, but still carry in the right direction, of the floor texture is rotated in UDMF. e.g. if I turned the floor texture 180 degrees, the texture will scroll opposite to the direction it's carrying.
User avatar
Amuscaria
The Sentient Mushroom
 
Joined: 26 Jul 2004
Location: Growing from mycelium near you.

Re: [UDMF] Floor scrolling in wrong direction.

Postby Graf Zahl » Fri Aug 03, 2018 1:26 am

Post an example map, please!
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [UDMF] Floor scrolling in wrong direction.

Postby Amuscaria » Fri Aug 03, 2018 2:39 pm

User avatar
Amuscaria
The Sentient Mushroom
 
Joined: 26 Jul 2004
Location: Growing from mycelium near you.

Re: [UDMF] Floor scrolling in wrong direction.

Postby Graf Zahl » Mon Aug 13, 2018 5:09 am

Does this also happen with Boom scrollers?

The problem here is obvious: The scroll offset is applied to the texture before rotating it. Sadly the entire implementation of texture translations wasn't done that well. The order of operations is not really what one would expect from how rotation is done normally...
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [UDMF] Floor scrolling in wrong direction.

Postby Amuscaria » Wed Aug 15, 2018 5:18 pm

Just tested with Boom Scrollers. Has the same bug.
User avatar
Amuscaria
The Sentient Mushroom
 
Joined: 26 Jul 2004
Location: Growing from mycelium near you.

Re: [UDMF] Floor scrolling in wrong direction.

Postby Graf Zahl » Wed Aug 15, 2018 5:45 pm

As expected. Too bad that I don't really know what to do about it, it's a design flaw in how the transformation is set up and this cannot easily be undone
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [UDMF] Floor scrolling in wrong direction.

Postby Amuscaria » Thu Aug 16, 2018 10:17 pm

Oh well, I'll just remove the part of the map that needs it. Thanks. :)
User avatar
Amuscaria
The Sentient Mushroom
 
Joined: 26 Jul 2004
Location: Growing from mycelium near you.


Return to Bugs

Who is online

Users browsing this forum: No registered users and 3 guests