Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-20Outliner: "Show Active" - if active is a child, open tree to show childjulianeisel
Previously, if the active object was a child, "Show Active" only showed the parent object. Now it also opens the tree to take children into account. Patch D974 by @lichtwerk with some minor edits, reviewed by me.
2015-01-20Fix for BI rendering of hair spirals: Was not taking the extra pointsLukas Tönne
into account.
2015-01-20De-duplicate large block of shared code for GL vert attribsNicholas Bishop
Code in ccgdm_draw_attrib_vertex() was entirely the same as the top portion of the code in cddm_draw_attrib_vertex(). Moved this code to a new function, DM_draw_attrib_vertex(). ccgdm_draw_attrib_vertex() was removed in favor of calling DM_draw_attrib_vertex(). cddm_draw_attrib_vertex() still does a couple extra things, so it still exists but calls DM_draw_attrib_vertex(). In the interest of easy code review, no changes made to the code in DM_draw_attrib_vertex() other than the new name and an added comment. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1010
2015-01-20Fix UI glitch: Ctrl/Shift didnt refresh the UICampbell Barton
2015-01-20Fix transform glitch: Ctrl/Shift didn't refreshCampbell Barton
2015-01-20Cleanup: use constCampbell Barton
2015-01-20Fix for crash when using virtual parent hairs and clumping.Lukas Tönne
The paths for parents and children are generated using the same function with a rather obscure test to distinguish them. Modifiers (clump, kink, roughness) should not be applied to parents though.
2015-01-20Cleanup: warningsCampbell Barton
2015-01-20Code cleanup: Unused variable in RNA callbackSergey Sharybin
2015-01-20Fix T42844: Compositor scale offsetSergey Sharybin
Different interpolation methods in compositor could lead to 0.5 pixel offset in final renders. This is because of some inconsistency in integer coordinates which might mean pixel corner or pixel center. Should be all fine now.
2015-01-20Fix error in freestyle apiCampbell Barton
2015-01-20Fixed merge errors.Lukas Tönne
2015-01-20Fix for incorrect DNA field name in versioning, causes constantLukas Tönne
resetting of clump noise size on reload. Conflicts: source/blender/blenloader/intern/versioning_270.c
2015-01-20Use separate flags to enable/disable clump and roughness curves forLukas Tönne
child hairs. This allows disabling the curves temporarily without losing the setup. Conflicts: source/blender/blenkernel/BKE_blender.h
2015-01-20Fix for slow deformation-motionblur in Cycles using the new spiral kinkLukas Tönne
mode. This was caused by variation of the number of keys on child hairs due to shortening of hair curves based on euclidian distances. The other kink modes also shorten hairs, but use the parametric distance instead, which does not vary with deformation of hairs.
2015-01-20Second variant of the copy-to-select operator for particles to onlyLukas Tönne
copy the active particle system (and not remove existing in the process).
2015-01-20Make removal of existing particle systems on copying optional.Lukas Tönne
This will be most useful when copying individual particle systems one-by-one (to be implemented).
2015-01-20Added space selection option to the particle system copy operator.Lukas Tönne
By default this now copies from one object's local space to another object's local space (instead of the previous world space). This is more useful when transferring particles between objects, because it doesn't require moving objects on top of each other, as long as they have similar shapes.
2015-01-20Removed debugging code.Lukas Tönne
2015-01-20Fix for particle system copy: This has to make sure the ORIGSPACE dataLukas Tönne
layer is available. Otherwise particle mapping to the new mesh cannot work with subdivided and constructively-modified meshes.
2015-01-20Changed the workflow for the particle system copy operator to the commonLukas Tönne
active-to-selected pattern.
2015-01-20New operator for copying (hair) particle systems from one object toLukas Tönne
another, including edit data (grooming). This uses basically the same method as the existing connect/disconnect feature. The main difference is that it allows working with multiple objects and transferring the //particle/hair data// instead of the //mesh// data (which is what connect/disconnect expects). This is a much more realistic workflow when rigging, topology etc. changes and groomed hair has to be transferred to the changed model.
2015-01-20Removed unused particles pointer from particle edit data.Lukas Tönne
2015-01-20New texture influence option for particle kink amplitude (as opposed toLukas Tönne
frequency).
2015-01-20Renaming "Kink" texture influence to "Kink Frequency" to be moreLukas Tönne
specific.
2015-01-20Spiral rotation axis was not always fully normalized, avoid an assert.Lukas Tönne
2015-01-20Make random child length work again with the spiral kink mode.Lukas Tönne
2015-01-20Allow clumping and roughness in Spiral kink mode as well.Lukas Tönne
This requires interpolating the parent key properties, because no single parent key can be mapped to each key on the children any more.
2015-01-20Optional randomization factors for the spiral radius and axis orientation.Lukas Tönne
2015-01-20Support in Cycles for the extra spiral keys in hair paths.Lukas Tönne
2015-01-20Nicer calculation of the kink axis and result of the spiraling forLukas Tönne
negative radius.
2015-01-20Removed unused old code.Lukas Tönne
2015-01-20Disable the path length check for spiral kink mode.Lukas Tönne
This test is terribly expensive for some reason and not necessary for for the spiral mode anyway.
2015-01-20Fix for calculation of the key velocity on the last child hair segment.Lukas Tönne
2015-01-20Another crappy approach to spirals on hairs, crazy expensive though.Lukas Tönne
Conflicts: source/blender/blenkernel/intern/particle.c
2015-01-20Spiral kink mode for particles.Lukas Tönne
This is BAD code, but the particle kinking does not make it easy to write a non-local modifier that requires neighboring positions, curvature, etc. The feature is needed for Gooseberry.
2015-01-20Optional clumping noise feature for simulating twisted hair strands.Lukas Tönne
This adds another level of clumping on child hairs. When enabled, child hairs chose a secondary clumping target using a Voronoi pattern. This adds visual detail on a smaller scale, which is useful particularly when the number of parents is relatively small. Natural fibres behave in a similar way when they become sticky and intertwined. Hairs close to each other form a first twisted strand, then combine into larger strands. Similar features can be found in ropes: http://en.wikipedia.org/wiki/Hair_twists http://en.wikipedia.org/wiki/Rope Conflicts: source/blender/blenloader/intern/versioning_270.c
2015-01-20Disable scope updates in texture and image paint modes.Lukas Tönne
Scope update is very slow for high resolutions, and currently blocks the UI thread(!). This is especially terrible in paint modes, where each stroke causes a scope update and unacceptable freezing. The scopes update method tries to avoid this somewhat by skipping if the toolbar is disabled, but this doesn't help when painting where brush tools etc. are frequently needed. It's also a bad-level poll, with the core system accessing a UI element. Eventually scope updates should become a low-priority background job, as well as becoming threaded. Until then this polling provides a usable workaround to the most outrageous cases.
2015-01-20Curve-based control for "roughness" (noise displacement) of child hair.Lukas Tönne
2015-01-20Curve-based control for child path tapering.Lukas Tönne
This is an alternative method to the current fixed function with a clump factor and "shape" parameter. This function is quite limited and does not give the desired result in many cases (e.g. long, parallel rasta strands are problematic). So rather than trying to add more parameters there is now a fully user-defined optional curve for setting the tapering shape.
2015-01-20Moved kink, clump and roughness functions into the dedicated source file.Lukas Tönne
2015-01-20Reorganizing hair child code a little bit to make it not totally insane.Lukas Tönne
This contains a few pieces of code for a future "modifier" system that would allow more flexible combination of effects. Eventually a node system is the way to go, but the current code makes that impossible.
2015-01-20Separate context freeing from task freeing in threaded particle updatesLukas Tönne
to prevent double-freeing/invalid mem access. This can happen with the "virtual parents" feature, which generates both parent and child paths. Each task free function also freed the shared context, leading to double freeing.
2015-01-20Properly register the `mathutils.interpolate` submodule.Lukas Tönne
2015-01-20Fix for invalid access to undefined hair data in edge-only cloth meshes.Lukas Tönne
Cloth data is used both for hair and actual cloth, which makes things really difficult. The face number was used for distinguishing the two types (no faces == hair mesh), but the extra hair data necessary for hair sim is generated by particles and not available for edge-only cloth meshes. This really needs to be sanitized ... Conflicts: source/blender/physics/intern/BPH_mass_spring.cpp
2015-01-20Radical simplification of the wind effect on hair, since the previousLukas Tönne
approach does not work very well. Using a cross section estimate still causes large oscillations due to varying hair force based on angles. It also requires a sensible hair thickness value (particle radius) which is difficult to control and visualize at this point. The new model is based purely on per-vertex forces, which seems to be much more stable. It's also somewhat justified by the fact that each hair vertex represents a certain mass. Conflicts: source/blender/physics/intern/BPH_mass_spring.cpp
2015-01-20Fix for wind force function call.Lukas Tönne
2015-01-20Improved force field effects on hair strands.Lukas Tönne
The previous calculation was modulated with the angle between the wind direction and the segments, which leads to very oscillating behavior. Now the formula includes an estimate for the geometric cross section of a hair segment based on the incident angle and the hair thickness (currently just the particle size). This gives a more stable behavior and more realistic response to wind. Conflicts: source/blender/blenkernel/intern/particle_system.c source/blender/physics/intern/BPH_mass_spring.cpp
2015-01-20New python submodule `mathutils.interpolate` for various mesh interpolation ↵Lukas Tönne
and weighting methods. This module will contain mirrored functions for calculating and applying weights for points on a mesh. This includes barycentric and UV weighting and possibly more advanced global weighting such as harmonic weights. The naming should follow this scheme: <type>_{2d,3d}_{calc,apply} e.g. poly_2d_calc poly_2d_apply uv_3d_calc ... Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D939
2015-01-20Another fix for particle instance child lookups, was not subtractingLukas Tönne
parent amount.