May 6, 2016, 10:20 (GMT) |
Merge branch 'master' into cycles_panorama_experiments |
May 6, 2016, 09:49 (GMT) |
Speedup of regular 2D painting Yet another commit which makes painting aware of multi-threaded systems. |
May 6, 2016, 09:09 (GMT) |
Merge branch 'asset-engine' into asset-experiments |
May 6, 2016, 09:07 (GMT) |
Do not update asset repo info inside link code. Whole 'database' is rebuilt later anyway, and in more complex 'asset reload' cases (where we may actually be reloading same asset with same uuid from same lib file), this creates confusion... |
May 6, 2016, 08:40 (GMT) |
Cloth: Fix shrinking to properly respond to animated min/max and weight. Enable dynamic restlen recomputation based on sew flag and update the shrink factor math within it to call the new utility function. |
May 6, 2016, 08:40 (GMT) |
Cloth: Change ClothVertex::xrest to actually store the rest position. Originally the value was only needed when building the springs, so a pointer to the input data was somewhat ok. However, recalculating spring length dynamically requires keeping the actual value around. |
May 6, 2016, 08:40 (GMT) |
Part of D1903: Dynamic base mesh for cloth simulation A function that recalculates cloth spring lengths. |
May 6, 2016, 08:40 (GMT) |
Cloth: Ignore zero-restlen sewing springs in average length computation. The average length is used to adjust self-collision and stiffness to match mesh density, and in either case considering the always zero restlen sewing springs doesn't actually make much sense. The struct_springs variable is also used for other things like total spring count, so a new one needed for the true struct springs. |
May 6, 2016, 08:40 (GMT) |
Cloth: Use Geometrical Mean for averaging cloth shrink factor. This comes out of considering a one-dimensional transition in weight on a rectangular cloth grid. At the transition face loop, one side of each rectangular face would be scaled by k1, and the opposite one by k2, thus turning the rectangle into a trapezoid. Averaging would be used to choose the scale factor for the remaining two sides. If Geometrical Mean, i.e. sqrt(k1*k2) is used, it so happens that the diagonals of the trapezoid also end up scaled by sqrt(k1*k2) compared to the original rectangle. This means that the same scale factor is correct for both structural and shear springs, which is not the case with simple average. |
May 6, 2016, 08:40 (GMT) |
Cloth: Fix the shrink feature to be controlled by the sewing spring flag. Previously it was all over the place: without a vertex group it was always enabled, and with it it depended on the Self Collision option due to a likely editing mistake. Now it should be in sync with what disables the fields in the UI. The verts->shrink_factor field is changed to just cache the vertex weight, with the shrink_min/shrink_max interpolation done later. This is because cloth_apply_vgroup only runs if there are vertex groups, and thus the factor may not update after property changes. In addition, bending springs are now also affected by the shrink factor to avoid visible distortion in object shape at high shrink. |
May 6, 2016, 08:40 (GMT) |
Cloth: Invalidate cache when sewing springs are toggled on or off. |
May 6, 2016, 08:40 (GMT) |
Force Fields: Fix Texture with both Use Coordinates and 2D enabled. From description, Use Coordinates evaluates the texture using target coordinates in the local space of the force field object. 2D is supposed to ignore the Z coordinate. Thus one would assume that if both are enabled, the force field effect would move with the force field object, and Z would be 0. However, instead first the 2D option projects points onto a plane passing through the global zero and orthogonal to the local Z, and only then the resulting point is transformed into local space. Z is not locked at 0, so procedural textures like Spherical Blend don't work as expected. To fix this, apply local transform first, and then just clear Z if 2D. |
May 6, 2016, 08:04 (GMT) |
Implement threaded partial display buffer update This speeds up update of display buffer when affected area is big enough. Mainly helpful for cases when doing long fast strokes when painting. |
May 6, 2016, 06:49 (GMT) |
Cleanup: warnings Values set but not used |
May 6, 2016, 00:22 (GMT) |
Fix T48356: Bridge tool creates self-intersecting loop When loops are planar to eachother, initialize their winding based on surrounding geometry. |
May 5, 2016, 23:09 (GMT) |
Use an enumeration for archive compression. |
May 5, 2016, 22:53 (GMT) |
Fix error bridging edge loops flipping Calculating the winding failed when faces exist on both sides of the edge. |
May 5, 2016, 22:49 (GMT) |
Merge branch 'master' into alembic_basic_io |
May 5, 2016, 21:47 (GMT) |
Cycles: Comment out unused function arguments |
May 5, 2016, 21:47 (GMT) |
Multi-thread generated image creation Gives about 2x speedup on laptop when creating new hires generated image, regardless of it's type (color, color grid, uv grid). |
|
|
|


Master Commits
MiikaHweb | 2003-2021