I have found in OpenVG a lot can be done with rect, rounded rect, circle and text, I suspect the same can be done with the simplest SVG.
Nasal generated SVG is outside my comfort zone at the moment, I need to upgrade my PC as it will not run FG.
At the moment I cannot even see how the text in some of the SVG files is done.
If it is via paths then that might be slower than letting the Pi to use it's native OpenVG text method.
I just found out Lazarus/Free Pascal can do SVG and has a SVG viewer as part of the bgracontrols library.
I may end up combining the SVG and Lazpaint into an instrument design tool that makes a more native Pi OpenVG file.
It probably would be possible to even use this as a PC based SVG display with even Pi's able to run Laz/fpc too.
One of the issues (advantage?) with Pi' is there is so many way to do things these days.
The latest Pi OpenGL drivers are getting pretty good now too, which opens up another method.
That Canvas.draw link is giving me ideas.
What I want to figure out is the minimum, simplest software needed to make a Raspberry Pi Zero useful as separate instrument displays.
I noticed telnet was/can be used to send the relevant data out.
That would require a Ethernet Pi, perhaps a Pi3B+ and with a Cluster hat and 4 x Zeros I could do a system with 5 HDMI/DVI monitors.
That would make a full NG glass cockpit possible, use a wide 1920x1080 screens with a bezel to split the display into two?
I like the Android display idea as they have touch screens so I see the advantage of the Phi/Browser based software.
Anyway you guys have giving me lots to read and try to play catchup.
I have yet to benchmark my OpenVG methods, which is why I want to try using existing FG stuff.
I also want to make sure it is not FG/Nasal specific but a generic method of using OpenVG/OpenGLES on Pi's for instrument displays.
That way I or anyone can make Star Trek or Orville bridge /engineering/medical ….displays as well as real air/space vehicle simulated displays.
Or car dashboard for a racing simulator for the kid.
Or to design UI's for any Pi based instrument
Pi Zero's are very low priced and second hand DVI monitors can be free or <$20.
Those with USB ports are useful and the 5V can power the Zero or even a Pi A+ or B+.
Thanks for the ADI ball link, getting my head around that is why I stopped developing this idea in 2017.
https://ultibo.org/forum/viewtopic.php? ... =PFD#p5409
Really would love to see how this is coded in a real glass screen display.
Currently I suspect I might have to use OpenGLES.
I know that Pi's can handle at least 20,000 triangles at 60fps.
Even 3D instruments won't need that unless you want to do lighting and shadow effects
What changes, will just be a few properties and if the Pi just get those it does not need a redraw of the whole display.
Pi's in effect become cheap graphical coproccessors for Nasal?
I don't intend to make any FG feature requests or improvements as I have only a basic understanding of how FG works.
In fact it is probably better if I stay in the dark and not get too distracted.
I now know enough to keep me busy for some time.
Will get back here when something works, which at my current rate of progress might be a year or two