Buggy Voxel Visuals

These bugs do plan to be resolved, when they can be.

Moderator: GZDoom Developers

User avatar
nazakomu
Posts: 131
Joined: Wed Nov 30, 2016 12:51 am
Graphics Processor: nVidia with Vulkan support

Buggy Voxel Visuals

Post by nazakomu »

This was discovered quite a while back by a colleague of mine, and I've mentioned it a couple times in the ZDF Discord, but I figured it'd be appropriate to report the bug here on the forums instead.
I decided to make a small video demonstrating the displacement of a voxel perfectly. It is best seen when the player is moving up and down towards a voxel repeatedly. While it's probably not so bad in most gameplay instances, it can still be spotted when the player is falling from a height towards a voxel.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48375
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Buggy Voxel Visuals

Post by Graf Zahl »

This is a known issue of the software voxel renderer. Don't expect this to get fixed, though. The code responsible here is nearly unaltered Build code which nobody involved in GZDoom's development fully understands.
User avatar
nazakomu
Posts: 131
Joined: Wed Nov 30, 2016 12:51 am
Graphics Processor: nVidia with Vulkan support

Re: Buggy Voxel Visuals

Post by nazakomu »

I'm fine as long as it's here. Perhaps, someone with good knowledge on voxels can give a hand and completely refactor the current code or something. I believe it will be fixed one day, eventually.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 48375
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Buggy Voxel Visuals

Post by Graf Zahl »

Even dpJudas tried and failed. Build code seems to be from another programming universe.
dpJudas
 
 
Posts: 2893
Joined: Sat May 28, 2016 1:01 pm

Re: Buggy Voxel Visuals

Post by dpJudas »

Hehe, yes, that function sure is a mystery. It doesn't help that it uses alloca to get working memory on the stack while also being a fan of two letter variables names in a 200 lines function.

Based on the visuals, it looks like there is some disagreement between Build and ZDoom's renderer about what the scale of the up axis is. Good luck figuring out which of the variables in the function controls that!
User avatar
nazakomu
Posts: 131
Joined: Wed Nov 30, 2016 12:51 am
Graphics Processor: nVidia with Vulkan support

Re: Buggy Voxel Visuals

Post by nazakomu »

one day... just one day... :wink:

Return to “On Hold Bugs”