[fixed]Warping floor oddness 1.0.01
Moderator: Graf Zahl
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
[fixed]Warping floor oddness 1.0.01
Another test level of mine: this one has all the animations, both walls and floors, from my mod in it.
Most of the time the level looks as it should. However, sometimes, from a certain angle in a certain area, the floor and ceiling in one sector show an oddness. It flashes between looking normal and using one of the warped flats in place of the regular one. At least it is on the floor, I'm not sure which flat is getting used on the ceiling - it's hard to tell. This continues alternating with each "state" being shown for about 8 tics.
If I move to a different angle or position, the effect goes away. If I switch off shader warping, again the effect goes away - switching it back on restores the problem. It's not always repeatable either. Sometimes it happens, but quitting and restarting may or may not allow it to happen again.
The screenshots were taken without me moving, to try and demonstrate the alternating nature of the effect.
Most of the time the level looks as it should. However, sometimes, from a certain angle in a certain area, the floor and ceiling in one sector show an oddness. It flashes between looking normal and using one of the warped flats in place of the regular one. At least it is on the floor, I'm not sure which flat is getting used on the ceiling - it's hard to tell. This continues alternating with each "state" being shown for about 8 tics.
If I move to a different angle or position, the effect goes away. If I switch off shader warping, again the effect goes away - switching it back on restores the problem. It's not always repeatable either. Sometimes it happens, but quitting and restarting may or may not allow it to happen again.
The screenshots were taken without me moving, to try and demonstrate the alternating nature of the effect.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Hmmm, that's interesting. I never noticed this before. The effect isn't, as I thought, a straight substitution of wrong textures for the correct ones. There seems to be some sort of overlay effect going on. You can still see the floor-tile pattern through the lava on the floor and the nukage looks like a combination of lava and nukage too. The lava texture does not look like this. It is a proper tiling, with no seams, lava-like, orangey texture.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
I just got the effect again on the same level, but in a different area. This time it was a bit more interesting too because as I moved around, the effect was using different flats in the wrong place. I've captured a short video of it (size and quality reduced) so if you want to see the effect in action.
http://www.zen64060.zen.co.uk/warpfactor10.wmv
http://www.zen64060.zen.co.uk/warpfactor10.wmv
- Zeg-Vok
- Posts: 233
- Joined: Wed Sep 21, 2005 18:04
- Location: Up the creek without a paddle
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
I've been trying to make something that I can send that will produce the bug, and failed. I really don't know why either.
I made a simple map with 4 pools of warping flats, with a simple 4 line animdefs. No problem was visible when I played the level.
I copied my bigger animdefs (from my mod) into the WAD and GZdoom refused to start because of missing textures.
I copied all the flats and TXs from my mod into the test WAD and commented out all the definitions for wall animations in animdefs. Tada! I got the problem.
I weeded out all the flats/TXs that were not mentioned in animdefs and... the effect stopped again.
I put all the flats and TXs back and the effect returned.
I decided to check whether something in my skins directory was involved, so I renamed the skins directory and... the effect went away.
One by one, I copied the files from my skins directory and loaded them with the test file. I could not get the error to happen.
I set my skins directory back to its original name and... the effect came back.
The files in my skins directory are: BBA.WAD (bloodbath announcer sounds for DM), BLUD.WAD (A skin of Caleb from Blood), flashlight.wad (a doom3-like flashlight using dynamic lights), Keen.wad (commander keen skin), lights.wad (dynamic lights), njblk01.wad (Blake Stone skins), njsplash.wad (my splash wad: defining splashes and footfall sounds for all the default floors), scope.wad (some crosshairs and a sound to support a sniper scope alias), variants.wad (my doomguy skin variants) and Xhairs.wad - some extra crosshairs.
So, the problem is, I can't seem to get the effect in an easily portable format. With everything set up, I can get the effect to happen almost every time. If I change almost anything, the effect goes away. Complicating this is, of course, the fact that it doesn't happen every time. So where I have said above that there was no effect, it could just have been a time when the effect wasn't going to happen anyway and nothing to do with what I changed.
Other things I have noticed - the effect can be "switched on" and off by shooting. I would find that the level looked fine until I went to a specific point on in the level and shot at one of the pools and the effect would start. I could wander around the level shooting different places and either change the texture that was leaking all over the level or switch the effect off completely. Sometimes the texture would flash between normal and messed up as originally described and sometimes there would be no flashing (ie the effect was constant - and quite pretty actually). The flat leaking all over the place was not necessarily the same one as being shot and it happened with flats that were defined in my splash wad and ones that were not. I also noticed that some, but not all, walls would be affected like lemonzest's screenshot. ie the flat could leak onto the walls and show the effect there too, as well as the floor.
I made a simple map with 4 pools of warping flats, with a simple 4 line animdefs. No problem was visible when I played the level.
I copied my bigger animdefs (from my mod) into the WAD and GZdoom refused to start because of missing textures.
I copied all the flats and TXs from my mod into the test WAD and commented out all the definitions for wall animations in animdefs. Tada! I got the problem.
I weeded out all the flats/TXs that were not mentioned in animdefs and... the effect stopped again.
I put all the flats and TXs back and the effect returned.
I decided to check whether something in my skins directory was involved, so I renamed the skins directory and... the effect went away.
One by one, I copied the files from my skins directory and loaded them with the test file. I could not get the error to happen.
I set my skins directory back to its original name and... the effect came back.
The files in my skins directory are: BBA.WAD (bloodbath announcer sounds for DM), BLUD.WAD (A skin of Caleb from Blood), flashlight.wad (a doom3-like flashlight using dynamic lights), Keen.wad (commander keen skin), lights.wad (dynamic lights), njblk01.wad (Blake Stone skins), njsplash.wad (my splash wad: defining splashes and footfall sounds for all the default floors), scope.wad (some crosshairs and a sound to support a sniper scope alias), variants.wad (my doomguy skin variants) and Xhairs.wad - some extra crosshairs.
So, the problem is, I can't seem to get the effect in an easily portable format. With everything set up, I can get the effect to happen almost every time. If I change almost anything, the effect goes away. Complicating this is, of course, the fact that it doesn't happen every time. So where I have said above that there was no effect, it could just have been a time when the effect wasn't going to happen anyway and nothing to do with what I changed.
Other things I have noticed - the effect can be "switched on" and off by shooting. I would find that the level looked fine until I went to a specific point on in the level and shot at one of the pools and the effect would start. I could wander around the level shooting different places and either change the texture that was leaking all over the level or switch the effect off completely. Sometimes the texture would flash between normal and messed up as originally described and sometimes there would be no flashing (ie the effect was constant - and quite pretty actually). The flat leaking all over the place was not necessarily the same one as being shot and it happened with flats that were defined in my splash wad and ones that were not. I also noticed that some, but not all, walls would be affected like lemonzest's screenshot. ie the flat could leak onto the walls and show the effect there too, as well as the floor.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
I suspect you're right. I started up the map, got the effect and then went into the options. As soon as the dynamic lights were switched off, I could see the paused game in the background return to normal. Switching them back on did not immediately restore the effect but it was easy to bring it back by firing the pistol again.Graf Zahl wrote:I suspect the dynamic lights. Can you start the map again until the error shows and then disable them?
As a side issue, once this gets sorted out, would it be possible to actually have a system where the effect was actually usable and definable? A lot of the impact is lost in the attached screeny, but this floor looked really cool with translucent lava warping over the rocky floor. The only problem was it was very dark. The light level in all secotors in this level is set at 176 but the lava/rock combination makes it seem darker. I know the effect can be done with 3D floors too, I just thought it might be worthwhile having a definable system.
The screenshot also shows the effect happening on one or two sidedefs.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Nash
- Developer
- Posts: 1226
- Joined: Sun Sep 25, 2005 1:49
- Location: Kuala Lumpur, Malaysia
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
-
- Posts: 120
- Joined: Wed Aug 31, 2005 6:23
- Location: Somewhere
- Contact: