cosmicds / blaze-star-nova

MIT License
0 stars 4 forks source link

Reduce horizon and sky jitter #25

Closed Carifio24 closed 1 month ago

Carifio24 commented 1 month ago

This PR reduces the horizon and sky jitters. This is accomplished by constructing these via the WWT graphics primitives directly, rather than using annotations that we update on an interval. I have some ideas on how to extract this into general toolkit functionality, but for this story I've just injected the drawing directly into the render loop. Overall, this new system has the benefit that we don't need to worry at all about managing updating the horizon/sky to deal with location or time changes - it will just automatically do what we want it to. This also means that we can get rid of our Annotation2 class.

Carifio24 commented 1 month ago

So it turns out there is still some jitteriness, but I had to be zoomed in about 10 levels in order to see it.