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-03-11Cleanup: spellingCampbell Barton
2020-03-10Fix T74525: Fluid caches overwrite each other by defaultJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7093
2020-03-06Fluid: Cleanup naming for emmission bounding boxSebastián Barschkis
Since the bounding boxes are now also being used for effector objects, there needs to be a better name for them. Instead of calling them EmissionMap, which caters only to emission objects, they will now be called FluidObjectBB.
2020-03-06Cleanup: use 'BKE_' prefix for BKE_deform API callsCampbell Barton
- Use 'BKE_object_defgroup' prefix for object functions. - Rename 'defvert_verify_index' to 'defvert_ensure_index' since this adds the group if it isn't found.
2020-03-05Fluid: Optimization in mesh generating loopSebastián Barschkis
No need to have three separate loops for vertices, normals and speed vectors. Since all of them loop over the vertex count, a single loop can be used.
2020-03-05Fluid: Fix initial velocities for new static emission modeSebastián Barschkis
For now, disabling static mode whenever initial velocities are being used.
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: Fix issue with fire emissionSebastián Barschkis
Fixes weird behavior at inflow regions. Issue was introduced with d6d44ccc7786.
2020-03-04Fluid: Naming cleanup for flags gridSebastián Barschkis
Use flags instead of obstacle to avoid confusion with obstacle levelset grid.
2020-02-21Fluid: Cleanup in cache delete functionSebastián Barschkis
Removed unneccessary calls to BLI_exists() as BLI_delete() does this implicitly.
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-13Cleanup: pass const variablesCampbell Barton
2020-02-11Cleanup: extra semicolons, comma use, undeclared varsCampbell Barton
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