How Is the Deformation Computed ?
The following diagrams will help you understand how the deformation is computed in relation to the entered data, i.e. reference/target curves and possible spine.
3D view, where:
r1, r2 are the reference curves
t1, t2 are the target curves
P is a plane normal to the spine
Planar view, where:
Ir1: is the intersection between P and r1
Ir2: is the intersection between P and r2
It1: is the intersection between P and t1
It2: is the intersection between P and t2
The deformation is computed in each plane P, normal to the spine. By default the spine is the first reference curve, but you can select a new spine using the Spine field in the Reference tab.
In each plane P, the system computes the intersection between the plane and each curve.
A curve (Cr) is created between the first intersection point (Ir1) and the last intersection point (Irn) on reference curves, passing through all the intersection points between these two.
Similarly, a curve (Ct) is created passing through all the intersections points between the first (It1) and the last intersection point (Itn) on target curves.
Then, for each point Q, resulting from the intersection of the surface to be deformed with the plane, Q is projected onto the curve Cr according to the projection direction (dir). This projection direction is the vectorial product of: vector(lspine, lr2) ^ vector normal to P.
The result of the projection of point Q is the point Qr, which parameter on Cr is v.
Similarly, a point Qt is created on the curve Ct, with the same v parameter as point Qr on curve Cr .
Then Qd, that is the transformation of point Q according to the wrap curve deformation, is obtained by adding: Q+vector(Qr,Qt)作者: addme 时间: 2004-6-9 18:37
第二张图