Buggy Voxel Visuals

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

Moderator: Developers

Buggy Voxel Visuals

Postby nazakomu » Tue Apr 03, 2018 4:33 pm

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
nazakomu
iddqd
 
Joined: 30 Nov 2016
Discord: Nazakomu#3025

Re: Buggy Voxel Visuals

Postby Graf Zahl » Tue Apr 03, 2018 4:55 pm

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
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Buggy Voxel Visuals

Postby nazakomu » Tue Apr 03, 2018 8:20 pm

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
nazakomu
iddqd
 
Joined: 30 Nov 2016
Discord: Nazakomu#3025

Re: Buggy Voxel Visuals

Postby Graf Zahl » Wed Apr 04, 2018 12:33 am

Even dpJudas tried and failed. Build code seems to be from another programming universe.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Buggy Voxel Visuals

Postby dpJudas » Wed Apr 04, 2018 3:24 am

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!
dpJudas
 
 
 
Joined: 28 May 2016

Re: Buggy Voxel Visuals

Postby nazakomu » Wed Apr 04, 2018 5:40 am

one day... just one day... :wink:
User avatar
nazakomu
iddqd
 
Joined: 30 Nov 2016
Discord: Nazakomu#3025


Return to On Hold Bugs

Who is online

Users browsing this forum: No registered users and 2 guests