0
$\begingroup$

I've an .stl file of a cube of a porous material. The material is basically many overlapping spheres. Since I imported it as an .stl file, it is one object to blender.

I want to have an animation, that clips through the material. Can anyone help?

I tried using outside lamps and camera clip, but then the inside is not illuminated. Also, once a sphere is "cut open" by the clipping, you can see through it. I don't want that. Solidify doesn't do the job, because the spheres have different radi.

I also tried using a mixed shader with emission/diffuse and light path, so the spheres would illumiate each other, but that doesn't work, because the whole strucutre is one object to blender.
enter image description here

$\endgroup$
  • 1
    $\begingroup$ Have you tried using boolean operations? $\endgroup$ – Sebastián Mestre Jun 8 '17 at 10:24
  • $\begingroup$ @SebastiánMestre How are boolean operations going to help? $\endgroup$ – FStruck Jun 8 '17 at 13:07
  • $\begingroup$ @FStruck can you post a picture of your object? I'm having a hard time visualizing what you are working with. I assume you are using cycles? $\endgroup$ – David Jun 8 '17 at 14:09
  • $\begingroup$ @David just added a picture. I'll use whatever render engine will give me the desired results. I tried it with cycles so far. $\endgroup$ – FStruck Jun 8 '17 at 14:18
  • $\begingroup$ @FStruck is this what you are trying to do? $\endgroup$ – David Jun 8 '17 at 14:25
4
$\begingroup$

You will want to use a boolean modifier. Start by adding a cube that overlaps with your object. Select your object, go to the modifiers tab, and add a boolean modifier. Set the target object to be your cube, and select 'difference' as your operation.

Before modifier:

enter image description here

After modifier:

In this screen shot I've set the cube draw type to wire so you can see what the modifier does. You could simply move the cube to a different layer.

enter image description here

$\endgroup$

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.