[Commits] [wesnoth/wesnoth] d73a11: disable "alpha thresholding" in our bilinear inter...
GitHub
noreply at github.com
Fri Oct 10 22:11:47 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: d73a117278a98921be5915a2eb90675e2cfca0d8
https://github.com/wesnoth/wesnoth/commit/d73a117278a98921be5915a2eb90675e2cfca0d8
Author: Chris Beck <render787 at gmail.com>
Date: 2014-10-10 (Fri, 10 Oct 2014)
Changed paths:
M src/sdl/utils.cpp
Log Message:
-----------
disable "alpha thresholding" in our bilinear interpolation algo
In this commit from late 2005, boucman added a bilinear interpolation
routine for scaling images which we use everywhere.
https://github.com/wesnoth/wesnoth/commit/2df60619
It is a modified bilinear interpolation -- one of the tweaks is that
at the very end an "alpha thresholding" step occurs. If the alpha
of a pixel is less than half of the average alpha of its neighbors,
it is discarded and set to fully transparent. Boucman writes that
this was done to combat a gametime artifact that would occur when
moving the hexagonal selector around with the mouse -- however, it
creates a small loss in image quality. Boucman writes that skeleton
archer bowstrings don't look as good -- I notice also that the edges
of the wings of drakes seem a bit sharper / more pixelated somehow.
In this commit I tried disabling the alpha thresholding, since the
way that the hex selector works has been changed since 2005, so this
might no longer be an issue. Sure enough the "hexagonal haloes" are
gone now, so it seems that we can safely get rid of the alpha
thresholding.
Commit: 02f3c528afcc1dbc2f58d2c82f5dda3d088aef00
https://github.com/wesnoth/wesnoth/commit/02f3c528afcc1dbc2f58d2c82f5dda3d088aef00
Author: Chris Beck <render787 at gmail.com>
Date: 2014-10-10 (Fri, 10 Oct 2014)
Changed paths:
M changelog
Log Message:
-----------
update changelog
Commit: c32baa066607a3e33ff3ac8a6f4d69832b63ac32
https://github.com/wesnoth/wesnoth/commit/c32baa066607a3e33ff3ac8a6f4d69832b63ac32
Author: Chris Beck <render787 at gmail.com>
Date: 2014-10-10 (Fri, 10 Oct 2014)
Changed paths:
M changelog
M data/campaigns/Heir_To_The_Throne/scenarios/06_The_Siege_of_Elensefar.cfg
M data/core/about.cfg
M projectfiles/CodeBlocks/wesnoth.cbp
M projectfiles/Xcode/Wesnoth.xcodeproj/project.pbxproj
M src/CMakeLists.txt
M src/SConscript
M src/animated.tpp
A src/editor/controller/editor_controller.cpp
A src/editor/controller/editor_controller.hpp
R src/editor/editor_controller.cpp
R src/editor/editor_controller.hpp
M src/editor/editor_main.cpp
M src/editor/map/context_manager.cpp
M src/game_preferences.cpp
M src/serialization/unicode.cpp
M src/tod_manager.cpp
Log Message:
-----------
Merge branch 'master' of https://github.com/wesnoth/wesnoth
Compare: https://github.com/wesnoth/wesnoth/compare/3444ae256b8a...c32baa066607
More information about the Commits
mailing list