18
$\begingroup$

I need to create an animation demonstrating UV wrapping. I want a rectangular plane to smoothly roll into a pipe (open-ended cylinder), and then the pipe to bend into a torus. How should I approach it? I know I can use Curve Modifier for both transformations, but how do I animate this?

$\endgroup$
25
$\begingroup$

I would probably do this with 2 'Simple Deform' modifiers set to 'Bend' and animate the 'Angle' value for both:

enter image description here

I start off with a subdivided plane (with it's scale and rotation applied: Ctrl+A):

enter image description here

I add a 'Simple Deform' modifier, set it to 'Bend' and set the 'Angle' to '360'. Because the bend isn't going in the right direction I use an empty (Shift+A> Empty), placed at the object's origin, and give it a rotation of 90 degrees on it's 'x' axis. Setting this empty as the 'Simple Deform' 'Origin' corrects the bend orientation:

enter image description here

I then repeat the previous step so the plane now has 2 'Simple Deform' modifiers, and again, add an empty. This time I rotate the empty '90' degrees on it's 'x' axis and '90' on it's 'z' axis.

enter image description here

You can then animate the 'Angle' properties of both 'Simple Deform' modifiers to create the animation by pressing I over the 'Angle' properties at values between '0' and 360', animating the first modifier and then the second.

I also checked 'double sided' on the object data properties for the plane, otherwise the shading will look odd as essentially the mesh is bending into an 'inside-out' position:

enter image description here

If you want to change where the 'seam' of the roll up is you can edit the position of the plane in edit mode relative to the object origin.

Here is the blend file:

$\endgroup$
  • $\begingroup$ Thanks a lot, man. You are a genius. I would never have figured out the Empty rotations. Anyway it works great. $\endgroup$ – O.T.Vinta Oct 10 '15 at 20:25
  • $\begingroup$ If this has solved your problem feel free to mark it as 'accepted'. See: meta.stackexchange.com/questions/5234/… $\endgroup$ – Ray Mairlot Oct 10 '15 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.