1
0
Fork 0
flightgear/utils/fgqcanvas
2017-11-05 13:49:33 +00:00
..
ios Qt-based remote canvas application. 2016-12-17 14:24:28 +00:00
qml Text alignment support mostly working 2017-11-05 13:37:38 +00:00
applicationcontroller.cpp Starting work on snapshots. 2017-11-05 13:21:28 +00:00
applicationcontroller.h Starting work on snapshots. 2017-11-05 13:21:28 +00:00
canvasconnection.cpp Fix canvas sizing + scaling 2017-11-04 10:09:08 +00:00
canvasconnection.h Fix canvas sizing + scaling 2017-11-04 10:09:08 +00:00
canvasdisplay.cpp Fix canvas sizing + scaling 2017-11-04 10:09:08 +00:00
canvasdisplay.h Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
canvasitem.cpp WIP on clipping working 2017-11-05 13:49:33 +00:00
canvasitem.h WIP on clipping working 2017-11-05 13:49:33 +00:00
canvastreemodel.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
canvastreemodel.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
CMakeLists.txt Render text in Quick directly. 2017-11-05 13:46:52 +00:00
elementdatamodel.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
elementdatamodel.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvas.pro Render text in Quick directly. 2017-11-05 13:46:52 +00:00
fgcanvaselement.cpp WIP on clipping working 2017-11-05 13:49:33 +00:00
fgcanvaselement.h Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
fgcanvasgroup.cpp Fix canvas sizing + scaling 2017-11-04 10:09:08 +00:00
fgcanvasgroup.h Fix canvas sizing + scaling 2017-11-04 10:09:08 +00:00
fgcanvaspaintcontext.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvaspaintcontext.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvaspath.cpp WIP on clipping working 2017-11-05 13:49:33 +00:00
fgcanvaspath.h Migrate to a pure Quick-renderer solution, and QQ UI 2017-11-02 17:21:27 +00:00
fgcanvastext.cpp Render text in Quick directly. 2017-11-05 13:46:52 +00:00
fgcanvastext.h Render text in Quick directly. 2017-11-05 13:46:52 +00:00
fgcanvaswidget.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgcanvaswidget.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgqcanvas_resources.qrc Migrate to a pure Quick-renderer solution, and QQ UI 2017-11-02 17:21:27 +00:00
fgqcanvasfontcache.cpp Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
fgqcanvasfontcache.h Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
fgqcanvasimage.cpp Fix image rendering, somewhat. 2017-11-05 13:47:15 +00:00
fgqcanvasimage.h Better image support in Quick-remote-canvas 2017-11-05 13:37:20 +00:00
fgqcanvasimageloader.cpp Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
fgqcanvasimageloader.h Remote-canvas Image and font caches working again 2017-11-04 10:09:08 +00:00
fgqcanvasmap.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
fgqcanvasmap.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
localprop.cpp QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
localprop.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
main.cpp Render text in Quick directly. 2017-11-05 13:46:52 +00:00
README.md Let CMake install fgqcanvas 2017-01-26 15:16:21 +01:00
root.qml QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
temporarywidget.cpp Render text in Quick directly. 2017-11-05 13:46:52 +00:00
temporarywidget.h QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00
temporarywidget.ui QtQuick-based rendering for remote canvas 2017-10-29 16:44:32 +00:00

FGQCanvas

A Qt-based remote canvas application for FlightGear. This app can connect to a FlightGear instance which has the built-in HTTPD server enabled and display any canvas in real-time.

Usage

Start FlightGear with the '--httpd' option, passing a port number. This can be done in the 'additional options' box if using the launcher.

  • --httpd=8080

Start FGQCanvas and enter the WebSocket url, with a suitable host-name and port. Provide the path to the Canvas you want to display (this part will become smarter in the future!)

Examples URLs:

  • ws://localhost:8080/PropertyTreeMirror
  • ws://mycomputer.local:8001/PropertyTreeMirror

Example Canvas path:

  • /canvas/by-index/texture[0]/

Limitations

  • Clipping is still being worked on
  • Fonts are not loaded from the host instance yet
  • Image loading is still being worked on, no support for remote image loading yet.
  • Performance is mediocre due to proof-of-concept implementation
  • No input event support yet

Future plans

  • Finish image, clip and font loading
  • Switch to OpenGL rendering
  • Support event-input to the Canvas
  • Rewrite to use Skia

Questions / support

Ask on the developer mailing list!