Hi Erik, The way to create such a geometry would be to create the vertex and primitive data directly and place them in an osg::Geometry. See the osggeometry example.
Robert. On 22 July 2015 at 15:29, Erik Hensens <[email protected]> wrote: > Hello all! > > I'm no OSG expert by any stretch of the imagination, so maybe this > question has a really simple answer. If so, I apologize. > > What is the best/proper way to construct a geode in the shape of a toroid? > In particular, I'm trying to create a square-toroid, think of a pipe: a > cylinder with a cylindrical hole through it. See the following Wikipedia > image to get an idea of the shape I need to create: > > https://upload.wikimedia.org/wikipedia/commons/9/9f/Toroid_by_Zureks.svg > > Thanks in advance for any help! > > Erik > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=64426#64426 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

