20,741
edits
Line 405: | Line 405: | ||
The FlightGear side of things will need a way to register a new Canvas placement so that orthographic/terrain placements can be implemented. | The FlightGear side of things will need a way to register a new Canvas placement so that orthographic/terrain placements can be implemented. | ||
This will basically require implementing the Canvas::Placement interface, i.e. by looking at $SG_SRC/canvas/CanvasObjectPlacement.?xx | This will basically require implementing the Canvas::Placement interface, i.e. by looking at $SG_SRC/canvas/CanvasObjectPlacement.?xx | ||
In particular, this new placement will need a tuple of lat/lon coordinates, the texture dimensions to use, as well as other placement information affecting the transformation/projection | |||
<syntaxhighlight lang="diff"> | <syntaxhighlight lang="diff"> |