You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Your Name 4d531f8044
first commit
2 years ago
..
configs first commit 2 years ago
doc first commit 2 years ago
ios first commit 2 years ago
qml first commit 2 years ago
CMakeLists.txt first commit 2 years ago
README.md first commit 2 years ago
WindowData.cpp first commit 2 years ago
WindowData.h first commit 2 years ago
applicationcontroller.cpp first commit 2 years ago
applicationcontroller.h first commit 2 years ago
canvasconnection.cpp first commit 2 years ago
canvasconnection.h first commit 2 years ago
canvasdisplay.cpp first commit 2 years ago
canvasdisplay.h first commit 2 years ago
canvasitem.cpp first commit 2 years ago
canvasitem.h first commit 2 years ago
canvaspainteddisplay.cpp first commit 2 years ago
canvaspainteddisplay.h first commit 2 years ago
canvastreemodel.cpp first commit 2 years ago
canvastreemodel.h first commit 2 years ago
elementdatamodel.cpp first commit 2 years ago
elementdatamodel.h first commit 2 years ago
fgcanvas.pro first commit 2 years ago
fgcanvaselement.cpp first commit 2 years ago
fgcanvaselement.h first commit 2 years ago
fgcanvasgroup.cpp first commit 2 years ago
fgcanvasgroup.h first commit 2 years ago
fgcanvaspaintcontext.cpp first commit 2 years ago
fgcanvaspaintcontext.h first commit 2 years ago
fgcanvaspath.cpp first commit 2 years ago
fgcanvaspath.h first commit 2 years ago
fgcanvastext.cpp first commit 2 years ago
fgcanvastext.h first commit 2 years ago
fgqcanvas_resources.qrc first commit 2 years ago
fgqcanvasfontcache.cpp first commit 2 years ago
fgqcanvasfontcache.h first commit 2 years ago
fgqcanvasimage.cpp first commit 2 years ago
fgqcanvasimage.h first commit 2 years ago
fgqcanvasimageloader.cpp first commit 2 years ago
fgqcanvasimageloader.h first commit 2 years ago
fgqcanvasmap.cpp first commit 2 years ago
fgqcanvasmap.h first commit 2 years ago
jsonutils.cpp first commit 2 years ago
jsonutils.h first commit 2 years ago
localprop.cpp first commit 2 years ago
localprop.h first commit 2 years ago
main.cpp first commit 2 years ago

README.md

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!