Go to file
Luca Rood 4f4a484b9b Cloth refactor: Remove goal springs and some other cleanup
This removes the goal springs, in favor of simply calculating the goal forces on the vertices directly. The vertices already store all the necessary data for the goal forces, thus the springs were redundant, and just defined both ends as being the same vertex.

The main advantage of removing the goal springs, is an increase in flexibility, allowing us to much more nicely do some neat dynamic stuff with the goals/pins, such as animated vertex weights. But this also has the advantage of simpler code, and a slightly reduced memory footprint.

This also removes the `f`, `dfdx` and `dfdv` fields from the `ClothSpring` struct, as that data is only used by the solver, and is re-computed on each step, and thus does not need to be stored throughout the simulation.

Reviewers: sergey

Reviewed By: sergey

Tags: #physics

Differential Revision: https://developer.blender.org/D2514
2017-03-23 03:52:46 -03:00
build_files Fix T51024: Switch install_deps to set OSL_ROOT_DIR instead of CYCLES_OSL. 2017-03-22 12:05:43 +01:00
doc Cleanup: Grey --> Gray 2017-02-27 19:33:57 -05:00
extern Update CLEW to latest version 2017-03-21 12:01:03 +01:00
intern Cycles: Fix building for some compilers 2017-03-23 00:14:48 -04:00
release Cleanup: especially non pep8 parts of Py UI 2017-03-20 09:49:35 +11:00
source Cloth refactor: Remove goal springs and some other cleanup 2017-03-23 03:52:46 -03:00
tests BLI_path_util: add BLI_path_name_at_index 2017-03-22 19:34:43 +11:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Update .gitignore to some more generated/non-git-stored files. 2016-08-21 22:40:57 +02:00
.gitmodules Add developer tools submodule 2016-07-15 01:28:00 +10:00
CMakeLists.txt Cleanup: code style & cmake 2017-03-12 02:47:53 +11:00
COPYING
GNUmakefile Makefile: set tab width=4 2017-03-11 20:48:12 +11:00
make.bat Make File: Print 'blender.exe' at the end of the path to run from 2017-02-16 17:08:33 -05:00