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-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-10Cleanup: spellingCampbell Barton
2020-02-09Fluid: Fixes for fluid guidingSebastián Barschkis
Fluid guiding functionality was broken in the bake / read cache loop in fluid.c. Committing this to the release branch as otherwise fluid guiding would not have worked as expected (i.e. not at all).
2020-02-07Fluid: Fixed cache reading issue with larger resolution noise gridsSebastián Barschkis
Important fix that needs to go into the release. The upscaled noise cache was not read into upscaled grids.
2020-02-06Fluid: Fixed slow cache loading for smoke dataSebastián Barschkis
Cache files are currently loaded via the Manta Python API. With very big caches this can slow down the viewport playback. Especially smoke simulations, which just load grids and no meshes, can suffer from this. This fix solves this problem by directly loading the cache files from disk (no Python). This fix has been in the works for some time. The developer of this patch is ready to handle any potential fall-out of this patch quickly.
2020-02-04Fix T73567: Mantaflow adaptative domain takes objects with the flow turned ↵Sebastián Barschkis
off into account This is a small optimization that makes sure the adaptive domain only considers active inflow objects. Ones with disabled fluid flow are skipped and thus the adaptive domain will not try to cover them.
2020-02-04Fix T73537: Particle system CrashSebastián Barschkis
Added sanity check in the flow / obstacle object loops that check if the modifier data is valid. Ideally this should not be needed. However, in remove_particle_systems_from_object() the fluid modifier can get freed. It is not yet clear whether the modifier free call is really needed or not.
2020-01-31Fluid: More stable flow emissionSebastián Barschkis
Reverting some changes that were made in 33317b464777
2020-01-31Fluid: Better default values and cleanupSebastián Barschkis
Use OpenVDB by default, smaller particle radius to avoid volume increase, and shorter names for combined fluid particle systems.
2020-01-29Fluid: Fixes for flow objects and initial velocitiesSebastián Barschkis
This commit cleans up the flow emission code (i.e. the code that determines where flow is generated). It also addresses an issue with initial velocities. Related issues (that might be fixed through this commit) are: T73422, T72949
2020-01-29Fix T73483: Mantaflow: Smoke inflow in liquid domain emits liquidSebastián Barschkis
Added an extra check in the flow object loop that compares flow object type and domain type prior to writing to flow maps.
2020-01-29Fluid: More cleanup related to flow emission mapsSebastián Barschkis
In addition to 4670c68e3dd9544fe14656dacdff641fcabcd540 which removed the unused high-res emission maps.
2020-01-29Fluid: Cleanup in flow emission loopsSebastián Barschkis
- Initial velocities are no longer influenced by surface distance value. - Added optimizations for different flow types (e.g. skip part of loop for liquid flow objects). - Comments style cleanup and removed old todos.
2020-01-29Fluid: Removed the currently unused high-res smoke emission codeSebastián Barschkis
This code is currently not in use and so removing it based on the YAGNI principle. If there really is need for a high-res emission loop it could be easily added again. However, I believe for the smoke noise it is sufficient to upscale the base emission map. A high-res emission map can easily be achieved by increasing the base resolution. Note also that in the new fluid system base loop and noise loop are decoupled making the need for a high-res emission loop even more unneccessary.
2020-01-24Fix T72975: [Mantaflow] Mesh generation bugSebastián Barschkis
The initial value for phi was too high.
2020-01-20Fluid: Fix for liquid domains in cache replay modeSebastián Barschkis
Added missing check that prevented bake from being executed correctly.
2020-01-20Fluid: Fix for smoke domain geometry object with adaptive domain enabledSebastián Barschkis
The smoke mesh geometry always needs to be updated when using the adaptive domain.
2020-01-20Fixed secondary particle combined export functionalitySebastián Barschkis
The combined export was using the old flag format.
2020-01-20Fluid: Improved cache file loadingSebastián Barschkis
Cache file loading for mesh and particle files now works through the direct update_structures functions. The final cache mode now also only bakes the most essential files and is therefore not resumable anymore.
2020-01-16Fix T72860: Mantaflow Fluid Sim fails when simulation starts after frame 1Sebastián Barschkis
2020-01-15Fluid: Fix T72971Sebastián Barschkis
Incorporated suggestions from the task discussion
2020-01-15Fluid: Moved grid reset loop for inner obstacle cells from blenkernel code ↵Sebastián Barschkis
into Mantaflow Having this loop in directly Manta is faster and potentially fixes issues T72783 and T72894.
2020-01-15Fluid: Fix for relative cache pathsSebastián Barschkis
Relative paths in the cache are no longer converted into absolute paths automatically.
2019-12-20Cleanup: spellingCampbell Barton
2019-12-18Fix error assigning the fluid particle flag to the wrong memberCampbell Barton
2019-12-18Fix linking errors WITH_MOD_FLUID=OFF, againCampbell Barton
Expose BKE_fluid_modifier_* functions for readfile versioning.
2019-12-18Fluid: Fix placement of flag resetSebastián Barschkis
Flag reset needs to be placed outside the object loop
2019-12-17Fluid: Fix that maps old smoke and fluid modifiers to new manta modifierSebastián Barschkis
2019-12-17Cleanup: spellingCampbell Barton
2019-12-17Cleanup: renaming guiding -> guideCampbell Barton
The term guide makes sense on it's own in this context.
2019-12-17Cleanup: naming for BKE_fluid particle functionsCampbell Barton
Create/Destroy are more commonly paired terms in BLI/BKE API's.
2019-12-17Cleanup: use uintCampbell Barton
2019-12-17Cleanup: remove redundant string initializationCampbell Barton
Fixed sized strings are always initialized & this is not done elsewhere before calling BLI_path_join. Remove since it's not needed and makes it read as if the function might not initialize the output argument.
2019-12-17Cleanup: use snake case variable & function namesCampbell Barton
2019-12-17Cleanup: sort struct declarationsCampbell Barton
2019-12-17Cleanup: use BKE_fluid prefix for fluid APICampbell Barton
2019-12-17Cleanup: style, always use bracesCampbell Barton
2019-12-17Cleanup: remove redundant headersCampbell Barton
2019-12-17Cleanup: replace 'if 0' with 'DEBUG_PRINT' defineCampbell Barton
Allows enabling debug prints in this file easily, differentiates it from code which has been disabled for other reasons. Also remove unused DEBUG_TIME.
2019-12-17Fix linking errors WITH_MOD_FLUID=OFFCampbell Barton
2019-12-16Mantaflow [Part 11]: Updated entire smoke.c codeSebastián Barschkis
Probably the most significant changes are in smoke.c. New functionality includes: - support for adative time steps (substeps) - write flow objects to grid structure so that Mantaflow can generate levelsets - no more distinction between FLUID_3D and WTURBULENCE objects. Everthing that communicates with Mantaflow now lives in a FLUID object. Reviewed By: sergey Maniphest Tasks: T59995 Differential Revision: https://developer.blender.org/D3861