If there is a sprite that has a large enough horizontal length, it can disappear behind geometry that is single sided. As an example, go to MAP04 of Going Down and go to the same places I am in the screenshot below. If you move left or right when facing the rocket boxes, the sprites will vanish even though the thing itself is still there. In the left screenshot, you can see all 3 boxes there. When I move to my left, the closest two boxes vanish behind the pillar.
What is causing this, and furthermore is it normal?
Sprites disappear behind void space
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Sprites disappear behind void space
Welcome to Doom's wonderful way of handling sprite drawing. The rocket boxes are particularly susceptible because their sprites are quite a bit larger than their actual object size.
Re: Sprites disappear behind void space
Ugh, that looks nasty. Is this thing also present in GZDoom?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Sprites disappear behind void space
It's not as pronounced but the basic processing method being used here means that if you just get the right map construct it may still happen.
Re: Sprites disappear behind void space
Would the RenderRadius property help this situation?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Sprites disappear behind void space
It should, yes. But it isn't set for any stock item and cannot possibly compensate for sprite replacements that are larger than expected.