Conversation
…tempted to optimize base_occluded in base.c, should improve performance by 5% but need to verify that it checks hidden primitives properly
Member
|
(just a quick note: this is being pushed off till it can be integrated into oil, as part of a more general image post-processing step) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
When tiles are resized, a sharpening filter is applied. The sharpness intensity will vary depending on zoom level. This can be adjusted by changing these lines in overviewer_core/tileset.py:
[495] # Intensity of the sharpness filter when zoomed all the way in, range = [0, 1]
[496] initial_sharpness = 0.4
[497] # Reduction in the filter's intensity for each level zoomed out, range = [0, 1]
[498] decay_rate = 0.5
Sharpness can range from 0 (no effect) to 1 (maximum effect). If initial_sharpness = 0, the code for the sharpening filter is never executed. For each level zoomed out, the intensity is multiplied by decay_rate. If the decay_rate is set to 1, the effect intensity will stay fixed regardless of zoom.
Things that should probably be evaluated before being enabled in master: