sghr / iGeo

iGeo: Computational Design and 3D Modeling Library for Processing

Home Page:http://igeo.jp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ILoft/ISurface control points

liuzmm opened this issue · comments

I have five ICurves and I'm using them to generate a surface with ILoft. The surface I get isn't able to approximate the curves as I need, it seems like a Rhino Loose Loft, so I was wondering if it's possible to get the same result of Rhino Normal Loft, with the surface passing through the curves in their exact position.
I tried also to use ICurve control points to create an ISurface with a bidimensional array IVec [][], but I get the same result. Is there a way to generate the surface that I need?
I tried to increase the degree in both the methods, but the best surface I'm able to draw was with degree 2 in both directions.
Another doubt is if there is a function to adjust curve seam.
Thanks in advance for your kind help!

The current implementation of loft simply use control points of input curves as control points of generated surface. To have lofted surface follow the input curves, something similar to NURBS curve definition by edit points not by control points needs to happen. Currently iGeo stays simple and doesn't have those algorithms.