-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new z-dither branch which implements feature described in issue #9388 #10391
Open
LRaiz
wants to merge
22
commits into
prusa3d:master
Choose a base branch
from
LRaiz:z-dither
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3cb950a
zdithering - inititial changes
LRaiz 88a6f72
Backported z-dither from SuperSlicer
LRaiz f5d400b
Merge branch 'master' into z-dither
LRaiz cef05e4
Corrected merge errors
LRaiz 639a3e4
Debug merged code
LRaiz f6a6ef7
Debug merged code
LRaiz 301b813
Merge branch 'z-dither' of https://github.com/LRaiz/PrusaSlicer into …
LRaiz 14f36a7
Merge branch 'master' into z-dither
LRaiz 950b94b
Styling changes
LRaiz 281f9ff
Review comments
LRaiz f8eb46a
Merge branch 'master' into z-dither
LRaiz d75c23d
Merge branch 'master' into z-dither
LRaiz 3bad1bf
Merge branch 'master' into z-dither
LRaiz 29f0280
Merge branch 'master' into z-dither
LRaiz 7f1f6bd
Bug fixing, enhancements
LRaiz 84318be
Bug fixing, enhancements
LRaiz 49436ac
Merge branch 'z-dither' of https://github.com/LRaiz/PrusaSlicer into …
LRaiz 1287c08
Merge branch 'prusa3d:master' into z-dither
LRaiz 19a2a46
Merge remote-tracking branch 'remotes/origin/master_262' into z-dither
bubnikv 91ab2db
Merge branch 'master' into z-dither
bubnikv 2020d32
Merge updated branch 'master' into z-dither
LRaiz 037042c
Merge branch 'prusa3d:master' into z-dither
LRaiz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better not to switch Arachne/Classic calls order, neither reformat parameter list, as it causes problem with further merges.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While changing the formatting of parameters could be done and is not a big deal, the alternative to switching Arachne/Classic calls order was considered and turned out to be much worse.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even restore format will be good, as I had problem in merging another PR over dithering. But what is problem with call order? Aren't two calls mutually exclusive? I guess this
should work, or do I miss something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For dithered layers, Classic paths connect to adjacent non-dithers layers much better than Arachne. This is because Classic tends to create closed perimeter loops, while for narrow regions, Arachne may produce open contours. On the other hand, at times, Classic produces nothing, while Arachne is still capable of making open perimeters. My code for dithered layers attempts to use Classic first, then if Classic fails, use Arachne. Observe m_perimeters.empty() as a check for Classic failure and two if statements as opposed to if/else.
The change in formatting was made by Visual Studio while complying with
.clang-format
. I will restore the original formatting and attempt to improve the comment describing the logic of the changed code.