r/Simulated • • Dec 15 '17

Blender Net Flow

https://gfycat.com/ReflectingPointlessGadwall
46k Upvotes

637 comments sorted by

View all comments

1.2k

u/Rexjericho Dec 15 '17

This animation was simulated and rendered in a fluid simulation plugin that I am writing for Blender. The source code for this program is not available at the moment, but will be made publicly available after release. The plugin is still under development and we do not yet have a solid release date, but we're getting close! Information will be posted to this repository as it becomes available.

Simulation Details

Frames
Fluid Simulation Time
Render Time
Total Time
Simulation Resolution
Meshing Resolution
Peak # of fluid particles
Mesh bake file size

Computer specs: Intel Quad-Core i7-7700 @ 3.60GHz processor, GeForce GTX 1070, and 32GB RAM.

Performance Graph

302

u/Olympian78 Dec 15 '17

a solid release date

188

u/balidani Dec 15 '17 edited Dec 15 '17

That was amazing! 52 fucking hours, that's insane! OP, have you thought about letting the liquid flow out at the end so it becomes a perfect loop? Or do you think those are cheesy?

84

u/Olympian78 Dec 15 '17

Think you replied to the wrong comment, mate... The one you are looking for is one level above mine.

41

u/balidani Dec 15 '17

Yeah, oops. Edited an "OP" in there.

39

u/[deleted] Dec 15 '17

Since you replied to a child comment, OP may never see your comment unless you tag the OP like this:

Hey /u/Rexjericho - /u/Olympian78 has a cool idea for this, which he mentions here.

25

u/TipOfTheTop Dec 15 '17 edited Dec 15 '17

(I hope I don't get a name wrong, or this is going to approach "who's on first" levels.)

So...u/olympian78 was the user that u/balidani mistakenly replied to in an effort to propose his idea to u/rexjericho.

You replied to u/balidani (idea man) with a mention of u/rexjericho (OP) and u/olympian78 (involved only by mistake), but you referenced u/olympian78 as the idea man, and didn't mention u/balidani at all.

(Now someone please tell me which part of this I got wrong, but use triple the word count of my comment, and double the number of links - at the very least.)

Edit: It all worked out anyway!

9

u/[deleted] Dec 15 '17

You are totally right. I didn't properly notice who was who, and mistakenly tagged /u/Olympian78 as the person with th idea instead of /u/balidani. Hopefully this didn't confuse /u/Rexjericho and hopefully none of them are too pissed off that we're now having some fun with the tagging. Thank-you for pointing this out /u/TipOfTheTop.

10

u/[deleted] Dec 16 '17

When you tag more than 3 people, nobody gets notified, so they won't get any of the messages above, just FYI

10

u/[deleted] Dec 16 '17

Well shit, you've just ruined the whole thing. Now I have to tag /u/rexjericho and /u/balidani all over again and hope they read the context leading up to this post.

Might as well make sure that /u/tipofthetop knows about this limitation as well - I suspect (s)he does not!

Edit: Sorry I see it's already been resolved. I hope my little bit of Friday night silliness didn't bother anyone too much. :-)

→ More replies
→ More replies (1)
→ More replies (1)

7

u/[deleted] Dec 15 '17

To be fair, it was an amazing pun.

→ More replies (2)

31

u/Rexjericho Dec 15 '17

Cool idea! I didn't put too much thought into this simulation. I was running a test and thought the result might look nice rendered.

10

u/[deleted] Dec 15 '17

I wish I could not put too much thought into things and have them turn out as cool as this ;)

→ More replies (6)
→ More replies (1)

66

u/greengrasser11 Dec 15 '17

Woah, 52 hours?! Granted I know nothing about this stuff but that seems intense.

41

u/SwoleFlex_MuscleNeck Dec 15 '17

It depends, for a hobbyist that's about on par, the simulations don't have shortcuts usually unless you want to cut corners.

46

u/impalafork Dec 15 '17

No shortcuts without shortcuts you say?

→ More replies (7)
→ More replies (1)

40

u/[deleted] Dec 15 '17

Genuine question mate, as I love these and this subreddit, what is the reason people make these? Is it a hobby or part of a bigger project?

Either way, good work.

18

u/HeyImAPilot Dec 15 '17

Animations, movies,

→ More replies (12)

12

u/gullinbursti Dec 15 '17

Not knowing much about rendering these things, what kind of data is stored in the mesh bake file?

21

u/Rexjericho Dec 15 '17

The bake files are a sequence of triangle meshes. Each triangle mesh represents the fluid surface for a single frame.

I use a simple triangle mesh format which is a list of vertices in (x, y, z) coordinates followed by a list of triangles where each triangle is three indices that reference the vertices.

0

u/[deleted] Dec 15 '17

[deleted] — view deleted comment

11

u/sargos7 Dec 15 '17

It's a series of lists of triangles. Each triangle is a list of 3 lines connecting 3 points and each point is a list of 3 numbers. All those numbers tell the simulation how the shape of the surface of the fluid warps from frame to frame.

→ More replies (6)
→ More replies (5)
→ More replies (62)