Good idea, should be relatively easy to implementQuan-Time wrote:1: ability for gauge needle to sweep in reverse (anti clockwise)
Also a worthy idea, but FAR FAR more difficult, as those image formats are NOT scalable, and megatunix gauges are. (they are essentially a stripped down form of SVG). using other images (non scalable formats), will lead to distortion and other issues. Not saying that it's impossible, but it opens a can of worms. Also the current gauge definition format has no way to handle outside files (BG images) yet, so that would require a major API break.Quan-Time wrote: 2: be able to use .jpg / .gif / .bmp as gauge background colour / image.
This isn't possible yet, as the gauges are linear scale only, and in the cases you describe above the scale can't be described by a linear mathematical function, it's essentially two different scales with a transition point. A potential workaround is to design your gauge ONLY for the scales of interest, i.e. in the case of the dirtbike, create a tach from 4000, 12000 rpm, as below 4K isn't really useful. Another alternative, although trickier, is to define a lookuptable and derived datasource to convert to the multiple scales and use a linear gauge with custom tick groups to make it LOOK nonlinear and you'd get the effect you want. You can create multiple tick groups to basically draw a NONlinear scale on the gauge and still have it display correctly by using the lookuptable to do the "math".Quan-Time wrote: 3: probably not possible, but variable sweep. If you look closely at many factory speedo gauges, you will notice that 0-40km/h is fairly big compared to 160-200km/h. I want 0-5000rpm to be fairly bunched up / close, but 5000-12,000rpm to be alot bigger. Think motorbike tacho. Most dont even let the clutch our lower than 4000rpm.
No it isn't, and it would greatly increase the complexity of the rendering engine, in that case it would be better to go all out with OpenGL, which is beyond my skillset. as shadows imply lighting, and then you have to think about where the lighting comes from, etc..Quan-Time wrote: 4: is it possible to add gradient / shadow or something to the needle to give it more 3d look ?
Thats a good idea, and I was working on a similar idea, called "GaugeIndicator", which is basically a fancy name for "idiot light", These were going to be SVG images, basically TWO images, one for "on state", one for "off state", and the gaugedesigner would place it like any other gauge onto the dash, and let you set thresholds and hysteresis for them (to prevent flicker), so they'd work like your idea. I have NOT actually coded this yet. Time has been short, esp since a recent move.Quan-Time wrote: 5: linked gauge warnings. Example would be a shift light. Set a alert to say, 7000rpm as you shift point. Instead of having a ring flash on the gauge, be able to offset it on X and Y so it sets up and to the right, like an autometer gauge. But have the warning in its own little guage housing.
The original tacho, can you program it so when the alert will go off, instead of choosing a colour, you choose a value, say "SHIFT". On a whole new gauge you set a warning on there, instead of saying "alert at 7000rpm" you can choose "alert at "SHIFT" ". Id then have a seperate shift light gauge
Quan-Time wrote: Other than that, im quite happy with everything. Someone already commented about gauge overlap, ill try the edit trick and see if it works.