Canvas news: Difference between revisions

Jump to navigation Jump to search
1,485 bytes added ,  7 July 2017
Line 46: Line 46:
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>
A number of contributors expressed concerns regarding the performance of the Canvas system when it comes to implementing sophisticated avoinics like G1000-style systems. However, the fact that there are people who code canvas like there's no tomorrow and update 10 elements where an update of the group position would do the trick at a fraction of the cost doesn't mean that canvas or Nasal are slow - it means inefficient code is slow, and that's just as true for C++. Nasal as such is fast, and compared with the cost of rendering the terrain, rendering a canvas display is fast on the GPU (you can test by rendering but not updating a canvas display), and unless you're doing something very inefficient, calculating a display but not writing it to the property tree is fast (you can test this by disabling the write commands). It's the property I/O which you need to structure well, and then canvas will run fast. And of course the complexity of your underlying simulation costs - if you run a thermal model underneath to get real temperature reading, it costs more than inventing the numbers. But that has nothing to do with canvas.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/35926343/
  |title  =  <nowiki> Re: [Flightgear-devel] RFD: FlightGear and the changing state of
air navigation </nowiki>
  |author =  <nowiki> Thorsten Renk </nowiki>
  |date  =  Jul 4th, 2017
  |added  =  Jul 4th, 2017
  |script_version = 0.40
  }}</ref>


For starters, Stuart is hoping to to optimize the property access and become more familiar with the Canvas C++ code so that he can help bridge the cap between core and Canvas client developers.  He thinks James has some thoughts on the Canvas C++, so he'll want to coordinate with him as well.<ref>{{cite web
For starters, Stuart is hoping to to optimize the property access and become more familiar with the Canvas C++ code so that he can help bridge the cap between core and Canvas client developers.  He thinks James has some thoughts on the Canvas C++, so he'll want to coordinate with him as well.<ref>{{cite web

Navigation menu