forest a écrit :
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
If you have a pipe with straight sections and bends, it's easy to create
cylinders for each straight segment and spheres at the joint points (bends).
If the curve is really a curve, you'll have to do something more complex
depending on your curve equation.
Laurent.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org