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.
Buggy Voxel Visuals
Moderator: GZDoom Developers
-
- Posts: 131
- Joined: Wed Nov 30, 2016 12:51 am
- Graphics Processor: nVidia with Vulkan support
-
- Lead GZDoom+Raze Developer
- Posts: 48663
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Buggy Voxel Visuals
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.
-
- Posts: 131
- Joined: Wed Nov 30, 2016 12:51 am
- Graphics Processor: nVidia with Vulkan support
Re: Buggy Voxel Visuals
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.
-
- Lead GZDoom+Raze Developer
- Posts: 48663
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Buggy Voxel Visuals
Even dpJudas tried and failed. Build code seems to be from another programming universe.
-
-
- Posts: 2940
- Joined: Sat May 28, 2016 1:01 pm
Re: Buggy Voxel Visuals
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!
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!
-
- Posts: 131
- Joined: Wed Nov 30, 2016 12:51 am
- Graphics Processor: nVidia with Vulkan support
Re: Buggy Voxel Visuals
one day... just one day... 
