Page 1 of 1

1.2.1: slow map but no indication as to why

Posted: Tue Mar 31, 2009 19:44
by jengelh
Phobiata (I think it's this one: http://www.doomworld.com/idgames/index.php?id=14248 ) is sort of "unusable", that is, I get like one frame every 5 seconds or even less. The implicit fps counter available through `stat fps` however shows about "frame=50-80 ms", which would mean drawing is not the problem and that I would get a lot more out of this. Later I saw that this is in fact a DoomLegacy map. Would you take a look, or how can one figure out what is causing the slowdown?

Re: 1.2.1: slow map but no indication as to why

Posted: Tue Mar 31, 2009 19:54
by Rachael
It looks to me like a looping ACS script. Graf can correct me if I am wrong, though, I haven't opened this up in DoomBuilder yet.

Whatever is causing the slowdowns is eating a lot of processor power. I'm surprised it even runs.
Spoiler: EDIT:
Maybe Legacy just handles this script a little better? I've noticed some slowdowns in Legacy, too, though...

Re: 1.2.1: slow map but no indication as to why

Posted: Tue Mar 31, 2009 21:16
by Graf Zahl
1) Phobia is not supported by GZDoom
2) The performance issues with it are caused by its use of 3D floors. Quite often they are set up so that they completely block the view but the clipper doesn't catch it. Plus, rendering 3D floors is a bit expensive and this WAD uses lots of them. Both of these combined cause the speed problem.

2) is one of the reasons for 1). The other is some Fragglescript incompatibilities.

Re: 1.2.1: slow map but no indication as to why

Posted: Mon Apr 06, 2009 17:26
by jengelh
I am not too convinced though, the other maps in the set seem — from a subjective standpoint — use at least as many 3d floors and still perform good.