OK, thanks Nick for the explanation & suggestion. At first I started adding the 
geometry to a geode separately but I would like to add the entire arrow to the 
geode instead of adding the two parts. I mean somethig like that:

osg::Geode g;
g->addDrawable(createArrow());

osg::Geometry* createArrow()
{
   // here use createPyramid() and then add the line
}

Is it possible? I dont like to do as follows:

osg::Geode g;
g->addDrawable(createPyramid());
g->addDrawable(createLine());

I mean, I would like to create the arrow as a single geometry but calling the 
createPyramid() method.

Regards
Gianni

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29328#29328





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to