#4174 closed defect (fixed)
[PATCH] Heightmap interpolation
Reported by: | elexis | Owned by: | FeXoR |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 21 |
Component: | UI & Simulation | Keywords: | patch |
Cc: | FeXoR, _kali, Niek | Patch: |
Description
The new maps by _kali which come with a digital elevation model (like pompeii) have some interpolation issues if the mapsize exceeds the provided resolution.
The current algorithm is to interpolate with one neighboring tile. Instead something better like bicubic interpolation could be used.
The attached patch attempts to implement that, but somehow the result doesn't have any effect. The map "howe sound" found in https://github.com/0ADMods/maps_random_by_kali/ already has these artifacts with mapsize medium.
Attachments (7)
Change History (11)
by , 8 years ago
Attachment: | t4174_bicubic_interpolation_v1.patch added |
---|
by , 8 years ago
Attachment: | t4174_interpolation_fixed_2016_9_6.diff added |
---|
by , 8 years ago
Attachment: | t4174_interpolation_fixed_2016_9_6b.diff added |
---|
Added the MIT license, the date and the author
by , 8 years ago
Attachment: | t4174_interpolation_fixed_2016_9_6c.diff added |
---|
Seperated the interpolation for clearer licensing
by , 8 years ago
Attachment: | t4174_interpolation_fixed_2016_9_6d.diff added |
---|
Linewraps in license_mit.txt, removed whitespaces in empty lines
by , 8 years ago
Attachment: | t4174_interpolation_fixed_2016_9_6e.diff added |
---|
Added documentation for bicubicInterpolation
by , 8 years ago
Attachment: | t4174_interpolation_fixed_2016_9_6f.diff added |
---|
License rewiew by Philip, Code review by elexis
comment:2 by , 8 years ago
Keywords: | rfc removed |
---|
Fixed the usage of the interpolation, a fail by one in the loops and the scale