hi lucie, I had tied to use osgModeling to draw a curve 3D pipe. You can use "Loft" with a self-defined function callback of making cycle profile. this way works ok in most times, but when coordinations is very large ,but the distance is very little( some times occur in geocentric coordination) eg. p1= p1 ( 20000000,20000000,20000000) and p2 = ( 20000001,20000001,20000001). the geometry been created is wrong. to solve this problem,you can make a local TransformMatrix to reduce the coordination value
another way to draw a 3D curved pipe is draw a cylinder between each two points on the curve. the drawback is the "curve" is not consequent on the vector On Wed, Dec 22, 2010 at 10:42 PM, lucie lemonnier <lucielemonn...@hotmail.fr > wrote: > Hi, > > I want to draw a 3D curved pipe from a list of points. > I looked at osgModeling but I don't know how to do this. > Would you have an idea using osgModeling or something else? > > Thank you! > > Cheers, > lucie > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=35083#35083 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org