Page 1 of 1
Warped Shaders dosn't work
Posted: Sat Oct 13, 2007 11:11
by Hellraiser777
Even though I can't exactly link a picture, but I think this should help by giving the detail in text.
When I enable the Warping Shaders to work, the warped textures seems to jerk back and forth, like NUKAG1 - 3 being played (with their animation) and with WARP on the said flats.
This happens with the recent GZDooM (and even the latest .27)
CPU: Intel Pentium D 2.80GHz 825
VID: nVidia GeForce 8600 GT (latest Beta Drivers, even happens with the previous 163.69 drivers)
OS: Windows Vista Home Premium.
I will give extra info.
Posted: Sat Oct 13, 2007 11:40
by Enjay
I've got quite a lot of warping textures (textures, flats, PNGs, Doom format) using both warp types and they work just fine on floors and walls with shaders activated.
Can you post your animdefs definitions?
Do you have a video grabbing tool (eg FRAPS) that you could use to record the problem?
Posted: Sat Oct 13, 2007 20:27
by Hellraiser777
I got fraps, gimmie a minute.
EDIT:
I thought this post didn't made it.. sorry for double post.
Posted: Sat Oct 13, 2007 20:30
by Hellraiser777
http://68.32.163.177/Movie_0008.wmv
Theres the movie (from me mind you)
And heres the ANIMDEFS (note that I have one frame being repeated for the other frames to look 'idle'
[spoiler]
Code: Select all
warp2 flat FWATER1
warp2 flat FWATER2
warp2 flat FWATER3
warp2 flat FWATER4
warp2 flat LAVA1
warp2 flat LAVA2
warp2 flat LAVA3
warp2 flat LAVA4
warp2 flat BLOOD1
warp2 flat BLOOD2
warp2 flat BLOOD3
warp flat SLIME01
warp flat SLIME02
warp flat SLIME03
warp flat SLIME04
warp flat SLIME05
warp flat SLIME06
warp flat SLIME07
warp flat SLIME08
warp flat NUKAGE1
warp flat NUKAGE2
warp flat NUKAGE3
[/spoiler]
Posted: Sat Oct 13, 2007 21:43
by Enjay
Well, the animdefs was enough. I loaded it up and, yes, it does look ugly. I also tried it with and without shaders, and with older GZdoom versions and Zdoom. The problem is not specific to shaders - but I think it is a bit more obvious with them. It happened with everything I tried.
However, I think the main problem is that the animation of these textures is pretty ugly in the first place. ie, I don't really think its a (G)Zdoom problem. If you stand and watch Doom animated flats, the animation is pretty jerky anyway. I think this just makes it more obvious.
I've read your first post again and I'm now not quite sure what you are trying to do. The way you have it set up at the moment means that the animated flats will still animate but in addition they will warp. It sounds from your first post that perhaps you are trying to make it so that the flats will only warp and not flick through the various animation frames. If so, you need to set things up differently. The usual way to do it is to use a single frame flat with its own name and warp it and not use the built in animations at all. Although I'm not sure what you meant about the repeated frame and the looking idle thing.
[edit]
This also works:
Code: Select all
texture FWATER1
pic FWATER1 tics 8
pic FWATER1 tics 8
texture FWATER2
pic FWATER2 tics 8
pic FWATER2 tics 8
texture FWATER3
pic FWATER3 tics 8
pic FWATER3 tics 8
texture FWATER4
pic FWATER4 tics 8
pic FWATER4 tics 8
warp2 flat FWATER1
warp2 flat FWATER2
warp2 flat FWATER3
warp2 flat FWATER4
[/edit]
Posted: Sat Oct 13, 2007 21:58
by Hellraiser777
I mean this:
I'm using one flat animation for the rest of the animations. To replicate that 'no animation for the flats', to make it look stationary.. add warp to that and you got somthing.
This is for my personal use, so I can play the classic DooM / DooM II without going into the level and adding in the flat replacements for the warping flats. I know I'm not the best describer in the world but this is the best I can say.. I'm using one frame for the whole animation, and put WARP or WARP2 on the said frames.. but when I use The Warping Shaders.. it seems to 'jerk back and forth'.
I didn't have this problem untill switching to Version .26 for GZDooM.
Posted: Sat Oct 13, 2007 22:02
by Enjay
See my edit to my above post. I think it does what you want. Seems to work for me anyway.
Oh, and I finally saw your video too (7mb takes me a while). Clearly shaders were an issue for however you had things set up.
Posted: Sat Oct 13, 2007 22:09
by Hellraiser777
Ah okies.. so it was shaders, and heres my wad for flat warping (I placed this in a pk3 with my customized GZDooM Advanced)
http://68.32.163.177/flatwarps.wad
Posted: Sat Oct 13, 2007 22:24
by Enjay
OK, a little bit further. When I load your WAD, it works. However, if I then go to the menu, switch off shaders and then switch them back on again, I get the jerking effect. Somehow disabling and re-enabling the shaders seems to get something out of synch.
This does not, however, happen with my alternative solution. (Which has the additional advantage of not needing you to insert any graphic into your WAD.) So you could use that but it does seem like something Graf will need to look at.
Posted: Sat Oct 13, 2007 22:37
by Hellraiser777
Ah. Alright, I'll try out your method 'till Graf fixes this.

I knew this was a bug.
Posted: Sun Oct 14, 2007 9:09
by Graf Zahl
Fixed. But you still should use Enjay's method because it uses less resources.