Howto:Extending Canvas to support rendering 3D models: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
== Approach ==
== Approach ==


* We'll be creating a new Canvas Element using the tutorial at [[Canvas Development]]
* 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] 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] 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]

Navigation menu