20,741
edits
m (→Approach) |
m (→Approach) |
||
| Line 22: | Line 22: | ||
== Approach == | == Approach == | ||
* We'll be creating a new Canvas Element using the tutorial at [[Canvas Development#Adding_a_new_Element]] | * We'll be extending FGCanvasSystemAdapter to add a new method for loading a 3D model form $FG_ROOT using fgValidatePath() properly | ||
* Next, we'll be creating a new Canvas Element using the tutorial at [[Canvas Development#Adding_a_new_Element]] | |||
* The new element will serve as a container for an [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00618.html Osg::PositionAttitudeTransform] (PAT) for positioning the 3D model | * The new element will serve as a container for an [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00618.html Osg::PositionAttitudeTransform] (PAT) for positioning the 3D model | ||
* as a child node, we'll add an [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00642.html Osg::ProxyNode] | * as a child node, we'll add an [http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00642.html Osg::ProxyNode] | ||