Blender Git Loki

Git Commits -> Revision 702d6a9

Revision 702d6a9 by Lukas Toenne (hair_system, testbuild)
July 27, 2014, 12:00 (GMT)
Basic solver class, to perform iterative simulation of hair (eventually).

Data from DNA can be copied into a SolverData struct for optimized
solver access. This should happen any time the data layout is changed in
the DNA (points/hairs added or removed), since the solver works on fixed
datasets only. After each time step the solver result can be applied
back to the DNA data for display, tools etc.

It may be beneficial to keep the solver and its data around between time
steps, so the data does not get deleted automatically after applying.
Initializing the data, applying and freeing are separate functions.

Commit Details:

Full Hash: 702d6a91c5d66741798d141285f68c00cc21f429
Parent Commit: 555a83b
Lines Changed: +256, -15

2 Added Paths:

/source/blender/hair/intern/HAIR_solver.cpp (+79, -0) (View)
/source/blender/hair/intern/HAIR_solver.h (+70, -0) (View)

6 Modified Paths:

/source/blender/editors/space_view3d/drawhair.c (+1, -1) (Diff)
/source/blender/hair/CMakeLists.txt (+2, -0) (Diff)
/source/blender/hair/HAIR_capi.cpp (+77, -6) (Diff)
/source/blender/hair/HAIR_capi.h (+13, -6) (Diff)
/source/blender/hair/intern/HAIR_curve.cpp (+10, -0) (Diff)
/source/blender/hair/intern/HAIR_curve.h (+4, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021