HOME | DD

IamZandar — Hilbert Cube In Blender

Published: 2015-01-26 01:39:43 +0000 UTC; Views: 2127; Favourites: 17; Downloads: 13
Redirect to original
Description An example of a model not possible to create without complex formule.  This is the Hilbert curve made with a Python function from C code.  This is a model of impossible complexity on the inside, and not to be made by hand.  At least not to my ability.  So I turn to the power of Python, and math formule for answer in Blender.  There is many thousands of polygons, but Blender still did not fail! Render with Cycles.
Related content
Comments: 31

M4R7lN [2016-03-24 10:15:08 +0000 UTC]

Nice !
Did you even try placing the camera inside ?
And giving it a glossy material ?
This could give interesting perspectives and surprising effects !

👍: 0 ⏩: 1

IamZandar In reply to M4R7lN [2016-04-16 23:23:42 +0000 UTC]

I will have to try.  There is not room inside for camera.  The cube is full of the maze shapes.

👍: 0 ⏩: 0

JenniNexus [2015-04-10 22:05:44 +0000 UTC]

awesome!

👍: 0 ⏩: 1

IamZandar In reply to JenniNexus [2015-04-12 00:14:06 +0000 UTC]

Merci!

👍: 0 ⏩: 0

Luftbauch [2015-01-29 19:29:09 +0000 UTC]

Borgs are Real!
Nice ^^

👍: 0 ⏩: 1

IamZandar In reply to Luftbauch [2015-01-30 03:15:20 +0000 UTC]

Merci!  

👍: 0 ⏩: 0

purbosky [2015-01-26 21:36:28 +0000 UTC]

This would make a good base for Borg cube model

👍: 0 ⏩: 1

IamZandar In reply to purbosky [2015-01-26 22:32:17 +0000 UTC]

Oui, the Star Trek no?  I was thinking about that too.

👍: 0 ⏩: 1

purbosky In reply to IamZandar [2015-01-26 23:58:06 +0000 UTC]

Yup!

👍: 0 ⏩: 0

nnq2603 [2015-01-26 13:35:17 +0000 UTC]

They also use Hilbert curve for rendering bucket path in many render engine...

👍: 0 ⏩: 1

IamZandar In reply to nnq2603 [2015-01-26 22:31:10 +0000 UTC]

Oui, a 2D Hilbert path.  Very interesting.

👍: 0 ⏩: 0

Mann-of-LaMancha [2015-01-26 02:42:20 +0000 UTC]

A pretty intense model.

👍: 0 ⏩: 1

IamZandar In reply to Mann-of-LaMancha [2015-01-26 03:14:29 +0000 UTC]

Oui, it is.  I think it not a model to make otherwise by the hand.  I am not the best at hand models, but this would be to challenge even the best I am certain.

👍: 0 ⏩: 1

Mann-of-LaMancha In reply to IamZandar [2015-01-26 06:56:32 +0000 UTC]

I probably could do it by hand, but the question is, do I want to?

Each side looks to be unique, judging by two sides alone. There are 40 courses vertically and horizontally, meaning there are 64,000 courses throughout. It's not like a Celtic knot (without an end) as there are 27 beginning/ending points on the front face alone. If that same number holds true for each face, then there are 81 complete entities running throughout and I'll estimate that each entity touches each layer of each course 790 times.

Alternatively, if there were 27 beginnings/endings on each layer of each course and each face, then there could be 1,728,000 complete entities, and each entity would only touch 27 layers.

(I'm sure there are other possible alternatives, I just mentioned the two that sprang to mind that had simple rudimentary patterns to allow an estimate of parameters.)

In either scenario, a lot of backbreaking work, and while I like a backbreaking challenge, there wouldn't be any satisfaction beyond completion of a challenge. That's usually not enough to keep me going.

👍: 0 ⏩: 2

IamZandar In reply to Mann-of-LaMancha [2015-01-26 22:41:47 +0000 UTC]

You could do it by hand!?         

👍: 0 ⏩: 1

Mann-of-LaMancha In reply to IamZandar [2015-01-27 00:31:41 +0000 UTC]

Relatively speaking, oui. Figuring out how it is to be done is the hard part. When we put out mind to the task, determination to see something through to the end is the easy part, n'est-ce pas?

How you did it, it would take me about a year and a half to replicate it, depending on the two alternatives I described. If it is one entity, I might have it done in two to three days, because it is much easier.

👍: 0 ⏩: 0

nnq2603 In reply to Mann-of-LaMancha [2015-01-26 13:43:44 +0000 UTC]

...as there are 27 beginning/ending points on the front face alone
I'm not sure what make this model looks like the image above, but theoretically this Hilbert cube is supposed to made by one single entity. Hilbert curve fills space with itself.

👍: 0 ⏩: 1

Mann-of-LaMancha In reply to nnq2603 [2015-01-26 14:25:13 +0000 UTC]

I had to look up a Hilbert cube last night myself as I wasn't familiar with what one is, but there was nothing that seemed to say it had to be a single entity, but there were two words that suggested that this isn't a true Hilbert cube, and that was "infinitely countable" suggesting that a Hilbert cube is a theoretical manifestation alone, much like a tesseract. There is no way to physically manifest a theoretical entity without setting some limiting parameters.

OR, the person that lent IamZander the equation, did so in a way so that their work (a single entity) would remain unique while IamZander's would be a close approximation.

Either way, this still is an impressive construct of a theoretical entity.

👍: 0 ⏩: 1

nnq2603 In reply to Mann-of-LaMancha [2015-01-26 15:04:57 +0000 UTC]

I think it had to be a single one and only one. Otherwise it's not Hilbert curve (as I the way understand the name of this deviantion, the cube in this render make by a single "spline" object that follow Hilbert curve (fill 3d space in this case. More familiar, In rendering bucket order, they use it as one of bucket trajectory options, which to fill a 2D image in rendering process). Maybe the guy render this one didn't mean that)... if it couldn't be that then we should call it another name.

