Blender Git Loki

Git Commits -> Revision 11b2550

Revision 11b2550 by Brecht Van Lommel (render25)
May 18, 2010, 16:40 (GMT)
Render Branch: implicit solver for hair now calculates forces and does
integration separate per hair. This increase the stability of the hair.

I found that usually the conjugate gradient takes about 4-8 steps, but
it sometimes takes 20 or even does not converge, and returns bogus
velocities. I'm not entirely sure why that is, but it seems logical
that a smaller system would be more numerically stable. What I suspect
is that since there are many hairs, and it tests for the average error
of those hairs, a few hairs may be able to hide their high error in this
average.

I've tried to not make the code too ugly but's there's a few stupid
hacks, maybe eventually it would be better to have a separate hair and
cloth function that calls common functions.

Also for threading, hairs can now be distributed over threads. There
still seems to be too much thread overhead though, should find a way
to keep all threads running for the entire timestep.

Commit Details:

Full Hash: 11b2550c2bc46c1970411f0cd6c342fdfab348ee
SVN Revision: 28839
Parent Commit: 81f3fc3
Lines Changed: +208, -58

4 Modified Paths:

/source/blender/blenkernel/intern/cloth.c (+12, -3) (Diff)
/source/blender/blenkernel/intern/implicit.c (+171, -52) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+20, -3) (Diff)
/source/blender/makesdna/DNA_cloth_types.h (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021