8
$\begingroup$

I'm attempting to create a cubes wallpaper with an array of cube objects with different Z-offsets, where I can control the offset of each cube with a texture (height map) to get a more organic look (instead of randomizing the offsets, or moving the cubes manually).

At first, I added two array modifiers to a cube (along the X and Y axis), then applied the modifiers and separated the cubes so I can offset them individually (manually, or by a random transform). This had the downside that I needed to apply the modifiers (I'd rather work in a non-destructive way) and cannot get that organic look.

Next thing I tried is to create just a plane, and use a particle system to generate the cube particle instances in a grid pattern. For the offset, I used a copy of the plane with a Displace modifier backed by a texture underneath, with a sticky surface and high friction.

enter image description here

When stopping the simulation at the time the cube particles hit the displaced plane, it looks like what I was trying to acomplish:

enter image description here

At that time, some of the cubes already began to slide off the surface.

Now to my question: is there another way to get that look by using a cube, array modifiers, and some other modifier to displace just the cube location (not the actual cubes) along the Z-axis?

$\endgroup$
1
  • 2
    $\begingroup$ i don't know whether you ever had a look at geometry nodes...but it is worth a look. And this is a typical case for geometry nodes. You would have all the control in your hands and it is non destructive. $\endgroup$
    – Chris
    Jan 13, 2022 at 15:21

2 Answers 2

8
$\begingroup$

So IF (i hope you are) you are interested in a geometry nodes solution:

here is the node setup:

enter image description here

Result:

enter image description here

or with a noise texture instead of a wave texture:

enter image description here

or voronoi:

enter image description here

$\endgroup$
4
  • $\begingroup$ Of course I'm interested in geometry nodes! (started learning Blender just a couple of weeks ago, but haven't explored that part yet). Thanks a lot for the node setup! $\endgroup$ Jan 13, 2022 at 15:46
  • $\begingroup$ You are welcome! $\endgroup$
    – Chris
    Jan 13, 2022 at 16:08
  • $\begingroup$ i think i used blender 3.0 or 3.1 to that time. So sorry, but some nodes are not in Blender 2.93 $\endgroup$
    – Chris
    Feb 4, 2022 at 11:35
  • $\begingroup$ I'm using Blender 3.0, only the "Scene Time" not was not available, but I actually do not use it anyway. $\endgroup$ Feb 4, 2022 at 11:41
5
$\begingroup$

You can subdivide a plane in Edit Mode, or by a Subdivision Surface modifier in Simple mode, then displace, then parent a cube to it, and in the plane's Object Properties > Instancing > Vertices. Scale the cube down in Edit Mode, so it fits.

$\endgroup$
1
  • $\begingroup$ Another neat solution, thanks! $\endgroup$ Jan 14, 2022 at 14:25

You must log in to answer this question.

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