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
2018-02-23Smoke: add temperature grid, with values 0..1 corresponding to 0..1000K.Brecht Van Lommel
2018-02-18Fix T54089: missing GLSL material draw update when changing object pass index.Brecht Van Lommel
2018-02-15Simple hair children: Make twist affected by textureSergey Sharybin
This completes twist feature, which is now possible to also control by texture. Since textures can not easily contain negative values as well, same trick with 0.5 neutral as vertex groups is used. All in all, this twist features allows to do following things. Original hair: {F2287535} Hair with scientifically calculated twist value of 0.5: {F2287540} And we can also twist braids in opposite directions dependent on left/right side: {F2287548}
2018-02-15Simple hair children: Make twist affected by vertex groupSergey Sharybin
The idea is to give a control over direction of twist, and maybe amount of twist as well. More concrete example: make braids on left and right side of character head to be twisting opposite directions. Now, tricky part: we need some negative values to flip direction, but weights can not be negative. So we use same trick as displacement map and tangent normal maps, where 0.5 is neutral, values below 0.5 are considered negative and values above 0.5 are considered positive.
2018-02-15Simple hair children: Initial implementation of twist controlSergey Sharybin
It allows to have children hair to be twisted around parent curve, which is quite an essential feature when creating hair braids. There are currently two controls: - Number of turns around parent children. - Influence curve, which allows to modify "twistness" along the strand.
2018-02-12BKE_addon: new/free/ensure functionsCampbell Barton
2018-02-09Cycles: add random walk subsurface scattering to Principled BSDF.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3054
2018-02-09Cycles: random walk subsurface scattering.Brecht Van Lommel
It is basically brute force volume scattering within the mesh, but part of the SSS code for faster performance. The main difference with actual volume scattering is that we assume the boundaries are diffuse and that all lighting is coming through this boundary from outside the volume. This gives much more accurate results for thin features and low density. Some challenges remain however: * Significantly more noisy than BSSRDF. Adding Dwivedi sampling may help here, but it's unclear still how much it helps in real world cases. * Due to this being a volumetric method, geometry like eyes or mouth can darken the skin on the outside. We may be able to reduce this effect, or users can compensate for it by reducing the scattering radius in such areas. * Sharp corners are quite bright. This matches actual volume rendering and results in some other renderers, but maybe not so much real world objects. Differential Revision: https://developer.blender.org/D3054
2018-02-09Doc: attempt to document RNA's FunctionFlag.Bastien Montagne
Tired of searching through code to find which is what, and how to use it in the C callback, everytime I need anot-so-common option...
2018-02-08Remove Carve booleanSergey Sharybin
We've got quite comprehensive BMesh based implementation, which is way easier for maintenance than abandoned Carve library. After all the time BMesh implementation was working on the same level of limitations about manifold meshes and touching edges than Carve. Is better to focus on maintaining one boolean implementation now. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D3050
2018-02-08Fail gracefully when editmode data doesn't existCampbell Barton
Sync changes from 2.8
2018-02-07Cleanup: add _types.h suffix to DNA headersCampbell Barton
2018-02-03Cycles: add Vector Displacement node and extend Displacement node.Brecht Van Lommel
This adds midlevel and object/world space for displacement, and a vector displacement node with tangent/object/world space, midlevel and scale. Note that tangent space vector displacement still is not exactly compatible with maps created by other software, this will require changes to the tangent computation. Differential Revision: https://developer.blender.org/D1734
2018-01-31I18n disambiguation: IRIS is both a file format and a VSE wipe effect...Bastien Montagne
At some point, we could probably think about removing IRIS file format support, don't think there are much of those around anymore. But for now, let's add a translation context to wipe effect. :) Reported in T43295 by @blend-it, thanks.
2018-01-31WM: correct comment, variable name for addonsCampbell Barton
2018-01-30Fix T52520: Metaballs in edit mode causes infinite Cycles viewport resetSergey Sharybin
The issue was introduced by eb016eb as a fix for T41258, which added depsgraph tagging with zero flag. The comment was saying that it's to make derived caches to be updated, however bot sure how that could possibly work: tagging ID for update with 0 flag only sets updated tags in bmain in old dependency graph. In the new depsgraph, where object data is a part of depsgraph, doing such a tag forces object to be updated, which re-triggers viewport rendering, which is causing such an infinite viewport render rest. Can not reproduce any crashes here, so maybe it's fine to move on with this change.
2018-01-29Cleanup: rename user preference flagsCampbell Barton
USER_ZBUF_ORBIT -> USER_DEPTH_NAVIGATE The name didn't make sense since it's used for all view navigation. Also rename USER_ZBUF_CURSOR -> USER_DEPTH_CURSOR since zbuf is an internal detail.
2018-01-28Cleanup: style, spellingCampbell Barton
2018-01-26Related to T53003: tweak scene fps range.Bastien Montagne
Move restricted 'reasonable' range to ui_range, and allow wider values for manual settings.
2018-01-26Docs: invoke_search_popup uses bl_propertyCampbell Barton
Also add code example in docs.
2018-01-23Cleanup: some ED_view3d functions used uppercase DCampbell Barton
2018-01-19WM: operator flag to check repeat/redo executionCampbell Barton
2018-01-19Cleanup: typosCampbell Barton
2018-01-16Cleanup: Naming of depsgraphSergey Sharybin
2018-01-15Sculpting: Sdd an option to hide mask in viewportSergey Sharybin
Brushes themselves are still affected by the mask, but the viewport is not showing the mask. This way it's easier to see details while sculpting. Studio request by Julien Kaspar
2018-01-15RNA: Add RNA_property_string_set_bytesCampbell Barton
This is needed to set values that contain zero bytes (where the length isn't fixed).
2018-01-12User Prefs: app-template option to hide the cursorCampbell Barton
2018-01-12User Prefs: add new flag for app-template optionsCampbell Barton
For experimental options, outside the scope of typical preferences. While templates are developed we might want to make changes to behavior which aren't fully compatible with typical work-flows. Instead of mixing these options in with current preferences expose separately (we could even force disable them when templates aren't int use)
2018-01-11UI: option not to show screen splitting widgetsCampbell Barton
Request for simplified Blender template, this may be extended to limit access to other UI changes that could be pressed by accident.
2018-01-11Cleanup: BKE naming conventions for datablock add/localizeCampbell Barton
Conventions were already followed nearly everywhere.
2018-01-10RNA: Increase memory limit settings to their possible max on platformSergey Sharybin
This is quite common to have 64GB memory now, and even 128. There is no reason to add any artificial caps on the cache and undo memory here. We can not protect against using too much memory in one cases and allow use of full computer potential in others. Now 32 bit will use 2GB max (as it used to be), but 64bit will use whatever number of megabytes fits into integer. Reviewers: campbellbarton, mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D2972
2018-01-10Alternate fix for brush user countCampbell Barton
This reverts change to BKE_brush_add, callers now remove the extra user. Note this isn't very convenient for callers but is consistent with other ID types. In the future we will probably remove this and have new ID's created with zero users.
2018-01-10Correction to brush user commitCampbell Barton
RNA API was compensating for the extra user.
2018-01-10Correct typosCampbell Barton
2018-01-10Fix T53491: Absolute tablet motion detection failsCampbell Barton
When using a tablet, detecting absolute motion only worked when activating a tool with the tablet. Pressing Enter to run a tool for e.g. would use relative motion. Now store is_motion_absolute in the event, set for new events based on the most recent motion events.
2018-01-09Fix (unreported) potential crash.Bastien Montagne
RNA_pointer_as_string could return NULL instead of a valid string in some cases.
2018-01-09Add deform axis for Simple Deform modifierCampbell Barton
D2989 by @dmarra w/ own edits
2018-01-06Fix T47212: Luminance Key not working with HDR and out-of-gamut ranges.Aaron Carlisle
Differential Revision: https://developer.blender.org/D2981
2018-01-06Fix T53650: remove hard limits on force field size and max distance.Philipp Oeser
Differential Revision: https://developer.blender.org/D2987
2018-01-03Missing from last commitCampbell Barton
2018-01-03Fix T53632: Objects outside scene shown in popupCampbell Barton
Only show objects in current scene when not pinned. This commit adds a filter argument to id-template since we may want to filter by other criteria.
2017-12-21Depsgraph: Bring timing statistics to the new dependency graphSergey Sharybin
This statistics is only collected when debug_value is different from 0. Stored in depsgraph node itself, so we can always have access to average data and other stats which requires persistent storage. This way we also don't waste time trying to find stats from a separately stored hash map.
2017-12-21Depsgraph: Make it more clear that we dump relations into graphvizSergey Sharybin
We might implement other things to dump into graphviz, so better to start having explicit names.
2017-12-21Depsgraph: Remove eval priority from debuggerSergey Sharybin
This needs to be redone anyway, to correspond to possibly new priorities calculated for evaluaiton.
2017-12-19Fix crash in RNA when accessing empty property_tags listJulian Eisel
E.g. running `bpy.context.active_object.cycles.bl_rna.property` in the console would crash. Thanks @lijenstina for reporting!
2017-12-19Tracking: Add missing animation path fix after renaming tracksSergey Sharybin
2017-12-19Tracking: Disable animation of auto-keyframe optionSergey Sharybin
2017-12-19Tracking: Use new RNA path utility functionsSergey Sharybin
2017-12-19Tracking: Remove duplicated functionsSergey Sharybin
2017-12-15Move ID recalc flags into dedicated field in IDSergey Sharybin
Currently this is a no-visible-changes change, but the idea is to use this dedicated flag to tell which exact components of ID changed, make it more granular than just OBJECT and OBJECT_DATA. Allow setting this field based on what components new dependency graph flushed on evaluation.