Cacodemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > How can I fix this visual glitch?
 
Author
All times are GMT. The time now is 19:31. Post New Thread    Post A Reply
Platinum Shell
Forum Regular


Posts: 844
Registered: 08-11


http://imgur.com/FuXFj.png




I apologize for the large picture, I've been trying to find the thumbnail address of the picture but to no luck.

Anyways, I mean these visual glitches, where a sprite of pretty much anything can bleed through walls and such at certain angles.
Any possible fix?

Old Post 12-16-12 22:16 #
Platinum Shell is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7793
Registered: 01-03


No. That's just how the engine works. Sprite clipping is actually pretty crappy and produces all kinds of weird glitches in just the right places.

Old Post 12-16-12 22:54 #
Graf Zahl is online now Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
schwerpunk
Senior Member


Posts: 2067
Registered: 05-12


Yeah. As far as I can tell it's just one of those minor things that us Doomers overlook in each other's maps. Just forget it and focus on the gameplay. :-)

Old Post 12-16-12 23:12 #
schwerpunk is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Dragonsbrethren
Forum Staple


Posts: 2507
Registered: 03-09


You can always use a hardware renderer and exchange that clipping issue for different ones.

Old Post 12-16-12 23:27 #
Dragonsbrethren is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
Maes
I like big butts!


Posts: 12871
Registered: 07-06


Having my fair share of knowledge of how the engine works, I often wondered how a sprite could be overlapped by a visplane (floor/ceiling), as sprites are draw last and on top of everything (with the exception of transparent mid-textures). The only major exception to this: CDoom and other ports with a "Room over Room" feature.

The only possible explanation is a fuckup in calculating the sprite's masking itself (it's drawn as if it was partially occluded by a column).

Then again, the engine shown here is ZDoom (which deviates from vanilla/boom in several aspects), and you're shooting at the floor ( an atypical situation, so who knows where the confusing clipping information is taken from, it might be from a pillar under that ledge).

Old Post 12-16-12 23:28 #
Maes is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11553
Registered: 07-07



Platinum Shell said:
http://imgur.com/FuXFj.png


I apologize for the large picture, I've been trying to find the thumbnail address of the picture but to no luck.


On imgur, add 's' to get the small thumbnail, and 'l' to get the large preview.

http://imgur.com/FuXFjs.png gives
http://imgur.com/FuXFjs.png

http://imgur.com/FuXFjl.png gives
http://imgur.com/FuXFjl.png


Maes said:
Then again, the engine shown here is ZDoom (which deviates from vanilla/boom in several aspects), and you're shooting at the floor ( an atypical situation, so who knows where the confusing clipping information is taken from, it might be from a pillar under that ledge).


It doesn't deviate from Doom on this point. You can replicate the same situation easily with any other Doom port software renderer.

Old Post 12-16-12 23:34 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Platinum Shell
Forum Regular


Posts: 844
Registered: 08-11



Maes said:
and you're shooting at the floor

Actually no, the explosion you see is from a Manc fireball from a fatso not pictured in the pit. If I had fired the rocket, the visual glitch probably wouldn't have happened since it's all on the same area of view. I suppose having the rocket launcher out didn't help make it any clearer. :)

EDIT: Thanks Gez.

Old Post 12-16-12 23:43 #
Platinum Shell is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit || Quote
wesleyjohnson
Senior Member


Posts: 1068
Registered: 04-09


And I thought only DoomLegacy was having those 3D floor clipping problems.

If it is a fatso blast, then it is from the fatso missile exploding within the thin wall/floor and the drawing and damage effects are leaking through because the inside of the wall surface is not blocking.
There is a bugfix that I put in DoomLegacy that detects fatso missiles hitting walls earlier, so they explode on the other side of the wall instead of in the middle of the wall.
This fix made a big difference whenever the wall was thinner than 20 units.
I do not know which other ports may have similar fixes.
I expect this has a small demo compatibility impact.

Last edited by wesleyjohnson on 12-17-12 at 21:13

Old Post 12-17-12 21:07 #
wesleyjohnson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11553
Registered: 07-07


Nothing says this is a 3D floor.

Old Post 12-17-12 22:01 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
kb1
Member


Posts: 460
Registered: 11-06


One thing confusing the issue is that, Doom missiles don't always explode on the outside surface of a wall. Missiles regularly pass deep within, say, a pillar before they explode, since the missile "jumps" by a fixed amount each frame. One frame, the missile is outside the pillar, and the very next frame, it is deep within, and, that's when the explosion is triggered.

In fact, Doom does not even calculate which wall the missile hit - the engine stops checking, as soon as it finds any wall that would block the missile. If your engine draws wall splats, this can make a splat get placed inside the pillar, quite frequently. The fix is to move the missile back to where it was before the explosion, then do a line trace/wall intersection call from the reverted missile position, in the same direction the missle was travelling. This can determine exactly where the missile should have exploded, so, then, you move the missile there, and trigger the explosion sequence. But, this is an expensive calculation.

Old Post 12-17-12 22:14 #
kb1 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11553
Registered: 07-07


And it's not enough anyway, since you can get the same clipping issue with mobjs that aren't inside the void. I've replicated it by placing medikits atop the short walls around the entrance of MAP02: Underhalls. I've also seen it replicated by shotguns dropped by dead sergeants in a corridor in Plutonia 2's MAP01.

Old Post 12-17-12 22:37 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit || Quote
Quasar
Moderator


Posts: 6175
Registered: 08-00


This is not some mystical voodoo problem that is hard to explain.

Vissprites can only be clipped by linedefs. Areas of the screen which are unmarked for clipping by lines will display any sprite that would appear in that location. You notice where the 2S lines in the floor cross, the fireball is clipped away. But where it would be covered only by flats, it shows.

This is an oversight of sorts in the DOOM clipping algorithm and would apparently be quite difficult to overcome within the bounds of the software renderer.

Old Post 12-18-12 04:00 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit || Quote
All times are GMT. The time now is 19:31. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > How can I fix this visual glitch?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.