[2.9] Blender Tutorial: Quick Water Animation

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone my name is olaf and in this tutorial i'll show you how to make this exact simulation in blender using the default and free manta flow fluid simulation in blender as always it's going to be quick and easy so let's get started okay so i have provided this files for free in the description so that we don't have to worry about the modeling and just focus on the simulation itself so press h to hide the domain and then we're going to select the inflow cylinder and let's add some fluid physics set it to flow and then set the flow type to liquid and then the flow behavior to inflow so that the water flows in and then i'll set the sampling sub steps d4 to increase the quality of the inflow and then set the source to 4 in the initial velocity the y value to 7 so that the water comes out on the y axis and a bit down on the z axis as well by setting the set value to -1 and then just add the same settings to the rest of the inflow cylinders and the source value is the amount of water that comes out of the inflow object so seven and then minus one and then next we need to turn the tubes into obstacles so that the water interacts with the tubes so let's set the type to effector and then enable each planer because a tube is an enclosed mesh and then we need to add the same settings to the two other cubes as well set it to effector and then explainer and then the same for the last one and then next we need to go into the settings for the domain so let's set the type to domain for the domain object and then set the domain type to liquid and then we'll set the resolution to 100 for now and you will see why we need to increase it later and then enable diffusion and then you can change the liquid type if you want to i'm just going to set it to water which is the default option and then enable mesh as well and i'll set the end frame to 300 for the simulation and then set the type to all so that we can bake it and then i'm also going to enable is resumable so that we can pause the simulation and continue later on if we want to and then not save you can save it wherever you want on your computer just give it a name and press enter to save and then you can also choose a folder for the final simulation cache which might actually take up a lot of space make sure to enable liquid as well so that we get the liquid working and if you now try to bake and i'm going to cancel this one you'll see that there is nothing coming out and that is because the resolution is too low for such a narrow obstacle so i'm going to free this bake and then increase the resolution i think 150 will be enough for now i'm going to increase it later but i think it's enough for most computers and then bake all and when i cancel this time you will see that we actually have water so uh i have to speed up the baking and this is what it looks like so far i'm going to do the final bake later but i like to do some test picks beforehand and i'm also going to use a background image and you can find three background images in the link in the description i'm just going to use the chelsea stairs but you can also go to hdri 11 to get free hdri background images so i just choose one that fits your scene and then open the image and then we have the background image okay and when we go into rendered view you can see that we have the hdri and then next we need to set up the render settings i'm going to use the gpu if you only have a cpu you can just use the cpu and then next let's set up the materials for the water we're going to use a glass material with zero roughness and an ior value of 1.333 which is 4 divided by 3 and then i'm going to make it slightly blue and uh once the rendering is done you can see that we have water and then we can just play around with the colors some people prefer it to uh just be completely white but that's up to you you can fake the atmosphere and so on and then let's add a material for the tubes as well so i'm just going to use a basic diffuse material and make it blue and then next we need to copy this material to the other tubes as well so uh hold and shift and then press ctrl l to make links and link the materials and as you can see they're all blue now okay so let's save before we continue and then next we're going to add a material for the bottom of the tubes as well so let's make a diffuse and black and then once again we need to copy the same materials hold and shift and then press ctrl l and link the material and then just play around with the colors until you have a result that you like okay and i think this looks nice and then next we need to hide the inflow objects which in this case are the three cylinders with the inflow settings so uh let's select them in the top right corner of the screen so inflow 1 2 and 3 and make sure to hide them both in the viewport and in the final render and then next i'm going to free up the bake and do a final bake with a much higher resolution i think for most people 150 is enough and i'm going to go for 250 but you should definitely consider using a lower value maybe uh 200 or 150 because i spent four hours on a fairly high end computer to bake the simulation okay and then bake all and after four hours of baking we have this simulation and if we move on the timeline we can see what it looks like obviously it's a very heavy simulation so we have to wait a bit for each frame so let's just save before we continue click on the plus sign and then save i actually had to speed up this part of the recording because it took so long to switch between each of the frames but uh this is what it looks like and keep in mind that the water fills up the domain really quick so uh at the end of the 300 frames the domain will be almost completely full and uh this is what it looks like in rendered view and you might want to adjust the floor and so on add some walls if you want the reflection of the hdri to be removed okay so let's get into the render settings so let's switch to solid view and then render settings and then next i'm going to turn on the noising for the renderer just use the default one and if you have a gpu make sure to increase the dial size if you only have a cpu you can just leave it at 64 which is optimal and then i'm also going to set the resolution to 4k if you want 1080p just leave it at 100 and then next you can choose a folder for the render output i'm going to use pngs and then convert them into an mp4 file later and then select the folder give the animation name and then save and i'll set the compression to 15 that's very low you can set it higher if you want to and then next i'm going to do a test render before i do the final render so uh let's go up to the top left corner and then render image and then you will get an idea of how long it will take to render each of the images which was about 3 minutes for this one and then next you need to go up to renderer and then render animation and that's it for this tutorial hope you enjoyed it and i will post more simulation tutorials soon so thank us for watching and subscribe
Info
Channel: Olav3D Tutorials
Views: 245,229
Rating: undefined out of 5
Keywords: blender tutorial, blender, tutorial, water simulation, water, simulation, fluid, fluid simulation, blender simulation tutorial, blender water tutorial, water tutorial
Id: SUHZ5GfkKiU
Channel Id: undefined
Length: 10min 29sec (629 seconds)
Published: Tue Oct 13 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.