Sebastián Barschkis
c2691c93d5
Fix T79201: Mantaflow: Fluid guides don't affect simulation.
...
This broke during the OpenVDB update for 2.90. Just making sure that guiding velocity files are being read correctly.
2020-08-07 15:33:51 +02:00
Sebastián Barschkis
ea4a00e93b
Fluid: Fix warnings from max particle option
...
-Wreorder was the issue.
2020-07-27 10:32:12 +02:00
Sebastián Barschkis
2ebf263f5c
Fluid: Updated Mantaflow source files
...
New files contain updated sampling function (support for maximum number of particles cap).
2020-07-26 22:02:10 +02:00
Sebastián Barschkis
6b6e2e742f
Fluid: Updated Mantaflow source files
...
Updated files include fixes for the mesh IO - read/write success was not propagated.
2020-07-21 15:22:40 +02:00
Sebastián Barschkis
0cdc75ccd2
Fluid: Cleanup build system for extern mantaflow
...
No longer including unused dependencies. Should numpy IO be needed at some point, the Manta source update script can be configured so that the required dependencies are included again.
2020-07-17 15:58:13 +02:00
Sebastián Barschkis
93f21ebb13
Fluid: Update Mantaflow source files
...
Includes cleanup that resolves a -Wunused-but-set-variable warning.
2020-07-16 18:04:44 +02:00
Sebastián Barschkis
aa547ce88b
Fluid: Update Mantaflow source files
...
Refactored various functions after noticing new warnings when compiling on Apple DTK devices - there should now be fewer warnings when building.
2020-07-16 16:39:49 +02:00
Sebastián Barschkis
7e0289b618
Fluid: Updated Mantaflow source files
...
New files include fixes for obj mesh import and minor cleanups.
2020-07-14 22:21:15 +02:00
Sebastián Barschkis
84e1e0cf95
Fix T78170: Mantaflow Crash | Whitewater Particles Baking
...
Fixed issue in the upstream Mantaflow repository.
2020-06-26 18:29:43 +02:00
Sebastián Barschkis
ac0852cea0
Fluid: Fix OpenVDB compiler warnings
...
Kudos to brecht for noticing the issue
2020-06-24 18:36:42 +02:00
Sebastián Barschkis
ba380fc0bf
Fix T78213: Windows 10 Build Errors: Extern_Manaflow error messages
...
Kudos to LazyDodo for figuring this out
2020-06-24 18:01:34 +02:00
Sebastián Barschkis
9fe64948ab
Fluid: Updated Mantaflow source with latest OpenVDB changes
...
This updated set of Mantaflow files includes the improved OpenVDB file IO. With this update it is finally possible to store multiple grids per file. It is also possible to save particle systems and particle data to OpenVDB files.
2020-06-24 16:07:35 +02:00
Sebastián Barschkis
aa0e98d707
Merge branch 'blender-v2.83-release'
2020-05-20 16:52:03 +02:00
Sebastián Barschkis
c1545c9a9d
Fluid: Fix for non-moving liquid particles
...
Issue was introduced in 7bb3d9787e with new Mantaflow files from 61280e5af3 .
2020-05-20 16:37:29 +02:00
Sebastián Barschkis
e73d7d27dc
Merge branch 'blender-v2.83-release'
2020-05-19 21:23:54 +02:00
Sebastián Barschkis
61280e5af3
Fluid: Updated Mantaflow source files
...
Includes changes for particle skipping during advection.
2020-05-19 21:12:30 +02:00
Sebastián Barschkis
ebbaae625f
Fluid: Updated Mantaflow source files
...
Includes more flexible options for dt, dx in secondary particles plugin.
2020-05-08 16:59:10 +02:00
Sebastián Barschkis
c4a850b7c2
Updated Mantaflow source files
2020-04-30 17:33:22 +02:00
Sebastián Barschkis
4a6f715421
Fix T73552: Mantaflow - liquid particles show up in organized unrealistic structure
...
Issue was being caused by a particle offset which was random but the same for every particle.
2020-04-08 18:29:26 +02:00
Sebastián Barschkis
a1ddb63329
Fluid: Update Mantaflow source files
...
Update includes new grid helper functions and some cleanups.
2020-04-08 13:25:16 +02:00
Sebastián Barschkis
7f3e84deb5
Fluid: Updated manta pp files
...
Includes only a rename. The name PyInit_Main was a bit confusing as it just belongs to Manta.
2020-03-17 11:57:04 +01:00
Sebastián Barschkis
35a29befb3
Fluid: Updated Manta pp files
...
Includes additional minmax check for Windows
2020-03-16 11:52:18 +01:00
Sebastián Barschkis
5539b68009
Fluid: Optimization for smoke simulation (multigrid)
...
The solver will now automatically detect static scenes (no moving obstacles) and use a slightly faster pressure solve in those cases.
2020-03-07 19:57:06 +01:00
Sebastián Barschkis
21bdeb5cc0
Fluid: Updated Manta pp files
...
Updates include:
- std::move() cleanup in rcmatrix.h
- Enabled parallelization for fluid guiding (fairly noticeable speed improvement).
- More flexible flags setter function with control over boundary width.
2020-02-28 16:20:13 +01:00
Sebastián Barschkis
b8af5e1062
Fluid: Updated manta pp files
...
Updates include:
- A fix from Jacques that changed the loop order in the mesh creation function (the fix speeds up the function significantly due to fewer cache misses).
- Some of the grid copy helper functions are now multithreaded.
- A fix for Windows file IO. Now it possible to load files with non ASCII characters on Windows too.
2020-02-21 15:29:32 +01:00
Sebastián Barschkis
bda8076d35
Fluid: Temporary fix for gzopen on windows
...
Needs more consideration. This fixes compilation for now.
2020-02-19 19:34:23 +01:00
Sebastián Barschkis
888d180164
Fluid: Updated manta pp files
...
Updates in the files include:
- New manta files now use an platform independent gzopen function
- Adjusted argument name for vorticity
2020-02-19 18:58:48 +01:00
Sebastián Barschkis
4a08eb0707
Fluid: Updated manta pp files
...
Includes the OpenVDB read/write functions for int grids. This essential for the resume bake functionality in modular fluid caches.
2020-02-09 17:09:00 +01:00
Sebastián Barschkis
5a570be9f5
Fluid: Updated Manta pp files
...
Includes latest changes from the upstream manta repository.
2020-01-30 11:27:54 +01:00
Sebastián Barschkis
adcc9d014c
Fluid: Moved grid reset loop for inner obstacle cells from blenkernel code into Mantaflow
...
Having this loop in directly Manta is faster and potentially fixes issues T72783 and T72894.
2020-01-15 16:28:56 +01:00
Sebastián Barschkis
542e0c67ba
Fluid: Updated Mantaflow source files
...
The memory leak described in T72498 has been fixed in Mantaflow, the updated files should reflect this in Blender.
2020-01-15 16:27:55 +01:00
Sebastián Barschkis
7ae35a7369
Fluid: Fix broken motion blur for liquids
...
Added missing resize for vector that holds vert velocities
2020-01-09 01:15:40 +01:00
Sebastián Barschkis
4ff7c5eed6
Mantaflow [Part 1]: Added preprocessed Mantaflow source files
...
Includes preprocessed Mantaflow source files for both OpenMP and TBB (if OpenMP is not present, TBB files will be used instead).
These files come directly from the Mantaflow repository. Future updates to the core fluid solver will take place by updating the files.
Reviewed By: sergey, mont29
Maniphest Tasks: T59995
Differential Revision: https://developer.blender.org/D3850
2019-12-16 16:27:26 +01:00