Search found 85 matches: pui2canvas

Return to advanced search

the UI debate raises its ugly head once again ...

... based parser to see how feasible a Canvas based PUI replacement would be (proof-of-concept, i.e. under 500 LOC): http://wiki.flightgear.org/Pui2canvas http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png Later on, the only core developer intimately familiar with the process ...
by Hooray
Sat Dec 08, 2018 7:13 pm
 
Forum: The FlightGear project
Topic: 2018.3 Release
Replies: 116
Views: 81537

Re: advantage of using nasal

... http://wiki.flightgear.org/Qt5_Launcher http://wiki.flightgear.org/QtQuick_use_in_FlightGear http://wiki.flightgear.org/Pui2canvas Besides, while re-implementing a working Nasal VM would of course be possible, that would not magically fix up coding issues that crept up ...
by Hooray
Wed Oct 17, 2018 3:55 pm
 
Forum: Nasal
Topic: advantage of using nasal
Replies: 4
Views: 758

Re: Annoying bug

... map-canvas.xml): http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png Notably, the same mechanism could also work for a Canvas-enabled Phi back-end: http://wiki.flightgear.org/Read_canvas_image_by_HTTP http://wiki.flightgear.org/images/thumb/4/45/Canvas-ND-served-via-httpd.png/800px-Canvas-ND-served-via-httpd.png ...
by Hooray
Sat Sep 15, 2018 5:48 pm
 
Forum: Flying
Topic: Annoying bug
Replies: 5
Views: 670

Re: GUI text not visible

... for some * try up/down grading GPU driver, maybe there's a sweet spot * canvas rather than PUI also solves your thing, there's an experimental pui2canvas module which renders you something for many dialogs, although it ain't pretty
by Thorsten
Thu Aug 30, 2018 7:58 pm
 
Forum: Graphics
Topic: GUI text not visible
Replies: 13
Views: 1265

Re: FGPython an propose for Python as an nasal alternative

... the opposite took place (just to provide a context around your choice of words and your tossing around of acronyms) : http://wiki.flightgear.org/Pui2canvas https://sourceforge.net/p/flightgear/mailman/message/29584988/ I'm even more convinced now that we should move the 2D panel and HUD rendering ...
by Hooray
Wed Mar 07, 2018 6:19 pm
 
Forum: New features
Topic: FGPython an propose for Python as an nasal alternative
Replies: 253
Views: 48613

Re: Aircraft-specific dialogs

... simple parser to load/animate 2D panel instrurments from fgdata - and this could be easily extended for these purposes. I think this was prior to pui2canvas actually - i.e. I used this to bootstrap the pui2canvas stuff. This would have the added advantage, that these instruments are not just textures, ...
by Hooray
Mon Jan 29, 2018 9:41 am
 
Forum: Canvas
Topic: Aircraft-specific dialogs
Replies: 48
Views: 5396

Re: 2D Panel

... would be much easier to code a simple parser that loads the XML file and maps that to a handful of Canvas primitives, analogous to svg.nas (or the pui2canvas parser). For starters, see: https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Docs/README.xmlpanel https://sourceforge.net/p/flightgear/fgdata/ci/next/tree/Docs/README.minipanel ...
by Hooray
Sat Dec 16, 2017 4:21 pm
 
Forum: Cockpit development
Topic: 2D Panel
Replies: 9
Views: 1356

Re: Canvas G1000

... as long as those are not using any Nasal blobs, but only fgcommands. Torsten's conclusion is in line with my own experiments relating to the "pui2canvas" parser: if people had realized this much earlier, we could have introduced custom fgcommands for all sorts of different purposes (even ...
by Hooray
Tue Nov 21, 2017 7:43 pm
 
Forum: Canvas
Topic: Canvas G1000
Replies: 141
Views: 18656

Re: Banning of Bomber and usairways231 (was Discord).

... I can entirely relate to the key argument some of you have been making (but certainly NOT in the context of Thorsten's quoted comments) - the pui2canvas effort is a much better example, because it's been actively discouraged on the devel list by some of the most senior/active core developers ...
by Hooray
Sun Nov 05, 2017 5:48 pm
 
Forum: Forum
Topic: Banning of Bomber and usairways231 (was Discord).
Replies: 76
Views: 8203

Re: What/Where did you drive today?

Real world vehicles will be added once someone has made a simple GPS model with map like this (so that I can attach to every vehicle :) )

Image
by MMW
Mon Oct 30, 2017 5:27 am
 
Forum: Media
Topic: What/Where did you drive today?
Replies: 182
Views: 38358

Re: Replace default gui dialog with aircraft specific canvas

... popup that is populated with a Layout and layout items (widgets). I am not sure what else is really needed/missing - but when I prototyped the pui2canvas parser, I ended up emulating missing widgets by using a combination of existing widgets. For instance, for any of the PUI list widgets, I ...
by Hooray
Sun Oct 29, 2017 5:20 pm
 
Forum: Canvas
Topic: Replace default gui dialog with aircraft specific canvas one
Replies: 20
Views: 2890

Re: Canvas G1000

... inevitably need support for independent map instances - the current PUI/XML approach is rather inflexible here. As a matter of fact, not even the pui2canvas parser I once prototyped can turn such dialogs into multi-instance dialogs, because they contain numerous hard-coded assumptions. Which is ...
by Hooray
Fri Oct 13, 2017 8:09 pm
 
Forum: Canvas
Topic: Canvas G1000
Replies: 141
Views: 18656

Re: Replace default gui dialog with aircraft specific canvas

... map-canvas.xml: http://wiki.flightgear.org/Howto:Processing_legacy_PUI_dialogs_using_Canvas http://wiki.flightgear.org/images/0/05/Map-canvas-via-pui2canvas.png For testing purposes I was using dialogs with lots of dynamic behavior, i.e. embedded Nasal stuff and update semantics implemented on ...
by Hooray
Wed Oct 11, 2017 8:18 pm
 
Forum: Canvas
Topic: Replace default gui dialog with aircraft specific canvas one
Replies: 20
Views: 2890

Re: Canvas MapLayer for OSM, OpenAIP, VFR Sectionals and oth

... should be some additional configuration for "base" tile maps. Anyway great work for all contributors ! Like I mentioned previously, the pui2canvas parser is a fairly simple piece of Nasal code that started out being under 300 LOC, meanwhile it is roughly twice that - but due to it being ...
by Hooray
Sun Oct 08, 2017 5:08 pm
 
Forum: Canvas
Topic: Canvas MapLayer for OSM, OpenAIP, VFR Sectionals and other
Replies: 10
Views: 2293

Re: Canvas MapLayer for OSM, OpenAIP, VFR Sectionals and oth

... also be straightforward to provide a UI to add/edit and maintain/update entries. Regarding the PUI/Canvas "unification", there is the pui2canvas parser - but for something like the map-canvas.xml dialog, my suggestion would be to create a new Canvas based dialog file from scratch and ...
by Hooray
Mon Oct 02, 2017 5:28 pm
 
Forum: Canvas
Topic: Canvas MapLayer for OSM, OpenAIP, VFR Sectionals and other
Replies: 10
Views: 2293
Next

Return to advanced search