Blender Git Commits

Blender Git "hair_system" branch commits.

Page: 8 / 35

October 31, 2014, 19:29 (GMT)
Reimplemented the voxel texture type for displaying hair continuum grids.
October 31, 2014, 16:10 (GMT)
Expose hair grid info in the RNA (read-only); it can be useful for
debugging purposes.
October 31, 2014, 15:33 (GMT)
Debug visualization code of a slice of the hair velocity vector field.
October 31, 2014, 15:30 (GMT)
Removed arbitrary factor 2.0 on volumetric hair friction factor.

This was introducing energy into the system for any factor beyond 0.5
and caused major instability.
October 31, 2014, 14:20 (GMT)
Fill the hair volume grid with the _new_ velocities from the first
solver step, instead of using the previous step's velocities.
October 31, 2014, 13:45 (GMT)
Merge branch 'master' into viewport_experiments
October 31, 2014, 13:23 (GMT)
Debug drawing feature to visualize the hair continuum grid.
October 31, 2014, 10:59 (GMT)
Perform grid-based velocity smoothing for hair outside of the implicit
solver step.

Calculating forces and jacobians from linearly interpolated grid values
is problematic due to discontinuities at the grid boundaries. The new
approach of modifying velocities after the backward euler solver step
was suggested in a newer paper

"Detail Preserving Continuum Simulation of Straight Hair"
(McAdams, Selle 2009)
October 30, 2014, 21:34 (GMT)
Merge branch 'master' into gooseberry
October 30, 2014, 15:26 (GMT)
Experimental color wire-frame (for testing in the studio)
October 30, 2014, 15:17 (GMT)
Fix for warnings/errors
October 30, 2014, 15:02 (GMT)
Merge branch 'master' into hair_immediate_fixes
October 30, 2014, 14:59 (GMT)
Reorganizing hair dynamics UI layout a bit to make settings slightly
more intuitive.

Also removed a couple of unused or useless features from the UI:
* collider friction is unused and replaced in favor of true collision
* spring damping refers to structural springs (stretch), which is
not noticable in hair due to extreme stiffness atm.
* pressure factors are not sure since this feature is too unstable atm.
October 30, 2014, 14:59 (GMT)
Disabled the hair preview feature in the code, due to limited usefulness.

Interpolating hairs in a meaningful way is a quite difficult problem.
It works ok-ish for child hairs as long as they don't move, but with
motion the direction of interpolated hairs can become quite nonsensical
quickly.

Probably a better way to create simulation previews is to limit
simulation to a particular well-defined area (like render preview
borders), but run it in full detail in that area. The error from
omitting some interaction should still be much less than orientation
errors from interpolation.
October 30, 2014, 14:59 (GMT)
Moved render simplification function for particle distribution into the
distribution code.
October 30, 2014, 14:59 (GMT)
Removed unused variable.
October 30, 2014, 14:59 (GMT)
A little bit of code sanity by splitting particle distribution function
by type.

Instead of squashing totally unrelated code into the same monster
function.
October 30, 2014, 14:59 (GMT)
Moved particle code for distributions into own file to make hacking
easier.

This code is badly broken and needs to be replaced, but at least having
a workable code structure might help with quick hacks to fix the worst
cases.
October 30, 2014, 14:59 (GMT)
Removed unused line.
October 30, 2014, 14:59 (GMT)
Switched back to blender implicit solver for merge.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021