[Closed] HUD Models near the camera visual corruption 3.5.1

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

HUD Models near the camera visual corruption 3.5.1

Postby Enjay » Sun Sep 30, 2018 1:07 pm

Originally discussed here: viewtopic.php?f=19&t=46718&p=1074467#p1074467

I was having some problems with the appearance of the hyperblaster in my Genetech mod:

Enjay wrote:
Spoiler:


For some reason, the bottom-right corner of the hyperblaster model shows those visual errors


I tried a whole bunch of things, none of which worked, then Nash made a suggestion:

Nash wrote:Model polygons behave a little wonky when they get too close to the camera (regardless of file format)... could be a similar issue manifesting itself here. Just for tests, if you move the model "forward" so it's farther away from the camera, does the clipping glitch still happen?


And that seems to be exactly what the problem is. If I move the model forward a bit, the problem goes away (though, obviously it moves the position of the weapon in the view). This actually worked out fine for me but the issue could be problematic in other situations.

Aside from not being a particularly great model (in keeping with other models for Quake 2 at the time), I don't think that there is anything inherently wrong with the model. It works well enough in Quake 2 and in the port KM Quake. I have also tried a made-from-scratch MD3 version of the weapon that I found in a hi-res model pack for Quake 2 and it showed a similar problem even though the model itself was entirely different.

I've linked to a cut-down test file. Just load it, give yourself all the weapons and select slot 6 twice to get the hyperblaster. (Or give yourself the weapon test01.) The glitch is visible most of the time but it becomes particularly obvious during the wind-down animation after firing. I suspect it's more obvious in widescreen modes too.

http://www.aspectsweb.co.uk/enjay/doom/ ... ertest.pk3
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests