Saturday, January 9, 2016

Voxel Blob Script

So amidst my playing I invented a new tool/script that makes... uuhhh voxel blobs??

LOOK AT THIS.


Tears of joy. Look I can make it bigger too:


IT'S BEAUTIFUL. ABSOLUTELY B. E. A. U. TIFUL.

I should've called it the "Voxel Le bœuf haché" or "The Thing". I think those both might be french for "awesome". You should really google it.

Anyway, fancy french names aside, this thing is actually pretty cool. With some tweaking, I could get some interesting behavior manifest.

Here's some more pics. The script not only allows one to determine cube quantity, but also cube size. Here's such:


And then I wanted MORE cubes...


Then I wanted MOREEE... I WANT ONE THOUSAND CUBES!


Minecraft minecraft minecraft. This is starting to look explorable.


With enough of these, this could make a giant, weird, voxel planet, or an asteroid, or maybe even a weird explorable tree. I think giant explorable trees like this would be pretty cool.

Speaking of explorability, I got curious, so I went ahead and loaded this script into my Firstperson.blend file and made myself happy.


 
There's me peering over my beautiful creation.

With a bit of tweaking, I could create some interesting behaviour like a funnel effect, or maybe even a weird landscape, or a lot of other things that would look visually amazing, but be really really hard to explain verbally. (Cubescapes, that's what we call em!)

Here a link to my code:

Voxel Machine Link

Just plug that into the python interpreter, (or the text editor) and use it with;

cubob(quantity,size)

Quantity refers to the quantity of cubes desired, while size refers to the desired size of the cubes.

For example:

cubob(200,0.7)

And that is all. I'll probably add a new behaviour to these cubes so they do something cool.

Stay tuned for more beauty and voxels!!

No comments:

Post a Comment