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-07-03Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' namingSebastián Barschkis
Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
2020-07-02Fluid: Added offset to control frame rangeSebastián Barschkis
Added an offset field to control when to load the simulation files. Since this is a very small but helpful addition it is in my view safe to commit at this point of the bcon cycle.
2020-06-24Fluid: Use OpenVDB as the default cache format for liquids tooSebastián Barschkis
With the updated OpenVDB setup, it is now perfectly fine to use OpenVDB for liquid domains.
2020-06-24Fluid: Improved OpenVDB support for fluid cachesSebastián Barschkis
This commit makes uses of the new OpenVDB IO in Mantaflow (introduced in 781f783a66ac). From now on, fluid cache files in OpenVDB format will contain a list of grids per frame (before: one .vdb file per grid per frame). Besides regular grids, particle systems are also stored using OpenVDBs PointGrid data structures. All older cache formats will remain fully functional: - Uni caches (.uni) files are still available from the UI and can be used as before - Raw caches (.raw) are no longer available from the UI, but loading them is still possible - Old OpenVDB caches (one .vdb per grid) can no longer be baked either, but loading them is still possible. It is also no longer possible to choose file formats for 'Noise' and 'Particles'. Instead there are now options to set the file format for 'Volumetric' and for 'Mesh' data. Known issues (planned to be resolved soon): - OpenVDB files are currently not taking into consideration the clipping value (FluidDomainSettings). Empty cells are therefore being written too. Depending on the scene, this can make file sizes unnecessarily large. - Domains are not being exported at their world position. Instead they are always clipped to the origin.
2020-06-24Cleanup: redundant self assignmentCampbell Barton
2020-06-24Cleanup: clang-formatCampbell Barton
2020-06-19Cloth: allow forces to act parallel to cloth.Alexander Gavrilov
Currently all force effectors can only act on cloth when the force is perpendicular to the surface. This makes sense for wind, but not for other forces; and the user may want even wind to have some friction. This changes effector code to output two force vectors - although you of course can pass the same pointer for both. The force is split between the two outputs based on a new per-effector setting. Differential Revision: https://developer.blender.org/D8017
2020-05-20Merge branch 'blender-v2.83-release'Clément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_volumes.c
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-17Fluid: Bake cache for more frames by defaultSebastián Barschkis
2020-05-17Fix T74060: Smoke flow force field not working with Mantaflow GasSebastián Barschkis
cb252ca8d316 was also needed to fix the velocity loading from the cache.
2020-05-17Fluid: Foundation for new OpenVDB file IOSebastián Barschkis
This commit lays the foundation for support for OpenVDB caching with multiple grids per cache file.
2020-05-14Fluid: Rename smoke flow forces to fluid flow forcesSebastián Barschkis
Better to use more general term since in theory these forces can be used for smoke and liquid.
2020-05-08Cleanup: clang-formatCampbell Barton
2020-05-08Fix T76498: Refactoring - Rename BKE modifiers funtionsAntonio Vazquez
2020-05-07Fluid: Use cached value for total time valueSebastián Barschkis
The old time_total initialization was in trouble if scenes made use of a variable framelength (e.g. by animating the time scale parameter).
2020-05-06Merge branch 'blender-v2.83-release'Sebastián Barschkis
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-30Fix T76097: Simulations don't take animated gravity into accountSebastián Barschkis
Together with 21485e94aac1 this commit should fix the issue with animated gravity values.
2020-04-30Fluid: Refactored fluid gravity settingsSebastián Barschkis
Refactored setup that converts from Blender to Mantaflow units.
2020-04-30Fluid: Minor cleanup and sanity checksSebastián Barschkis
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.