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-20Fix T73979: Wrong location of fluid mesh when domain origin is not in centerJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7802
2020-05-06Fix T76430: Quick smoke not rendering Cycles and EeveeSebastián Barschkis
Temporary fix that will skip cache invalidation from flow / effector objects.
2020-04-30Fluid: Removed domain size option from diffusion panelSebastián Barschkis
Domain size parameter no longer needed (unsed right now). Domain size is directly taken from object.
2020-04-23Fix T73680: Scene and fluid modifier gravity are scaled differentlyJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7483
2020-04-23Fix T76008: Fluid inflow with negative initial velocity is not workingJacques Lucke
This is a regression introduced in rBa0fe22095e6d9b8b194c2cf6f9a7c7b419d7e61c. I changed it so that the velocity with the highest magnitude is considered and not the highest value per coordinate. Reviewers: sebbas Differential Revision: https://developer.blender.org/D7502
2020-04-22Cleanup: Fix strict compiler warningSergey Sharybin
2020-04-22Fluid: Use maximum for initial velocity grid applicationSebastián Barschkis
Using MAX2 when writing intial velocities into the grid prevents overriding initial velocities when using multiple flow objects that are close to each other.
2020-04-22Fluid: Fixes for cache 'Replay' modeSebastián Barschkis
General fixes and improvements for the cache. Previous commits on fluids broke the 'Replay' cache a bit.
2020-04-22Fluid: Fix for caches being released when file is loadedSebastián Barschkis
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: Improved cache 'Replay' optionSebastián Barschkis
When using the 'Replay' cache mode the cache needs to be invalidated whenever simulation variables have been changed. The invalidation will always only affect the according subcaches, e.g. when changing a mesh paramter only the mesh cache will be invalidated, the base cache will remain intact. Before this change Blender always invalidated the entire cache.
2020-04-15Mantaflow: Change Defaults to Improve Instantaneous PlaybackAaron Carlisle
- Change the default cache method to replay - Change the default resolution to 32 (The same as old smoke) which have a speedup of about 4x (~4 FPS vs. ~16 FPS on initial playback) Peformance was tested with 3700x and RTX 2070 Differential Revision: https://developer.blender.org/D6853 Fixes T73799
2020-04-09Fluid: Fix unused variablesSebastián Barschkis
Unsed variables for fluid caching.
2020-04-08Fluid: Disable subframes when using adaptive time-steps in the first frameSebastián Barschkis
First frame should only produce inflow once and not compute the emission for the frame before the first frame. Problem became evident 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-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-02Fluids: improve subframe handlingJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7256
2020-04-01Cleanup: clang-formatCampbell Barton
2020-03-31Fix T75210: Frame range does not go down to 0 in the physics tab for ↵Sebastián Barschkis
mantaflow when clicking the left arrow Added nore flexibility to cache frame range and ensured validity of frame range.
2020-03-29Fluid: Use dynamic mode whenever active rigid bodies are in the sceneSebastián Barschkis
Required for collisions with moving rigid bodies. Otherwise the static optimization mode will be kept and the obstacles would be calculated only once at the beginning.
2020-03-27Fix T74642: Take gravity field weight into accountJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7227
2020-03-27Fix T75111: Crash when using subframes for animated fluid colliderJacques Lucke
This is not dependent on having an armature as mentioned in T75111. The collider simply has to be animated. Reviewers: sebbas Differential Revision: https://developer.blender.org/D7251
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-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-20Fix T74154: Mantaflow crash: Baking data for domain type fluid on a plane.Sebastián Barschkis
Added sanity check to prevent bakes from being triggered when there is no fluid object present.
2020-03-19Cleanup: fix typos in commentsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D7133
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-19Cleanup: `make format` (and adding . to end of comment)Dalai Felinto
2020-03-19Fluid: Fixed issue with intial velocities in liquid domainsSebastián Barschkis
The fix for T74762 (bf9c4af9bb74) introduced this issue. Initial velocities were not applied to liquids anymore.
2020-03-17Fix T74762: Mantaflow: Non emmiting flow source affects simulationSebastián Barschkis
2020-03-17Fluid: Fixes for new abort bake faster featureSebastián Barschkis
In addition to previous commit that made it possible to abort bakes faster.
2020-03-17Fluid: Abort baking jobs fasterSebastián Barschkis
With this change baking jobs will be aborted faster. The user will not have to wait for the current frame to finish baking. The bake job will exit early and discard the incomplete frame.
2020-03-17Fluid: Re-dded Empty Space option in the UISebastián Barschkis
This option existed already and was just hidden in the UI. With the new fluids system though, it will only be used for rendering - and not to optimize the cache.
2020-03-15Fix potential NULL pointer de-reference creating liquid geometryCampbell Barton
2020-03-15Cleanup: avoid setting float values by bit-patternCampbell Barton
Replace memset with copy_vn_fl, note that the exact values are slightly different in this case. The value being set was close to FLT_MAX.
2020-03-15Cleanup: redundant assignmentsCampbell Barton
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-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