| 1 | # FGQCanvas |
| 2 | |
| 3 | A Qt-based remote canvas application for FlightGear. This app can connect to |
| 4 | a FlightGear instance which has the built-in HTTPD server enabled and display |
| 5 | any canvas in real-time. |
| 6 | |
| 7 | ## Usage |
| 8 | |
| 9 | Start FlightGear with the '--httpd' option, passing a port number. This can be |
| 10 | done in the 'additional options' box if using the launcher. |
| 11 | |
| 12 | * `--httpd=8080` |
| 13 | |
| 14 | Start FGQCanvas and enter the WebSocket url, with a suitable host-name and port. |
| 15 | Provide the path to the Canvas you want to display (this part will become |
| 16 | smarter in the future!) |
| 17 | |
| 18 | Examples URLs: |
| 19 | |
| 20 | * `ws://localhost:8080/PropertyTreeMirror` |
| 21 | * `ws://mycomputer.local:8001/PropertyTreeMirror` |
| 22 | |
| 23 | Example Canvas path: |
| 24 | |
| 25 | * `/canvas/by-index/texture[0]/` |
| 26 | |
| 27 | ## Limitations |
| 28 | |
| 29 | * Clipping is still being worked on |
| 30 | * Fonts are not loaded from the host instance yet |
| 31 | * Image loading is still being worked on, no support for remote image loading |
| 32 | yet. |
| 33 | * Performance is mediocre due to proof-of-concept implementation |
| 34 | * No input event support yet |
| 35 | |
| 36 | ## Future plans |
| 37 | |
| 38 | * Finish image, clip and font loading |
| 39 | * Switch to OpenGL rendering |
| 40 | * Support event-input to the Canvas |
| 41 | * Rewrite to use [Skia](http://skia.org) |
| 42 | |
| 43 | ## Questions / support |
| 44 | |
| 45 | Ask on the developer mailing list! |