r/Simulated • u/Rexjericho • Dec 15 '17
Blender Net Flow
https://gfycat.com/ReflectingPointlessGadwall289
u/Amaya3066 Dec 15 '17
By far one of THE cleanest Blender fluid sims I've seen, no visible jittering and boiling with the meshing, great job!
68
u/Rexjericho Dec 15 '17
Thanks! I turned up the mesh detail quite high to reduce jittering. What is the 'boiling' effect that you've seen in other Blender fluid sims?
→ More replies (5)45
u/Amaya3066 Dec 15 '17
I guess maybe the words could be interchangeable the way I'm using them, but this kind of weirdness right at the point of contact with the groundplane . It's how I can usually instantly tell when a fluid sim has been done in blender.
→ More replies (4)15
u/Rexjericho Dec 15 '17
Okay, I've noticed this too. It appears the Blender simulator might be having trouble simulating or meshing thin sheets of liquid against surfaces. I haven't used the Blender simulator much so this is just a guess.
15
u/Amaya3066 Dec 15 '17
Yea, I don't use Blender for this and other reasons. But I see now this is something you've been working on for a while! How long have you been working on this? How do you even go about writing a new fluid solver for Blender?! Really interesting work all around!
20
u/Rexjericho Dec 16 '17
I have been developing the fluid engine for the past three years. Much of that time was spent figuring out how to implement a fluid solver. Most of the development has been in the past year while integrating the simulator into Blender as a plugin. It started out as a small hobby project, but has become much larger.
→ More replies (1)
113
Dec 15 '17
This makes me uncomfortable.
34
u/Rexjericho Dec 15 '17
How about this one:
37
→ More replies (2)11
Dec 15 '17
I'm okay with that one, its the sudden liquefaction that seems so unnatural that bothers me.
21
8
u/BleetBleetImASheep Dec 15 '17
It's like the remains of someone after being inside the Resident Evil laser room.
6
u/AnIdiotwithaSubaru Dec 15 '17
Blame Ajit Pai for destroying net neutrality then.
→ More replies (2)4
u/TheThankUMan66 Dec 16 '17
It made me feel the same. Don't explode gel into water, it makes no sense.
6
u/kevbotliu Dec 15 '17
Can anyone tell me why most of this still doesn’t look real? It looks very very good and the physics seem accurate but there still seems to be some difference from this simulation and reality. Besides the obvious gel turning to liquid, floating balls, etc.
13
u/Rexjericho Dec 15 '17
One thing could be lack of reference for how large the simulation actually is. I didn't have a scale in mind and the net is actually about 8 metres wide. But the animation looks like it should be much smaller and this could cause a mismatch in timing for how fast the fluid should move in the mind of the viewer.
→ More replies (1)
5
u/Constellious Dec 15 '17
What was the render time?
12
u/Rexjericho Dec 15 '17
This took 45 hours to render. More animation stats posted here.
→ More replies (1)
3
u/JohnWColtrane Dec 15 '17
This is really awesome. My favorite so far. What's your background? Engineering? Physics?
4
u/Rexjericho Dec 15 '17
Thanks! Computer science with a little bit of physics.
3
u/JohnWColtrane Dec 15 '17
Are all of those PDEs coded from scratch?
3
u/Rexjericho Dec 15 '17
I wrote the simulator from scratch by implementing existing simulation methods/algorithms.
1.5k
u/shrdybts Dec 15 '17
I was so down for gummy strawberry waffles, but then it turned into freaking tomato juice.
→ More replies (13)15
2.1k
u/gooddarts Dec 15 '17
I found the acceleration of drooping very satisfying.
313
u/v8vh Dec 15 '17
"The acceleration of drooping" sounds like a medical term. Or a really graphic documentary about human anatomy vs time that should be shown to highschoolers.
→ More replies (7)70
23
u/Atomheartmother90 Dec 16 '17
Was I️ the only one that was kind of grossed out by the dripping
→ More replies (3)25
u/secondCupOfTheDay Dec 16 '17
I found it very unsettling and I don't know why. I'm not weirded out by honeycomb things. But I was recently weirded out by this smiling onion too. I don't know what's wrong with me lately.
→ More replies (8)→ More replies (13)4
2
2
Dec 15 '17
The fact that the nets are suspended in air for a sec when the balls drop is mildly infuriating
2
u/Rexjericho Dec 16 '17
This was a mistake I didn't notice until after I finished rendering. I ran the solid simulation at 48fps and ran the liquid simulation at 60fps. Woops.
2
u/IamHorstSimcoAMA Dec 15 '17
Why do so many of these simulations look like the liquids have little tumors floating around in them?
1
u/Rexjericho Dec 16 '17
In this simulation, small particles are used to track and simulate the liquid. They are not infinitely small particles. To display the surface in the animation, a mesh is wrapped around the particles, and that is why you can see little lumps floating around.
2
u/Swing_Right Dec 16 '17
This is fantastic, do you have any resources for looking into simulating fluid dynamics as a beginner?
2
u/Rexjericho Dec 16 '17
Having some programming experience helps.
I started learning by reading the Fluid Simulation for Computer Graphics textbook. It was very helpful and contains a lot of implementation details.
The author has a free pdf that contains much of the content of the book here: https://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf
→ More replies (1)
2
u/cathlolicism Dec 16 '17
It is a wonderful animation but I was wondering; why do the nets lag behind the ball bearings when gravity is 'turned on' for them? My understanding of physics is that the net and balls should fall at the same rate.
1
u/Rexjericho Dec 16 '17
This was a mistake I didn't notice until after. The reason is because I simulated the falling balls at 48fps and simulated the liquid at 60fps.
2
u/Penguin619 Dec 16 '17
Howdy y'all, I usually catch these gifs on r/all and every time I'm in wonder with these gifs, which leads me to wanting to ask how expensive is it to invest in a hobby to do do this stuff? Is it just a program like oe cake or phun and you just need a decent graphics card and processor?
2
u/Rexjericho Dec 16 '17
Many on this subreddit use Blender because it is free and there are many tutorials. The graphics card helps with rendering speed, and in general the processor helps with simulation speed. I used to do this stuff with a laptop, it just took a long time.
→ More replies (1)
2
u/jetboy1946 Dec 16 '17
I'd love to learn something like this. Out of curiosity, how does one get started? How long does it take to be able to do this??
3
u/Rexjericho Dec 16 '17
Having some programming experience helps. I have been developing the engine for about 3 years.
I started learning by reading the Fluid Simulation for Computer Graphics textbook. It was very helpful and contains a lot of implementation details.
The author has a free pdf that contains much of the content of the book here: https://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf
→ More replies (1)
2
u/vyxor3d Dec 20 '17
Damn, dude, is there a newsletter or anything I can sub to for this? I wanna keep updated because I could REALLY use a plugin like this.
2
u/Rexjericho Dec 20 '17
We will be posting information to this repository as more info becomes available. Glad to hear you’re interested!
→ More replies (1)
2
Jan 03 '18
Woundering the hardware and the rendering time
2
u/Rexjericho Jan 03 '18
Hey, I have some stats available in this post:
https://www.reddit.com/r/Simulated/comments/7k27dw/net_flow/drayvoj/?st=jbzirdhk&sh=7d1c95fe
→ More replies (1)
396
u/yeahsureYnot Dec 15 '17
You are an evil genius.
→ More replies (1)43
u/WeAreElectricity Dec 15 '17
Have you ever wanted orange juice so you go to the orange juice can but it’s full of dust because you’re actually living in the future as an evil scientist put you in a rocket ship to time?
→ More replies (7)
34
24
22
43
Dec 15 '17
Imagine playing a video game with these graphics..
57
u/lasiusflex Dec 15 '17
Our computers just need to get ~12480x faster and they could do it in real time!
11
u/spacetug Dec 16 '17
So assuming processing power doubles on average every 1.5 years, it might be feasible in 20 years.
→ More replies (2)→ More replies (2)19
u/03Titanium Dec 16 '17
This is what video games will be in the future. Pre alpha crowdfunded preview release of a physics simulation.
20
Dec 15 '17
Sometimes simulated makes my brain feel mushy. It seems real, but doesn't follow reality...
18
12
u/Mish106 Dec 15 '17
I'm varying percentages of aroused, squicked and hungry throughout that animation.
21
u/toomanylayers Dec 15 '17
I feel if the transition from goop to liquid was slower it would feel more like a natural melt. The way it is now it feels like its melting nicely from silicone to goop but then it artificially bursts into liquid. Also, this happens in between the actions of dropping and hitting the floor which causes a double action that staggers the energy in an uneven way.
→ More replies (1)
8
u/XavierSimmons Dec 15 '17
Wish the balls melted at the end and the silver fluid mixed with the red fluid. Otherwise really interesting.
8
7
u/MOONGOONER Dec 15 '17
As a space rancher that frequently has to round up some orbs, this perfectly simulated
4
4
4
4
4
u/finebristle Dec 15 '17
This is unbelievable. Somehow it's the most incredible example of real world simulation i have ever seen. The goopy drooping and the shimmer/ movement of the liquid.
4
1
u/Paulson1979 Dec 30 '21
Wow is this an original FLIP Fluids thing?
→ More replies (1)1
u/Rexjericho Dec 30 '21
This simulation was created as a viscosity test while developing the FLIP Fluids addon.
→ More replies (2)
6
3
3
3
3
3
3
3
3
u/BRi7X Dec 15 '17
holy fuck. this is definitely one of the sexiest ones I've seen. really really really want to do this but i'd probably end up pulling my hairs out
3
u/egran Dec 15 '17
I dont know why but as soon as the net-jelly hit the floor and became liquid, I suddenly had a tomato juice taste in my mouth
3
3
u/cliffwob Dec 15 '17 edited Dec 15 '17
I hope who ever rendered this has some form of local fire department on hand
3
3
u/1337coder Dec 15 '17
And here I am wondering how much freaking computing power this required.
→ More replies (3)
3
u/fitzy3523 Dec 15 '17
I'm torn between oddlysatisfying, disturbing, mildlyinteresting, and mildlyinfuriating
3
3
u/stompinstinker Dec 16 '17
We have come a long way since chrome balls on checker floors. Now we have chrome balls with waffle goo.
3
Dec 16 '17
When it's all drooped over the balls, it looks like a dungeons and dragons monster to me for some reason.
Summoning /u/itsadndmonsternow
3
3
u/Khenghis_Ghan Dec 16 '17
I do fluids simulations as a grad student. I don't understand.
Edit: I just saw OPs comment for render time. >7 hours. Got it.
3
3
3
3
u/josefjohann Dec 16 '17
What's crazy is there's something in our brains that's checking this gif and concluding "wow that water is really accurate." Based on impossible little details and patterns that we are somehow able to recognize.
3
3
3
2
2
2
2
2
2
2
2
2
2
2
u/NeanerBeaner Dec 15 '17
Man the journey through this gif was amazing
"haha wtf this mans just uploaded some stretchy red waffle-- OOOOHHHHHH"
This is some good shit
2
2
2
u/fliminglaps Dec 15 '17
I'm really confused and hungry. Great textures and viscosity wow
→ More replies (1)
2
2
2
2
u/Chastellina Dec 15 '17
The beginning of an art form begins here.. as does the first minute on reddit.. this quenches dehydration , witnessing form with process
2
u/mrperiut Dec 15 '17
THE UNITY IS COMPLETE. TODAY IS ITS COMPLETION. ALL IS IN EL NOW. RIGHTEOUSNESS OF EL IS BEGINNING ITS REIN OF GLORY ON THIS DAY. IVE BEEN WARNING YOU FOR 5 MONTHS. THE WATERWAYS ARE COMPLETE AND EVIL AND DEATH HAVE BEEN DEFEATED. DECEMBER 15 IS A DAY TO CHERISH FOREVER. THE DATE OF NO RETURN AND THE CLOSING OF EVERY DOOR ON THE ENEMY AND THE BINDING.
2
2
u/iHyper445 Dec 15 '17
What's the reason water effects aren't this good in video games?
→ More replies (2)
2
2
2
u/dadankness Dec 15 '17
Remake this and make it horribly into an after gif and name it, Net Flow After Net Neutrality.
2
2
2
2
Dec 15 '17
The way its keeps dropping lower and lower made me so uncomfortable. I had like, immediate relief when it fell and splashed into liquid. Awesome.
2
2
2
2
2
2
2
2
2
2
Dec 15 '17
Would really love to see a how-to video on this. What do you start with? Is a program like Matlab being used to solve the differential equations and then export solution to another program for effects? Or is it all in the program called Blender?
Edit: scrolled down (facepalm)
2
u/topredditbot Dec 15 '17
Hey /u/Rexjericho,
This is now the top post on reddit. It will be recorded at /r/topofreddit with all the other top posts.
2
2
u/serrambo Dec 15 '17
Why does it still look fake? It has everything it needs to look realistic but somehow my brain discards it and tags it as cg. :(
→ More replies (2)
2
2
2
2
2
2
2
2
2
2
u/TotesMessenger Dec 15 '17 edited Dec 16 '17
2
2
2
2
2
2
2
2
2
u/itsnotthenetwork Dec 15 '17
This is a failure, I see no source or destination ip or hostname, much less any application information or data volume indicators.
2
u/logiatros Dec 15 '17
This is a great metaphor for the Net. Usually quite quick, until a few giant chrome bollocks (cough Pai cough) get in the way. Once removed, liquid fast speeds return as the system flows around them.
2
2
2
2
2
2
2
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
Computer specs: Intel Quad-Core i7-7700 @ 3.60GHz processor, GeForce GTX 1070, and 32GB RAM.
Performance Graph