Firefly-2020: render HiPS more accurately - #2022
Conversation
55689c9 to
f34bc8b
Compare
|
For spectrum extraction, the tile display must be accurate to better than one tile pixel. Firefly The branch reaches sub-pixel accuracy for most tiles when zoomed in past the deepest HiPS order.
To reproduce:
|
|
CLAUDE REVIEW FINDINGS 1. High: sub-cells are still drawn as 4 triangles around the average of their corners
const triangles= norder > isMaxOrder && desiredNorder>norder ? 4 : 2;
Fix: draw sub-cells with 2 triangles split along the current corner 1–3 diagonal, or keep 4 2. High: subdivision stops at 2 levels, which isn't enough near the poles
Fix: refine deeper at high |Dec| (n ≥ 16 above about 80°), and for the 8 tiles at each order 3. Medium: nothing changes when not zoomed past the deepest order
Fix: subdivide independently of 4. Medium:
|
tgoldina
left a comment
There was a problem hiding this comment.
Approved. Apart from the ZoomTask bug, the rest can go into a follow-up ticket. This PR is a definite improvement.
Fixing
new ticket
|


Firefly-2020: render HiPS more accurately
Testing