14
$\begingroup$

I have modelled a digestive system. I have to animate the food movement inside the gastrointestinal tract. I have learned to do it with lattice modifier from another post. I have done it for the food pipe. When I tried to apply same for the intestines the animation is somewhat messed. I created intestine, made a bezier curve in the shape of intestine and created lattice to deform the intestine. When I made the lattice to follow the path of the curve the deformation occurs but the other parts of the intestine are also affected by the lattice which makes the animation so messed up. Please help me get a clear animation of material through the intestine...I have attached a gif of the animation which I got...enter image description here

$\endgroup$
17
$\begingroup$

When using lattices, it's quite important to keep the outside undeformed where necessary. Ideally two rows of verts, not one. If you don't, the deformation will extend to infinity and beyond.

bellydancing noodles

As you can see, the left lattice still deforms both cylinders.

The selected cylinder is almost but not completely untouched. Two rows are bullet proof though.

Hm, the end of that animation should yield interesting results.

salad, err lattice, err wat?

$\endgroup$
  • $\begingroup$ One is glad to be of service $\endgroup$ – Haunt_House Nov 22 '18 at 13:53
  • 5
    $\begingroup$ @AravindS On Stack Exchange, the way you say "this answer worked" is to click the green tick beside the answer (scroll up a little and you'll find it!). $\endgroup$ – wizzwizz4 Nov 22 '18 at 17:18
9
$\begingroup$

For the animation you're trying to do right now, maybe the Cast modifier would make it easier:

  • Create an empty.
  • Give your bowel a Cast modifier, with the empty as the Object. Put it above the Subdivision Surface modifier.
  • Play with the different factors of the modifier so that it has the shape and influence you want.
  • You can even create a second empty with a negative Factor if you want your bowel to contract (it doesn't seem like you need it this time though).
  • Move your empty along the bowel (the easiest way is to make it follow a curve).

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Wow....So Simple...Thank you sir!! I'll use this for small intestine....;) $\endgroup$ – Aravind S Nov 22 '18 at 15:19

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.