Frequently asked questions: Difference between revisions

Jump to navigation Jump to search
Line 261: Line 261:
   |script_version = 0.37  
   |script_version = 0.37  
   }}</ref>
   }}</ref>
the data is parsed from the XML into dynamic look up tables (IE. STL).  The only resources used beyond that needed to make the FDM function is the overhead of pulling the data out of the XML into memory.  That would have to happen no matter what form the data was in.
Although there may be better ways to store the data than XML if you are unconcerned about human interaction with the data.  I think that making the data human readable/editable is the main point of using XML.  It may be overly verbose but it works and there are standard libraries for reading/parsing XML files so this makes using it for data input fairly simple.  This benefits both FlightGear and JSBSim in terms of limiting the complexity of handling configuration data.  In addition there are a limited number of standardied formats for this type of thing such as JSON and all of those that are human readable/editable have many of the same issues as XML.
Full function FDMs are complex and understanding the XML used to configure a complex FDM is a very minor issue and anyone who actually understands a full function FDM will have very few issues with the XML part of this.<ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=217408#p217408
  |title  =  <nowiki> Re: Encrypted aircraft dynamics </nowiki>
  |author =  <nowiki> hvengel </nowiki>
  |date  =  Aug 28th, 2014
  |added  =  Aug 28th, 2014
  |script_version = 0.37
  }}</ref>


FG itself is OpenSource, so whatever protection scheme we may code in, anyone is free to remove (and that's quite legal). It'd be a no-brainer to generate a no-copyright-protection version of FG and distribute it on which your content just runs without the key (or whatever). Given that people usually succeed in cracking DRM schemes in the absence of an open source code, trying to do this with the source code open for anyone seems just a waste of time. Second, whatever format OSG reads, before it arrives at the renderer, it's bound to be an array of vertices. The renderer needs this, there's no decryption at the GLSL stage. So chances are that since we run on *Open*GL, again anyone who really wants can write out an unencrypted format.<ref>{{cite web
FG itself is OpenSource, so whatever protection scheme we may code in, anyone is free to remove (and that's quite legal). It'd be a no-brainer to generate a no-copyright-protection version of FG and distribute it on which your content just runs without the key (or whatever). Given that people usually succeed in cracking DRM schemes in the absence of an open source code, trying to do this with the source code open for anyone seems just a waste of time. Second, whatever format OSG reads, before it arrives at the renderer, it's bound to be an array of vertices. The renderer needs this, there's no decryption at the GLSL stage. So chances are that since we run on *Open*GL, again anyone who really wants can write out an unencrypted format.<ref>{{cite web

Navigation menu