Canvas tile element: Difference between revisions

Jump to navigation Jump to search
m
→‎Integrating Atlas: https://forum.flightgear.org/viewtopic.php?f=31&t=21972&p=203544#p203544
m (→‎Integrating Atlas: https://forum.flightgear.org/viewtopic.php?f=31&t=21972&p=203544#p203544)
Line 43: Line 43:
== Integrating Atlas ==
== Integrating Atlas ==
{{Note|Also note that, while atlas may seem huge/complex and archaic, all that is needed is porting Map.cxx - which is really just 600 lines of self-contained C++ code, because it's a standalone executable - and it deals with all the parsing/scenery processing using atlas APIs, so given that it's designed to run in a separate process, it could also easily run outside the fgfs main loop, i.e. as part of an OSG ReaderWriter plugin, at which point it would become trivial to also support BTG files at the canvas/image level, because the plugin would process the BTG files using Map.cxx: https://sourceforge.net/p/atlas/hgcode/ci/default/tree/src/Map.cxx
{{Note|Also note that, while atlas may seem huge/complex and archaic, all that is needed is porting Map.cxx - which is really just 600 lines of self-contained C++ code, because it's a standalone executable - and it deals with all the parsing/scenery processing using atlas APIs, so given that it's designed to run in a separate process, it could also easily run outside the fgfs main loop, i.e. as part of an OSG ReaderWriter plugin, at which point it would become trivial to also support BTG files at the canvas/image level, because the plugin would process the BTG files using Map.cxx: https://sourceforge.net/p/atlas/hgcode/ci/default/tree/src/Map.cxx
'''This would also mean that Phi could use at atlas/map based back-end for the creation of maps based on actual FlightGear scenery, as per Torsten's original idea.'''
'''This would also mean that Phi could use at atlas/map based back-end for the creation of maps based on actual FlightGear scenery, as per Torsten's original idea.<ref>https://forum.flightgear.org/viewtopic.php?f=31&t=21972&p=203544#p203544</ref>'''
}}
}}


Navigation menu