Skip drawing invisible voxel sections#2096
Skip drawing invisible voxel sections#2096Metadorius wants to merge 4 commits intoPhobos-developers:developfrom
Conversation
Metadorius
commented
Feb 8, 2026
- Voxel drawing code now skips sections that are invisible (have all zeros in the transform matrix main diagonal, meaning that the scale is 0% on all axes), thus increasing drawing performance for some voxels (by Kerbiter, ZivDero)
|
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
Starkku
left a comment
There was a problem hiding this comment.
LGTM. Just one thing but it is basically 'who cares' kind of deal.
|
I don't quite understand the drawing. Could you elaborate on which |
|
Tested it under SP and MP scenarios, no desync or wrong voxel displaying so far. Can be merged once it's finished |
it is mainly intended to improve performance on section swap animated voxels, most likely that's the only thing it will improve. I am waiting for the conclusive testing results from the community members who requested that and will most likely amend the doc/code. |
# Conflicts: # docs/Fixed-or-Improved-Logics.md # docs/Whats-New.md # src/Misc/Hooks.BugFixes.cpp
|
Waiting on feedback from Danielovich7 on Discord. |