Hi people,

Is it possible to make a perfect cube out of random-sized litlle boxes? In other words, splitting an 8 width in 8 different random values thanks to a kind of “value spectral divide”?..

Thanx very much nervvvvs!

Cheerz,

Ar

Hi people,

Is it possible to make a perfect cube out of random-sized litlle boxes? In other words, splitting an 8 width in 8 different random values thanks to a kind of “value spectral divide”?..

Thanx very much nervvvvs!

Cheerz,

Ar

Hey West,

Thanx a lot, this is a very good starting point to set boxes size! For now I have to find a way to place thoses boxes one after another to form the cube… doesn’t sound to be so difficult.

Thanx again!!!

Alecz

Hi again!

Well… it isn’t as easy as I thought…

Setting boxes size is done (thanks to West) but now, I need to add slices together on this pattern: slice 0+1, then 0+1+2, then 0+1+2+3 … 0+1+2+3+4+5+6+7 and returns sums as a spread.

I tried with Expr but it doesn’t seem to work with slice index.

I’ll try to post my basic patch tomorrow (too tired right now!)

Cheers,

aR

don’t know if i understand your problem correctly, but maybe give it a try…

couldalsowork.v4p (8.4 kB)

Hi rrrr,

Cool! That’s it! I tried with I (spread) and CAR but forgot the second I…

Thanks a lot!

Take care,

Alecz

… maybe I’ll need help again later… **^^**°

this pattern: slice 0+1, then 0+1+2, then 0+1+2+3 …

0+1+2+3+4+5+6+7 and returns sums as a spread.

That is what the intergral (spread) node does.

Yes, I saw it but I actually need to add the index table to itself with an offset. May be I’m not clear enough, so here is my rough patch.

Anyway, it’s pretty quick with CDR…

shouldwork.v4p (20.1 kB)

Yop,

Here is the result… I wanted to make a whole cube but it’s pretty hard to create one out of random spreads with cross (3D), so here is the patch for only one dimension.

If someone has a trick to do the same thing on 3 dimensions, I’m ready to buy!

Cheerz and thanx again to West and rrrr.

Alecz

RandomSizedBoxes.rar (6.3 kB)