yaapu / FrskyTelemetryScript

A LUA telemetry script and widget for the Horus X10(S),X12 and Taranis X9D+,X9E,QX7 and X-Lite radios using ArduPilot frsky passthru protocol
GNU General Public License v3.0
447 stars 141 forks source link

Resolution of virtual horizon on Horus / T16 #35

Closed Fardenco closed 5 years ago

Fardenco commented 5 years ago

On the virtual horizon, the small white lines which are parallel to the horizon are fine but the horizon itself (the transition from the brown part to the blue part) is quite coarse, we can see that when the line goes down, it goes down by 2 pixels, not just one Is it due to a technical limitation for rendering time ?

yaapu commented 5 years ago

Hi, yes the horizon line vertical resolution is 2 pixel, that's to minimize Lua screen drawing calls.

Can you explain why this affects usage in your particular use case, just curious

Fardenco commented 5 years ago

It's already really good like that, I was just wondering if it was on purpose, purely for aesthetic reason. It would certainly look better with increased resolution, but at the cost of screen refresh rate I guess that's not worth it. Anyway thank you for answering and a big thank you for all your work

yaapu commented 5 years ago

Thanks, I'm really struggling to get decent fps, and the big screen does not help at all!