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

Jump to navigation Jump to search
m
m (sp)
Line 23: Line 23:


* We'll be creating a new Canvas Element using the tutorial at [[Canvas Development#Adding_a_new_Element]]
* 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] (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]
* the new Canvas element will be monitoring the property tree for '''filename''' events and update the file name accordingly.
* the new Canvas element will be monitoring the property tree for '''filename''' events and update the file name accordingly.

Navigation menu