Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-19Fix T76812: [Mantaflow] Inflow particles not continuousSebastián Barschkis
Makes use of the new particle skipping option introduced in f25a882955cb.
2020-05-19Fix T76697: [Mantaflow] mesh generation does not account for some particlesSebastián Barschkis
Adapted mesh generation to account for domains with disabled fractionstoo.
2020-05-18Fix T76814: [Mantaflow] Surface Tension always worksSebastián Barschkis
Initialize the curvature grid and compute the laplacian only if the diffusion flag is set.
2020-05-12Fix T75889: Cannot bake mantaflow via Python APIJacques Lucke
The issue was the usage of the global `__main__` Python module. When running scripts in the text editor, Blender would overwrite the `__main__` module. Reviewers: sebbas Differential Revision: https://developer.blender.org/D7690
2020-05-12Fluid: remove special treatment for running Python code on windowsJacques Lucke
We discussed this in D7690 and could not find a reason for this code anymore. It might just be leftover from some even older code.
2020-05-04Fix T75883: Smoke simulations with Adaptive Domain broken for 'Final' bakes ↵Sebastián Barschkis
with OpenVDB in 2.83 Config files always use the .uni extenstion.
2020-04-30Fluid: Reset noise emission value at the beginning of an adaptive frameSebastián Barschkis
Emission values should not accumulate beyond one frame, only during the adaptive steps of one frame.
2020-04-22Fluid: Fix for inconsistent behavior with flow and effector objectsSebastián Barschkis
Fixes issue with flow and effector objects which were not being used after resuming a bake job. This issue has been reported in T75729 and T75758.
2020-04-22Fluid: Cleanup in MANTA main classSebastián Barschkis
More concise return types for cache import functions and general cleanup.
2020-04-22Fluid: Remove noise bake call from PythonSebastián Barschkis
Saving noise cache files is handled in fluid.c.
2020-04-22Fix T75681: Mantaflow crash when trying to bake a cupcake: The CG solver ↵Sebastián Barschkis
diverged, residual norm > 1e30 Ensures that there are no enclosed holes between an obstacle and the domain walls.
2020-04-08Fluid: Fix issue with mesh not being loadedSebastián Barschkis
Fixed an issue that was likely introduced in a past cleanup.
2020-04-08Fluid: Fix problem with inconsistent noise when using multiple adaptive ↵Sebastián Barschkis
time-steps Problem was mentioned in T74062.
2020-04-07Fix T74828: Fluid: Crash with Fire/Smoke NoiseSebastián Barschkis
Issue was that the noise simulation was trying to bake with a minimized domain size (adaptive domain initializes domain with size (1,1,1)). Similarly to the base resolution bake, there should be no noise baking happening at those domain sizes - a domain at this size is considered empty.
2020-04-07Fluid: Fixed assertion errorSebastián Barschkis
Fix for new assertion statements that were introduced in bfdc42d9906a.
2020-04-06Fluid: Ensure correct velocities for noise bakeSebastián Barschkis
Make sure that noise uses the unaltered velocity grid. This is particularly important once external velocities get added to the velocity grid.
2020-04-03Fluid: Refactored caching in main Mantaflow classSebastián Barschkis
This refactor cleans up code for the Manta file IO. It also improves the cache 'Replay' option.
2020-04-03Fluid: Refactored MANTA classSebastián Barschkis
Refactored the caching system so that return values are no longer ignored. The aim of this refactor was to make the caching more robust.
2020-04-03Cleanup: quiet shadow warnings with ghost & mantaflowCampbell Barton
2020-03-30Fluid: Optimization for mesh file loadingSebastián Barschkis
Improved loading times for mesh files by reading bigger chunks of data from the disk at once.
2020-03-29Fluid: Optimization for liquid / secondary particle file loadingSebastián Barschkis
Improved loading times for particles files by reading bigger chunks of data from the disk at once.
2020-03-27Fluid: Removed obstacle levelset optimizationSebastián Barschkis
Currently results in unstable particle behavior and incorrect meshing.
2020-03-25Fluid: Small fix for secondary particlesSebastián Barschkis
Small tweak to ensure index will not run out of bounds during secondary particle computation.
2020-03-24Fluid: Enforce minimum thickness to planar flow / effector objectsSebastián Barschkis
Planar object now have a thickness by default. This should make it more intuitive for users as there is no need to specify an object thickness.
2020-03-24Fluid: Use different phi for levelset generationSebastián Barschkis
Phi that is used for mesh should be the one that matches particles best.
2020-03-22Fix T73988: Mantaflow fluid simulation - Particles for Spray, Foam and ↵Sebastián Barschkis
Bubbles are one frame ahead of Mesh Fixes an issue with secondary particles being out of sync with the main simulation. Cleaned up the secondary particle code in general too (making sure that all solver attributes - timestep, framelength, etc. - are set correctly).
2020-03-17Fluid: Updated manta pp filesSebastián Barschkis
Includes only a rename. The name PyInit_Main was a bit confusing as it just belongs to Manta.
2020-03-13Fluid: Potential fix for Eevee tests crashing with MantaflowSebastián Barschkis
Belongs to T73921. This commit fixes the crashes with light baking (disabled in f3a33a92987f). There is still a memory leak to be fixed though.
2020-03-11Smoke: put density/color in separate textures, fixes for workbench shaderBrecht Van Lommel
This is more in line with standard grids and means we don't have to make many special exceptions in the upcoming change for arbitrary number of volume grids support in Eevee. The workbench shader was also changed to fix bugs where squared density was used, and the smoke color would affect the density so that black smoke would be invisible. This can change the look of smoke in workbench significantly. When using the color grid when smoke has a constant color, the color grid will no longer be premultiplied by the density. If the color is constant we want to be able not to store a grid at all. This breaks one test for Cycles and Eevee, but the setup in that test using a color without density does not make sense. It suffers from artifacts since the unpremultiplied color grid by itself will not have smooth boundaries. Differential Revision: https://developer.blender.org/D6951
2020-03-09Fix part of T73921: hang with Eevee light baking and MantaflowBrecht Van Lommel
Now it crashes instead.
2020-03-07Fluid: Optimization for smoke simulation (multigrid)Sebastián Barschkis
The solver will now automatically detect static scenes (no moving obstacles) and use a slightly faster pressure solve in those cases.
2020-03-06Fluid: Revert bc2ce31d7940 (changes to open boundaries)Sebastián Barschkis
Changes from that commit turned out to be unstable.
2020-03-05Fluid: More optimizations in smoke / liquid scriptsSebastián Barschkis
Reduced extrapolation distances, no need to extrapolate that far.
2020-03-05Fluid: Diffusion settings now optionalSebastián Barschkis
For optimization purposes these settings need to be enabled explicitly from now on.
2020-03-05Fix T74446: Liquid Inflow Does Not WorkSebastián Barschkis
Somehow this was forgotton in the optimization patch a5c4a44df67e.
2020-03-04Fluid: Bounding boxes for effector objectsSebastián Barschkis
This commit adds bounding box support for emission objects - similarly to flow objects. Before, each effector object had to iterate over the entire domain. Bake times of scenes with multiple obstacles improved significantly with this optimization. Other improvements that were implemented alongside the bbox feature: - Option for subframe sampling for effector objects - Option to enable / disable effectors (can be animated) - Optimization for static objects. If a flow or effector object does not move and the adaptive domain is not in use, the bake time will be optimized further by reusing the flow / effector grids from the previous frame (no recalculation).
2020-03-04Fluid: Added sanity grid initializations in smoke / liquid scriptsSebastián Barschkis
Just a sanity check.
2020-03-04Fluid: Naming cleanup for flags gridSebastián Barschkis
Use flags instead of obstacle to avoid confusion with obstacle levelset grid.
2020-03-04Fluid: Added an option to delete fluid inside obstaclesSebastián Barschkis
Simple checkbox that - if enabled - will tell the solver to clear density or liquid particles in obstacle cells.
2020-03-04Fluid: Optimization for extrapolation functions in smoke / liquid scriptsSebastián Barschkis
Too much extrapolation can become expensive. Reducing it here since extrapolating levelsets into a couple of cells should be sufficient.
2020-02-28Fluid: Improved behavior at open boundariesSebastián Barschkis
Use greater boundary width for smoke simulations
2020-02-26Fix OpenVDB link error on Windows after recent changesBrecht Van Lommel
2020-02-26Cleanup: deduplicate OpenVDB library definitions/include/libs logicBrecht Van Lommel
This will more important when we start using OpenVDB in more modules.
2020-02-24Mantaflow: Address precompiler warning and related cleanupJulian Eisel
* Address warning because of undefined OPENVDB usage * Remove unused WITH_FLUID definitions Differential Revision: https://developer.blender.org/D6919
2020-02-19Fluid: Updated manta pp filesSebastián Barschkis
Updates in the files include: - New manta files now use an platform independent gzopen function - Adjusted argument name for vorticity
2020-02-19Fluid: Fix typo that was made in 4453509d83dcSebastián Barschkis
2020-02-19Fix T73770: Mantaflow is unable to bake fluid simulations on non-ASCII file ↵Sebastián Barschkis
paths Some fluid cache functions were not using Blender's more secure BLI_gzopen() function. On Windows there are some special cases which this function can handle compared to the plain gzopen().
2020-02-17Fix T73862: Fluid Sim file handle resource leakCampbell Barton
2020-02-14Fluid: Inflow object improvementsSebastián Barschkis
Various fixes for smoke / fire flow objects: - Apply inflow at every subframe (new: also emit during adaptive steps in between frames) - Fix issue with fire not being emitted on first frame - Higher value range for smoke flow density variable
2020-02-14Cleanup/MSVC: Enable C++ conformance mode on compiler versions that support it.Ray Molenkamp
MSVC has a conformance mode (/permissive-) where the C++ standard is more strictly enforced. This mode is available on MSVC 15.5+ [1] This patch enables this mode on compilers that support it and cleans up the few violations it threw up in the process. - Mantaflow was using M_PI without requesting them using the _USE_MATH_DEFINES define to opt in to non default behaviour. - Collada did not include the right header for std::cerr, this seemingly was fixed for other platforms already but put inside a platform guard. - Ghost had some scoping issues regarding uninitialized variables and goto behaviour Second landing of this patch, earlier commit was reverted due to some compiler configurations having slipped though testing [1] https://docs.microsoft.com/en-us/cpp/build/reference/permissive-standards-conformance Differential Revision: https://developer.blender.org/D6824 Reviewed By: brecht