April 5, 2015, 14:02 (GMT) |
Write out sim debug data along with dupli caches, if the global sim debug flag is enabled. |
April 5, 2015, 12:47 (GMT) |
SimDebugData writer/reader for Alembic caches. This will allow debug visualization data to be stored inside caches along the actual simulation state. While the regular simulation allows examining simulation data on-the-fly by stepping through the regular timeline, the new baking mechanism used for caches does not easily allow simulation data to be visualized frame by frame. Caching this data will allow adding it to the global sim debug data. This would also still be very handy if the baking process itself becomes more interactive again. Unlike the current simulation progression, the cached data can be accessed randomly, so scrubbing throught the timeline becomes possible. |
April 5, 2015, 09:54 (GMT) |
Fixed unused parameter warnings in Alembic customdata code. |
April 3, 2015, 13:18 (GMT) |
Added the major parameters for the hair simulation. This is basically copied from existing cloth sim settings, with a good deal of cleanup and sanitization. Unlike cloth parameters, the damping values are described as relative to their associated stiffness values for springs. This is much easier to use in practice and less prone to lead to unstable simulations. Damping simply works best when the force is in the same order of magnitude as the stiffness, so having a relative factor requires much less adjustment on the user side. |
April 3, 2015, 12:20 (GMT) |
Added effector weights for cache hair simulation. |
April 3, 2015, 12:18 (GMT) |
RNA for modifier struct subtypes. Also renamed StrandSimParams to HairSimParams, since strands are only the agnostic data structure, while these parameters are specifically used to simulate hair-like behavior. Other simulations could use strands but implement completely different kinds of physics (e.g. grass, ropes). |
April 3, 2015, 10:32 (GMT) |
"Structural" spring forces for strands. These connect strand points to ensure constant length and form the main spring system in strand simulation. Note that parameters are still hardcoded. |
April 3, 2015, 10:04 (GMT) |
Fix unfreed motion state memory when freeing strand data. |
April 3, 2015, 10:00 (GMT) |
Scalp animation support: copy strand root locations from the rest pose before performing a time step. |
April 3, 2015, 09:38 (GMT) |
Pinning for strand roots. Note that roots are currently not animated. |
April 3, 2015, 09:28 (GMT) |
Use FPS value to sync the strand simulation time with the render time. Additionally the time can be scaled using the timescale parameter. |
April 3, 2015, 09:21 (GMT) |
Correct progression handling of the strands motion state through cache baking. For now this simply applies gravity and applies the basic hair solver for velocities and positions. |
April 2, 2015, 14:39 (GMT) |
Fix for wrong pointer used in the modifier cache copy function. |
April 2, 2015, 13:03 (GMT) |
Force calculation function for strands (only gravity atm). |
April 2, 2015, 11:57 (GMT) |
Sanity check and nicer substep loop for strands simulation. |
April 2, 2015, 11:54 (GMT) |
Fixed writing code for cache modifiers to include extra DNA fields of subtypes. |
April 2, 2015, 11:36 (GMT) |
Fixed DupliCache writers/readers to support subsequent stages of cache manipulation. Strand data in caches is now stored in a named list, so we can avoid adding strand data in every frame. |
April 2, 2015, 10:24 (GMT) |
Merge branch 'master' into alembic |
April 2, 2015, 10:24 (GMT) |
cleanup: warning |
April 1, 2015, 18:31 (GMT) |
Clear duplilist instances when reading from a dupli cache, to avoid generating a new dupli instance on every frame. |
|