Re: [osg-users] Best Way to Make a Toroid Geode

2015-07-23 Thread Robert Osfield
Hi Erik, On 22 July 2015 at 15:59, Erik Hensens ehens...@hunter.com wrote: Does this mean that I could just use quads, i.e. approximate a circle with a many-sided polygon and make four quads for each polygon side, one for the top surface, one for the outer side surface, one for the inside

Re: [osg-users] Best Way to Make a Toroid Geode

2015-07-22 Thread Erik Hensens
Thanks Robert! Does this mean that I could just use quads, i.e. approximate a circle with a many-sided polygon and make four quads for each polygon side, one for the top surface, one for the outer side surface, one for the inside surface, and one for the bottom surface? That was my first idea

[osg-users] Best Way to Make a Toroid Geode

2015-07-22 Thread Erik Hensens
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

Re: [osg-users] Best Way to Make a Toroid Geode

2015-07-22 Thread Robert Osfield
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 ehens...@hunter.com wrote: Hello all! I'm no OSG expert by any stretch of the