Hi forest, I have done this several times in order to simulate springs. If you have the 3D trajectory, you will also have or you can compute the tangent vector (the one that follows it). For every point in the trajectory, you place a point "r" units away from it and in a perpendicular direction from the tangent. Then you can rotate that point about the tangent axis in order to get the rest of the points of the ring. You can repeat this procedure as many times as rings you want.
But now that I realize, maybe that feature is already implemented in osgModeling by Wang Rui (http://code.google.com/p/osgmodeling/) Regards, Alberto El Viernes 26 Junio 2009ES 08:05:52 forest escribió: > hi all, > I know this problem is not so related to OSG, but there is no better > place I can find. What I want to draw is to draw a three-dimensional pipe > from a 3d curve with a given radius.The "pipe" I mean is alike a > cylinder,but it is bent. any ideas? thanks in advance. > best regards > forest _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