👍: 0 ⏩: 1

Mann-of-LaMancha In reply to nnq2603 [2015-01-26 15:58:56 +0000 UTC]

Perhaps you are right. I just looked it up again and I saw that it said it's a continuous fractal.

Should an artist who is trying to replicate the Mona Lisa, call it something else because it isn't a perfect rendition? Hrm. I'm going to stand firm against you on that call. If he initially decided to call it something else, then people would probably stop by and say "Isn't that an attempt at a Hilbert curve?"

In other words; you can't please all the people, all the time.

👍: 0 ⏩: 2

Mann-of-LaMancha In reply to Mann-of-LaMancha [2015-01-26 19:18:13 +0000 UTC]

Making it a single entity would make it much more simpler to do by hand, not harder.

So, you are being adversarial by attempting to impress by affecting greater importance in knowing exactly what a hypothetical physical impossibility is, opposed to my boldness in knowing how to do in long form, what this artist did in short?
In other words, you are fighting my arrogance with your own pretentiousness?

Yeah, I'm done with this conversation too but don't worry, I'm not small minded enough to do something churlish like block you because you don't agree with what I think.

👍: 0 ⏩: 0

nnq2603 In reply to Mann-of-LaMancha [2015-01-26 16:41:12 +0000 UTC]

I stand against you and your statement, not him . As your previous long comment about his work is just all incorrect 'coz you get the wrong info about Hilbert curve yourself. The way I said "should call..." just to express my opinion about your guess (to you), as you said "I had to look up a Hilbert cube last night myself as I wasn't familiar with what one is, but there was nothing that seemed to say it had to be a single entity,..." not to him (let alone the fact that it's a single entity make it much more difficult to manually modeling it as you said you could but you rather don't want). Look, I always reply to you, not him in this conversation. But anyway, alright, I've done now.

👍: 0 ⏩: 1

icandoit2 In reply to nnq2603 [2015-04-02 20:34:36 +0000 UTC]

Wow you're really clueless 

👍: 0 ⏩: 0

Kinzoku-Koneko [2015-01-26 01:53:48 +0000 UTC]

Could I have the formula?

👍: 0 ⏩: 2

IamZandar In reply to Kinzoku-Koneko [2015-01-26 03:12:10 +0000 UTC]

I will check with the author of script for distribution.  It is not my code, and was kindly shared to me.  The original was created on a CVS spreadsheet.  You will need still another script to convert the CVS information to Python to use in Blender.  You can find that script here:
blenderartists.org/forum/showt…

👍: 0 ⏩: 1

Kinzoku-Koneko In reply to IamZandar [2015-01-26 03:46:18 +0000 UTC]

Alright.

👍: 0 ⏩: 0

Mann-of-LaMancha In reply to Kinzoku-Koneko [2015-01-26 02:41:29 +0000 UTC]

Passes the baby bottle.

...you said you wanted the formula.

👍: 0 ⏩: 2

Kinzoku-Koneko In reply to Mann-of-LaMancha [2015-01-26 03:46:07 +0000 UTC]

Catches it ands it back.

Its for you.

👍: 0 ⏩: 1

Mann-of-LaMancha In reply to Kinzoku-Koneko [2015-01-26 06:08:40 +0000 UTC]

Heeeeey! I don't need the formula!! ...is it still warm at least?

👍: 0 ⏩: 1

Kinzoku-Koneko In reply to Mann-of-LaMancha [2015-01-26 22:32:44 +0000 UTC]

*facepalm*

👍: 0 ⏩: 0

IamZandar In reply to Mann-of-LaMancha [2015-01-26 03:12:39 +0000 UTC]

 

👍: 0 ⏩: 0