My personal blog: http://www.ourd3js.com/
Csdn blog: http://blog.csdn.net/lzhlzz/
Please indicate the source for reprinting. Thank you.
Blender is an open-source cross-platform, all-around 3D animation production software that provides a series of short animation film production solutions, including modeling, animation, material, rendering, audio processing, and video editing, it has a rich array of functions. What's more valuable is that it is completely open-source and free of charge.
This article describes how to create a flow effect in blender.
1. Add an object
As shown in, add several cubes. Some of them represent walls, some represent water spaces, some represent initial water, and some represent water portals. After adding objects, specify which of the above objects belong to them. The method is as follows:
Select physics on the right panel, click fluid, and then select a type in type.
Among them, domain represents the water space, and all water is moving in this range. Inflow indicates the water inlet. Obstacle indicates solid. Fluid indicates the existing water in the initial state.
2. Create water materials and textures
First, create the water material, click material in, and fill in the parameters.
Create a texture and enter the parameters.
Note that both the material and texture are set for the Water Space (domain.
3. Calculation of Water Flow
Click "bake" in the left-side Navigation Pane to start the calculation of water flow. The resolution below can modify the resolution. The higher the Resolution, the more precise the water flow, but the longer the calculation time. Below are a few examples of Water Flow Boundary and number of particles. Please try it on your own.
4. Rendering
Well, after a long calculation, you can start rendering.
Render renders only one frame, and animation renders the entire animation.
The result is as follows:
Thank you for reading.
[Blender series] Flow Simulation