20,741
edits
Red Leader (talk | contribs) (Indentation, template) |
No edit summary |
||
| Line 75: | Line 75: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Extending FGCanvasSystemAdapter == | |||
These are already the main building blocks required for loading a 3D model from disk ([[$FG_ROOT]]) and getting an <code>osg::Node*</code> in return. | These are already the main building blocks required for loading a 3D model from disk ([[$FG_ROOT]]) and getting an <code>osg::Node*</code> in return. | ||
Next, we need to add this as a method to FGCanvasSystemAdapter to expose this FlightGear-specific API to the Canvas subsystem living in SimGear: | Next, we need to add this as a method to FGCanvasSystemAdapter to expose this FlightGear-specific API to the Canvas subsystem living in SimGear: | ||