Board index FlightGear Development Canvas

Drawing circles on scenery

Canvas is FlightGear's new fully scriptable 2D drawing system that will allow you to easily create new instruments, HUDs and even GUI dialogs and custom GUI widgets, without having to write C++ code and without having to rebuild FlightGear.

Drawing circles on scenery

Postby Flightquestion12345 » Sun Jul 11, 2021 4:18 pm

Im trying to use flightgear to visualize a navigation tool. I would like to send a number of lla positions over udp and draw colored circles at the location is there an easy way to this.
Flightquestion12345
 
Posts: 1
Joined: Sun Jul 11, 2021 4:13 pm

Re: Drawing circles on scenery

Postby Johan G » Tue Jul 13, 2021 1:26 pm

Not likely in an easy way. There are several ways you could possibly do that, but they all would require a bit of work.

  • You could download satellite imagery and draw the circles on that.
  • You could make a scenario and scale and place a 3D model with a circle.
  • You could possibly make plane surface 3D model and draw on it using Canvas.

There probably are more ways as well.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Drawing circles on scenery

Postby Hooray » Tue Jul 13, 2021 2:02 pm

You can use a Canvas HUD.
If in doubt, search the forum for canvas + hud + projection
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU


Return to Canvas

Who is online

Users browsing this forum: No registered users and 3 guests