[Won't fix] "Sparklies"

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Curunir
Posts: 1040
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

"Sparklies"

Post by Curunir »

On certain wals there seem to appear those tiny sparklies that run along the upper/lower end of the textures. I have applied a screenshot of Memento Mori's map 10. It also happens in a bunch of other custom maps, including one that I'm tinkering with.

It happens on random walls, no matter if the texture is dark/light. And it seems not to happen at all in the original maps. Even if it does, the sparklies are SO tiny, you need a magnifying glass.

Sloppy nodebuilding or Zdoom's fault?
User avatar
Nanami
Posts: 1066
Joined: Tue Jul 15, 2003 5:13 pm
Location: That little island pritch created.

Post by Nanami »

This comes from, I've heard, the "impossibility of infinite precision." It'll happen in any source port, and Doom.exe

A classic example is the demon face flat, which requires four flats to make it up. Anytime you look, it's always going to have what you described as "sparklies" around the edges.
User avatar
Curunir
Posts: 1040
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

Than make the edges overlap by a pixel, I say! :D
But, on a serious note, this really doesn't happen in Doom's vanilla maps. Why so?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Because they are low res and thus this imprecision is hidden.
User avatar
Curunir
Posts: 1040
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

No no :) Not "vanilla Doom's maps" but "Doom's regular distribution maps"
That is Ultimate and Final Doom's maps. I can't seem to come across sparklies that obvious on these.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

Rebuild your doom2.wad with ZDBSP and retry?
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

This is not a node problem. It's just caused because of the imprecision of computer math. The edge of the wall is calculated separately from the texture drawn on it. The "sparklies" are actually the texture repeating because a pixel or two more was drawn for the height of the wall than was textured. Don't expect me to work around this any time soon.

Return to “Closed Bugs [GZDoom]”