0
$\begingroup$

Inverse opal structure created from a pack  of spheres

Hello, I want to create an inverse opal structure using Blender similar to the one posted here and put some nanoparticles inside. Any help would be appreciated.

$\endgroup$
1
  • $\begingroup$ but i am still not sure why my picture is still looking pretty different to your image - aren't the "holes" in the structure not perfect spheres? $\endgroup$
    – Chris
    Commented Dec 22, 2022 at 3:36

1 Answer 1

0
$\begingroup$

you could use geometry nodes for this:

enter image description here

be careful: GN needs some time to calculate the boolean result, so be patient.

result:

enter image description here

enter image description here

NOTE: i started with a cube of these dimensions:

enter image description here

result, if you put 0.5 in z translation of transform geometry:

enter image description here


update: now with inner sphere:

enter image description here

enter image description here


Update 2: of course Vklidu's idea was way better in performance than mine, so if you do the boolean mesh before, it's much quicker:

enter image description here

enter image description here

$\endgroup$
4
  • $\begingroup$ Thanks so much Chris. I will give it a shot :) $\endgroup$ Commented Dec 21, 2022 at 20:12
  • 1
    $\begingroup$ @Chris Crossed in time&space :) BTW since boolean operation. is slow I wanted to switch order to boolean Sphere from Cube and instance on a Grid, that was way faster, but since OP-reference is cut at specific place it required one more boolean at the end - so it didn't avoid heavy boolean math ... hm $\endgroup$
    – vklidu
    Commented Dec 21, 2022 at 20:55
  • $\begingroup$ Any idea how to add spherical particles inside? $\endgroup$ Commented Dec 21, 2022 at 23:29
  • $\begingroup$ i updated my answer $\endgroup$
    – Chris
    Commented Dec 22, 2022 at 5:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .