Page 1 of 1
Sprite disappearance when billboard turned on
Posted: Mon Dec 10, 2007 19:43
by Nash
Nash wrote:
When you look fully (100%) up or down and fire your plasma rifle or BFG (or any projectile weapon), the sprite isn't visible.
Shift your pitch a little and they will appear.
Torr Samaho wrote:
Interesting finding, but this has nothing to do with the billboard feature and also happens in GZDoom. Just fire a few plasma shots, freeze the game and fly above them looking nearly straight down. The plasma sprites near you crosshair vanish.
Nash wrote:
You're right. I'll post report this bug at the GZDoom forum then.
Posted: Mon Dec 10, 2007 21:31
by Graf Zahl
Actually this was done intentionally because otherwise you'd see the projectile overlaid over the weapon sprite in its first frame.
Posted: Wed Dec 12, 2007 14:50
by Nash
Right, that whole depth testing business...
Posted: Mon Jan 07, 2008 19:53
by CSonicGo
Graf Zahl wrote:Actually this was done intentionally because otherwise you'd see the projectile overlaid over the weapon sprite in its first frame.
this is due to the shots originating from the player itself, and not the "gun", right?
Posted: Mon Jan 07, 2008 20:24
by Graf Zahl
Precisely. The missile is spawned at the player's center.
Posted: Tue Jan 08, 2008 9:20
by Nash
Would it be possible to sort of hack around this by making the very first frame invisible and then making it appear again like in the very next tic? I don't know how the engine works... just tossing some ideas around...
Posted: Sun Jan 27, 2008 16:36
by Graf Zahl
Should be a little better now.