Page 1 of 1
Is that a bug?
Posted: Mon Jan 04, 2010 5:40
by Logan MTM
I was stoped watching that tree when this happened:
[spoiler]

[/spoiler]
Now a little step foward:
[spoiler]

[/spoiler]
So, step back:
[spoiler]

[/spoiler]
Step foward again:
[spoiler]

[/spoiler]
Step back:
[spoiler]

[/spoiler]
...
Is that normal?
I noticed the same thing in Monsters in Spawn State. A good way to reproduce it is the Baron of Hell standup (YellowCard) in the Map08 of LOS.
Re: Is that a bug?
Posted: Mon Jan 04, 2010 7:24
by Enjay
My guess is that this could be an effect of the system that has been in place since the earliest days of Doom.
In order for a sprite to be drawn, the sector that the actor is placed in needs to be in view. If a sprite is big enough for bits of it to be in the players field of view when the sector it is actually standing is can't be seen, the sprite will vanish. Most of the time, this simply doesn't matter because you can usually see part of the sector that a sprite you are looking at it in but if the sprite is quite big and the containing sector is quite small, it increases the likelihood of this glitch happening. Models also tend to show the problem more than standard sprites because models tend to be bigger than sprites.
My guess is that the tree is standing in a relatively small sector that can't be seen from certain positions even though the branches are wide enough to spill into the player's FOV.
However, having said all that, I have noticed the effect a bit more than usual recently and I'm wondering if something has changed to make GZdoom perform this check a bit more aggressively.
Re: Is that a bug?
Posted: Mon Jan 04, 2010 7:52
by sitters
Make a mini sector ( invisible ) with the same sector number in the field of view.
Re: Is that a bug?
Posted: Mon Jan 04, 2010 8:34
by Graf Zahl
Enjay wrote:
However, having said all that, I have noticed the effect a bit more than usual recently and I'm wondering if something has changed to make GZdoom perform this check a bit more aggressively.
I use a different angle calculation for visibility checks in the most recent builds. The old one was not precise enough. This may have a slight impact here.
Re: Is that a bug?
Posted: Mon Jan 04, 2010 9:58
by Nash
sitters wrote:Make a mini sector ( invisible ) with the same sector number in the field of view.
Clever hack!