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
2017-11-14Smoke: Pass non-trivial arguments by const referenceSergey Sharybin
2017-01-09Cleanup: Strict CLang warning in Smoke moduleSergey Sharybin
2017-01-09Cleanup: IndentationSergey Sharybin
2016-08-02Fix T43220, T47551: collider scaling or rotation causes smoke to explode.Alexander Gavrilov
The problem happens because smoke collides only with the surface of the collider and uses incompressible fluid solver. This means that scaling the collider tries to compress or decompress fluid within the volume of the collider, which can't be handled by the simulation. Fast rotation likely also causes transient scaling due to emulation of arcs by chords. This can be fixed by finding compartments completely isolated by obstacles from the rest of the domain, and forcing total divergence within each one to be zero so that equations are solvable. Physical validity is somewhat dubious, but without this the solver simply breaks down. From the physics point of view, the effect of the correction should be similar to opening a hole from every cell to another dimension that lets an equal amount of air to pass through to balance the change in volume. Reviewers: miikah, lukastoenne Reviewed By: lukastoenne Subscribers: dafassi, scorpion81, #physics Maniphest Tasks: T43220, T47551 Differential Revision: https://developer.blender.org/D2112
2016-01-09Smoke (fire): Move spectrum code from C++ (intern/) to C code (BLI)Kévin Dietrich
This change is for a few reasons: - it works with color, and (therefore) will need to be color managed, at some point. This will be much easier to do if the code is closer to the actual color management code (in Blender's core, so to speak). - it has nothing to do with the actual fire simulation, as it is just used to create a lookup table - it can be reused for other purposes (i.e. in Blender internal renderer, if people are interrested in a blackbody node à la Cycles) - cleanup: some functions (`contrain_rgb`, `xyz_to_rgb`) already exist in BLI Reviewers: brecht Reviewed By: brecht Subscribers: brecht Differential Revision: https://developer.blender.org/D1719
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-02-08CMake: only quiet warnings for generated rna filesCampbell Barton
also minor warning cleanup
2015-02-06Fix T43515: Initial velocity for fire bugMiika Hamalainen
Visual representation of fire was generated before simulation step took place. This caused fire to essentially lag one simulation step behind, even though all emission areas were up to date.
2014-08-07Cleanup: Remove special code for Visual Studio 2008.Thomas Dinges
Goodbye VC2008, it has been a pleasure (more or less) :D SCons / CMake cleaenup will follow. Differential Revision: https://developer.blender.org/D715
2014-07-01CMake: correct include dirsCampbell Barton
2014-01-03Code Cleanup: WIN32 defines, check for _MSC_VER instead of !FREE_WINDOWSCampbell Barton
2014-01-03Fix T37987: MSVC 2013 has C99 headers and warns for out define hypot _hypot ↵Martijn Berger
for good reason it seems
2013-07-16fix for checking char arrays against NULL, instead check their first ↵Campbell Barton
character. also remove some dead code (return directly after return).
2013-05-21Smoke: Remove accidental leftover code from gSoC Smoke + my Smoke code merge. Daniel Genrich
Thanks to Miika for pointing this issue out and fixing it.
2013-05-21Fix: Smoke simulations of very high resolutions often produced weird ↵Miika Hamalainen
results, as if smoke was colliding in an invisible wall. This was caused by a "hack" Daniel Genrich introduced in his moving obstacles commit in r46050. I suppose it was originally added to prevent issues with too fast moving obstacles, but now it ended up limiting maximum velocity of higher resolution simulations. Here is an comparision of 184 resolution simulation (simulation area limited by adaptive domain): https://www.miikah.org/blender/smoke_with_pressure_limit_hack.png https://www.miikah.org/blender/smoke_without_pressure_limit_hack.png I now reverted that hack until a better solution is found. Daniel, can you check this out? Pressure was limited to maximum of dt * dx (= dt / res) which doesn't make sense to limit pressure based on grid resolution. Maybe better to limit with a constant factor instead?
2013-05-21Fix: Smoke simulator produced slightly different results on every run if ↵Miika Hamalainen
openmp was enabled. This was a typical threading issue. Move that particular function out of the parallel block.
2013-05-20Fix: smoke noise tile was saved in Blender executable directory, which is ↵Miika Hamalainen
often write protected on modern systems. This caused high resolution smoke to always regenerate new tile when domain was reinitialized, slowing down especially adaptive domain simulations. Now noise tile is saved in Blender temp directory instead.
2013-04-16use psys->seed for smoke random number generator, increase size of ↵Campbell Barton
MATHUTILS_TOT_CB and reduce float->double conversions.
2013-04-11code cleanup: unused defines, remove unused scanfill success value from ↵Campbell Barton
BLI_scanfill_begin().
2013-03-19Smoke Bugfix /enhancement: Load pre 2.65 pointcaches.Daniel Genrich
Warning: Just make sure that you DON'T free the cache at any point. This patch can only display existing pointcaches from e.g. 2.64
2013-02-27Fix various warnings with clang build, and adjust cmake clang warnings flagsBrecht Van Lommel
to include a few more that gcc is using too.
2013-02-19internal: add include so blender builds against libpng1.6 Campbell Barton
2013-02-12Smoke simulator: add more float precision checks to make sure other data ↵Miika Hamalainen
types don't get messed up either. (Relating previous fire fixes)
2013-02-11quiet -Wnarrowing warning.Campbell Barton
2013-02-04style cleanupCampbell Barton
2013-01-03add option WITH_SYSTEM_BULLET to link against the bullet installation found ↵Campbell Barton
on the system. Note: this doesn't work yet for everything with latest stable bullet (2.81), need to look into why and likely apply some patches upstream. However I managed to link blender by disabling some features, likely it can be made to work without too much trouble.
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-05Fix #33411: Smoke simulator using uninitialized noise tileMiika Hamalainen
If loading an existing FFT noise tile failed the tile in memory was left uninitialized.
2012-12-05Fix #33411: crash baking smoke with FFT high resolution.Brecht Van Lommel
CMake had FFTW disabled by default, and when FFTW was not enabled it lead to uninitialized memory usage. Now it falls back to wavelet if there is no FFTW, and I've enabled it by default in CMake. If it's not found on Linux it will get disabled automatically.
2012-10-31style cleanup and correct own invalid comment.Campbell Barton
2012-10-24code cleanup: some edits for unused vars in recent smooth addition and some ↵Campbell Barton
style edits.
2012-10-20style cleanupCampbell Barton
2012-10-16Smoke: Animated collision objects do no longer block smoke. Smoke gets ↵Daniel Genrich
transfered velocity from moving collision object. Result: http://www.youtube.com/watch?v=KRtc8eAgaZA Part of my Blender Development Project Phase III, merged from Smoke2 branch WIP docs: http://wiki.blender.org/index.php/User:Genscher/Smoke_Development_Project_2012
2012-10-15Smoke: Merge parts of Smoke2 branchDaniel Genrich
New: ---------- Collision objects do cause vorticity when passing through smoke Part of my Smoke Development Project (milestone III)
2012-10-15Solve some issues with smoke when using strict compile flagsSergey Sharybin
- Mark some functions as static - ifdef-ed currently unused functions from spectrum.cpp - Fixed missing prototype for smectrum() function
2012-10-14code cleanup: remove redundant castsCampbell Barton
2012-10-10Google Summer of Code project: "Smoke Simulator Improvements & Fire".Daniel Genrich
Documentation & Test blend files: ------------------ http://wiki.blender.org/index.php/User:MiikaH/GSoC-2012-Smoke-Simulator-Improvements Credits: ------------------ Miika Hamalainen (MiikaH): Student / Main programmer Daniel Genrich (Genscher): Mentor / Programmer of merged patches from Smoke2 branch Google: For Google Summer of Code 2012
2012-09-16code cleanup: quiet warnings for gcc's -Wundef, -Wmissing-declarationsCampbell Barton
2012-08-10Smoke: High res on even resolution did not write to all cells (downsampling ↵Daniel Genrich
= n-1, upsampling = n). Thanks goes to MiikaH.
2012-08-02Bugfix: High resolution "exploded" when using uneven resolutions, sometimes ↵Daniel Genrich
with specific object scaling. Part of Smoke Development Phase III. Credit also goes to MiikaH: It was a teamwork effort and took days to track down. :)
2012-07-17code cleanup: spellingCampbell Barton
2012-07-03fix for smoke writing uninitialized values to pointcache, not a big deal ↵Campbell Barton
since they are ignored on reading.
2012-07-02Smoke Bugfix: Turbulence was removed.Daniel Genrich
2012-07-02Bugfix for wrong / bad vorticity forming weird banding on the y and z axis. Daniel Genrich
Part of Blender Smoke Develeopment Milestone III.
2012-06-11correct freeing C++ arrays.Campbell Barton
2012-05-27Smoke:Daniel Genrich
a) Another boundary fix. Resulted in smoke getting "sucked" back into the domain b) Disabling substeps (internal thing). Fixes arbitrary explosions/instabilities. Part of my Blender Smoke Development.
2012-05-27Fix for smoke boundary conditions: "Open borders" behaved differently for ↵Miika Hamalainen
positive and negative axises. + Some code cleanup.
2012-05-25Smoke: Start fixing scaling issues which happen with non cube-shaped domains.Daniel Genrich
Detail: Smoke solver and Blender side of smoke now share the same cell length. First reported by the Sintel artists long ago, again reported by MiikaH. Part of my Smoke Development Project Phase III.
2012-04-30Fix compile error with msvcDaniel Genrich