enter image description here

what i am trying to do is an animation exactly like the shown above, which is captured from youtube. for the sake of simplicity let's talk about the far left split cube.

so as little as i know i thought so far the only way to do it, preferably in python, is to successively add and apply a boolean modifier in difference operation with object set to the sphere, after that adding a shape key to allow me to keyframe the cube's mesh shape, meanwhile changing sphere's location in this direction in small increments, and repeat. to put it clear all of that successively in each iteration of a for loop.

so here is the problem, applying a modifier for a shape keyed object is not even supported in blender. moreover i intend to use this in a far more complex animation, and i am not sure will that be reliable, or will it freeze when i execute that script?

so i wonder what is the best way to do it, and how is it made in this video?

  • $\begingroup$ Shapekeys work on objects with unchanged geometry, I would suggest using an object on another layer that will have a shape of the sphere and a cylinder to do a boolean operation. $\endgroup$
    – Denis
    May 11 '17 at 18:41
  • $\begingroup$ thanks for your suggestion. the point is, as i said, i intend to make a more complicated, even though similar animation. and it will be a long detailed curve $\endgroup$
    – user8844
    May 11 '17 at 19:22

I think this would probably be a lot easier if you made a dummy object used as subtraction for the Boolean Operation.

Just model a pill-like cylinder object ending in a spherical cap, possibly starting from a UV sphere, then use that in the Boolean operation.

enter image description here

You can then hide it, make it unrenderable, possibly even parented to the real sphere, and use it instead as the Boolean operand, and it should easily simulate the desired effect.

enter image description here

  • $\begingroup$ first of all thanks for your time. but i intend to make a kind of similar animation, but with a detailed curve $\endgroup$
    – user8844
    May 11 '17 at 19:17
  • $\begingroup$ @user8844 its exactly the same, just add more geometry to a dummy object and make it follow the curve. $\endgroup$
    – Denis
    May 11 '17 at 19:24
  • $\begingroup$ i just tried it before i just read your comment, and yeah it worked! thanks, i appreciate your help $\endgroup$
    – user8844
    May 11 '17 at 19:34
  • $\begingroup$ Brilliant suggestion. I must borrow this technique. :) $\endgroup$ Oct 21 '19 at 15:11
  • $\begingroup$ really good idea! $\endgroup$
    – Chris
    May 13 at 20:02

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.