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

Robert Osfield robert.osfield at gmail.com
Wed Jul 22 07:38:22 PDT 2015


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 <ehensens at hunter.com> 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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150722/9853f216/attachment-0003.htm>


More information about the osg-users mailing list