View Single Post
mosen's Avatar
Community Council | Posts: 1,669 | Thanked: 10,225 times | Joined on Nov 2014 @ Lower Rhine
#2008
Originally Posted by MartinK View Post
Unfortunately something is apparently wrong with the shaders used for it, as I just get a violet rectangle and a bunch of errors in the log:

[CODE]ERROR: 0:11: 'atan2' : no matching overloaded function found
Yay MartinK!
Sorry for not responding earlier, thanks for concidering the gauge

Please stop wasting time on debugging silly opengl. I will rewrite the gauge using pure qml. The code will be much longer but i can generate nearly the same design using RadialGradiant applied to a thick line.
Its just that i found the Shader thingy to be quite elegent but if it crashes, it crashes.
I don't have the SFOS Sdk installed so all i do is prototype in qmlscene. Sorry for letting you run into such an alpha stage problem.

Also on AsteroidOS we had problems with a watchface employing shaders that would not display on a single watch only, the sony tetra. After quite some debug kido decided to simply hide the watchface for tetra :/

Lets see when i get back to coding, i guess tomorrow evening.
 

The Following 7 Users Say Thank You to mosen For This Useful Post: