The same result can be achieved if you add this code after the
"vTo"-calculation:
#declare vAxis = vnormalize(vcross(vFrom, vTo));
#declare Angle = acos(vdot(vnormalize(vFrom), vnormalize(vTo)));
#declare RotationAmount = 1.0; // Try other values here (between 0 to 1)
- and then replace this statement:
Reorient_Trans(vFrom, vTo)
- with this one:
Axis_Rotate_Trans(vAxis, degrees(Angle)*RotationAmount)
--
Tor Olav
http://subcube.com