Hooray wrote in Sat Jan 17, 2015 3:55 pm:Actually, as can be seen in this thread, Torsten has been working towards a HTML5/JavaScript based GUI solution...
James Turner wrote:/Another/ option is we optionally host /all/ of Phi in an embedded Qt-webview [or even a non-Qt solution for embedding a web browser, but I don’t think that exists] inside FlightGear, and make a re-style that looks more like a normal GUI than something web-based.
Hooray wrote:yeah, there's even code in $OSG_SRC/examples doing exactly this, i.e. rendering a fully interactive webkit-browser to a texture. But all those dependencies are not really relevant to FlightGear. Also, there would be quite a bit of redundant stuff added, which we don't even use in other places.
Hooray wrote:Concerning the other two UI efforts going on (web UI and Qt5), there remains one issue that need to be addressed in order for either of those to be considered a viable alternative/replacement for PUI or the Canvas UI (a GUI running inside the main FG process/window): dependencies i.e. accepting WebKit, and especially, Qt5, as build-time dependencies for all platforms would need to be thoroughly discussed on the devel list to arrive at some consensus. And looking at how divided the FG community was in early 2006 when Mathias started adding OSG, or when Tim started adding boost - it is foreseeable that consensus will be hard to establish ...
Hooray wrote:For Torsten's work to literally conflict with the Canvas GUI effort, he would have to find a consensus among core developers to accept WebKit as a dependency into FlightGear (which is available as an OSG plugin), i.e. so that the mongoose GUI would also work as an integrated UI. Equally, rendering internal cameras (MFDs, instruments or scenery) is going to be challenging for anything external, unless you only want to display a "stream".
So yeah, there's /some/ competition in the house - but it's not a bad thing per se, and it also isn't uncommon for FlightGear to have a bunch of incompatible/mutually-exclusive features (think FDMs, scripting solutions, systems modelling blocks, weather systems etc), with different people believing in different approaches.
Users browsing this forum: BLEXBot [Bot], Google [Bot] and 0 guests