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
2022-05-05Curves: control number of control points in new curvesJacques Lucke
Previously, the number of control points in a new curve was hardcoded. Differential Revision: https://developer.blender.org/D14857
2022-05-05Cleanup: Rename field input class nameHans Goudey
2022-05-05Curves: show Front Faces Only option in tools panelJacques Lucke
2022-05-05Curves: unify "Front Faces Only" name with mesh sculpt modeJacques Lucke
2022-05-05Merge branch 'blender-v3.2-release'Clément Foucault
2022-05-05Cleanup: EEVEE: Fix clang-tidy warnings and unused var warningClément Foucault
2022-05-05DRW: Hair: Fix shader compilation of transform feedback shaderClément Foucault
Introduced by rBadbe71c3faba.
2022-05-05Cleanup: Use unsigned short for mesh flagSergey Sharybin
Solves the compilation warning about sign change when the default flags are cast from int to short.
2022-05-05Cleanup: Remove unnecessary logic for resample curves nodeHans Goudey
After 2d80f814cc24, we can assume that curves always have at least one evalauted point, so this complication isn't necessary anymore.
2022-05-05Cleanup: Add comment about mininum curve lengthHans Goudey
2022-05-05Cleanup: sort cmake file listsCampbell Barton
2022-05-05Cleanup: formatCampbell Barton
2022-05-05Geometry Nodes: Improve performance of mesh to points nodeHans Goudey
There are fancier possibilities for improvements, like taking ownership of existing arrays in some cases, but this patch takes a simpler brute force approach for now. The first change is to move from the previous loop to using the new `materialize_compressed_to_uninitialized` method on virtual arrays, which adds only the selected values to the output. That is a nice improvement in some cases, corresponding to the "Without Threading" column in the chart below. The next change is to call that function in parallel on slices of the output. To avoid generating too much code, we can avoid templating based on the type and devirtualizing completely. The test input is a 4 million point grid, generated by the grid primitive node. Color and 2D vector attributes were also transferred to the points. | Test | Before | Final No Threading | Final | Change | | --------- | ------ | ------------------ | ------ | ------ | | All Verts | 209 ms | 186 ms | 170 ms | 0.8x | | 1% | 148 ms | 143 ms | 133 ms | 0.9x | | All Faces | 326 ms | 303 ms | 87 ms | 0.27x | | 1% Faces | 70 ms | 68 ms | 34 ms | 0.49x | Differential Revision: https://developer.blender.org/D14661
2022-05-05Docs: add doc-string for BMFace.mat_nr struct memberCampbell Barton
2022-05-05Win32: Dark Mode Title Bar ColorHarley Acheson
Blender will respect Windows "Dark Mode" setting for title bar color. See D14847 for details. Differential Revision: https://developer.blender.org/D14847 Reviewed by Ray Molenkamp
2022-05-05Cleanup: mark library locations as advancedCampbell Barton
2022-05-05Cleanup: spelling in commentsCampbell Barton
2022-05-05Cleanup: use 'r_' prefix for return argumentsCampbell Barton
2022-05-05Cleanup: shadow and format warningsCampbell Barton
2022-05-05Cleanup: unused argument warningsCampbell Barton
2022-05-05Merge branch 'blender-v3.2-release'Germano Cavalcante
2022-05-05Fix T97835: crash when creating hair particle system on MacGermano Cavalcante
Recently `gpu_shader_3D_smooth_color_frag.glsl` had the uniform declarations removed. For shaders without `ShaderCreateInfo` that require this source this results in the error: ``` ERROR (gpu.shader): hair_refine_shader_transform_feedback_workaround_create FragShader: | 54 | fragColor = finalColor; | | gpu_shader_3D_smooth_color_frag.glsl:5:0: Error: Use of undeclared identifier 'fragColor' | gpu_shader_3D_smooth_color_frag.glsl:5:0: Error: Use of undeclared identifier 'finalColor' | 55 | fragColor = blender_srgb_to_framebuffer_space(fragColor); | | gpu_shader_3D_smooth_color_frag.glsl:6:0: Error: Use of undeclared identifier 'fragColor' | gpu_shader_3D_smooth_color_frag.glsl:6:0: Error: Use of undeclared identifier 'fragColor' ``` So port that shader to use `ShaderCreateInfo`.
2022-05-05IMBUF: Faster JPEG ThumbnailsHarley Acheson
Make preview thumbnails of JPEG files in less time and with less RAM. See D14727 for more details. Differential Revision: https://developer.blender.org/D14727 Reviewed by Brecht Van Lommel
2022-05-05UI: Add Gizmos toggle to SpaceImageJuanfran Matheu
This patch adds the show_gizmo and show_gizmo_navigate properties to the Image and UV editors. Image Editor: {F13026317} UV Editor: {F13026319} VIDEO: {F13026324} Reviewed By: #user_interface, campbellbarton Differential Revision: https://developer.blender.org/D14755
2022-05-04Fix Cycles world light group confusing UIBrecht Van Lommel
Move to a subpanel of the Settings panel. Otherwise it seems like it's a setting of one of the shader nodes.
2022-05-04Fix T95644: Cycles doesn't update modified object attributes on GPULukas Stockner
evice_update_preprocess is supposed to detect modified attributes and flag the device_vector for a copy through device_update_flags. However, since object attributes are only created in device_update_attributes afterwards, they can't be included in that check. Change the function that actually updates the device_vector to tag it as modified as soon as its content gets updated. Differential Revision: https://developer.blender.org/D14815
2022-05-04Fix T96718: Cycles invalid pixels when using bump normal for light emissionBrecht Van Lommel
A shader node setup accidentally used the bump normal as emission. Bump mapping nodes are excluded from light shader evaluation to reduce kernel size and register pressure, but in that case should write zero instead of leaving memory uninitialized. Thanks to Lukas for helping identify the cause.
2022-05-04Fix Cycles division by zero in material preview renderBrecht Van Lommel
If the render gets cancelled before the first sample finishes.
2022-05-04Merge remote-tracking branch 'origin/blender-v3.2-release'Kévin Dietrich
2022-05-04Fix T96845: artifacts with GPU subdivision and mirror modifierKévin Dietrich
The coarse polygon count was set to the one of the BMesh instead of the the one of the mesh used for subdivision, which caused the compute shaders to output wrong data.
2022-05-04Fix T95527: wrong motion blur with rigid bodiesBrecht Van Lommel
This index is not meant for the point cache data array, it's already offset.
2022-05-04Subdivision node: add input for vertex creasesKévin Dietrich
This adds an input to the Subdivision node to specify a field to use for controling vertex creases. Common code with edge creasing was extracted into utility functions to avoid redundancy. Differential Revision: https://developer.blender.org/D14199
2022-05-04Nodes: Add general Combine/Separate Color nodesHallam Roberts
Inspired by D12936 and D12929, this patch adds general purpose "Combine Color" and "Separate Color" nodes to Geometry, Compositor, Shader and Texture nodes. - Within Geometry Nodes, it replaces the existing "Combine RGB" and "Separate RGB" nodes. - Within Compositor Nodes, it replaces the existing "Combine RGBA/HSVA/YCbCrA/YUVA" and "Separate RGBA/HSVA/YCbCrA/YUVA" nodes. - Within Texture Nodes, it replaces the existing "Combine RGBA" and "Separate RGBA" nodes. - Within Shader Nodes, it replaces the existing "Combine RGB/HSV" and "Separate RGB/HSV" nodes. Python addons have not been updated to the new nodes yet. **New shader code** In node_color.h, color.h and gpu_shader_material_color_util.glsl, missing methods hsl_to_rgb and rgb_to_hsl are added by directly converting existing C code. They always produce the same result. **Old code** As requested by T96219, old nodes still exist but are not displayed in the add menu. This means Python scripts can still create them as usual. Otherwise, versioning replaces the old nodes with the new nodes when opening .blend files. Differential Revision: https://developer.blender.org/D14034
2022-05-04Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-04Fix T97709: Compositor: Scenes are being set to no users after doing a full ↵Bastien Montagne
copy. Similar issue/solution as in rB5188c14718c5 from this Monday actually, there may be more of those still lurking around... Quite surprising they all get reported now, this behavior has been in Blender since years.
2022-05-04Merge branch 'blender-v3.2-release'Antonio Vazquez
2022-05-04Fix T97851: GPencil Bake object transform operator wrong transformationAntonio Vazquez
The problem was the layer transformation was already applied in the layer and if we apply in the bake, we are doing double transformation. Differential Revision: https://developer.blender.org/D14844
2022-05-04Transform: use a threshold for UV snappingGermano Cavalcante
Unlike 3Dview snapping, UV snapping is always done to the UV closest to the mouse cursor, no matter the distance. From the user's point of view, this appears to be an inconsistency (See {T93538}). Therefore, set a minimum distance for snapping and, as in 3D View and highlight the snap with a drawing of a circle. Release Note: https://wiki.blender.org/wiki/Reference/Release_Notes/3.3/Modeling Reviewed By: #uv_editing, campbellbarton Maniphest Tasks: T93538 Differential Revision: https://developer.blender.org/D13873
2022-05-04Cycles: mark all CUDA 11.x versions as supportedBrecht Van Lommel
All released versions appear to work fine. Also slightly change wording.
2022-05-04Build: update outdated description of WITH_TBB optionBrecht Van Lommel
2022-05-04LineArt: Clean up file name and license.YimingWu
lineart_cpp_bridge.cpp changed to .cc
2022-05-04LineArt: Object loading optimizationYimingWu
This patch replaces BMesh conversion into index-based triangle adjacent lookup method, and use multithread in many steps to speed up object loading for line art. Differential Revision: https://developer.blender.org/D14627 Reviewed By: Sebastian Parborg (zeddb)
2022-05-04Curves: show direction in panel for Grow / Shrink brush settingsJacques Lucke
2022-05-04Silenced compilation warning on clang.Jeroen Bakker
2022-05-04Merge branch 'blender-v3.2-release'Jacques Lucke
2022-05-04Fix T97375: changing node tree from Python is very slowJacques Lucke
The issue was that the `NodeTreeRef` acceleration data structure was rebuild much more often than necessary. That happened because the Map Range node accidentally tagged the node tree for change even though it did not actually change. Differential Revision: https://developer.blender.org/D14842
2022-05-04Cleanup: unused parameterJacques Lucke
2022-05-04Merge remote-tracking branch 'origin/blender-v3.2-release'Kévin Dietrich
2022-05-04Fix T97827: material preview not displaying texturesKévin Dietrich
Caused by rB281bcc1c1dd6 which did not properly made use of `vec4` for UVs which are now loaded as attributes.
2022-05-04Curves: add second experimental option for new curves toolsJacques Lucke
Now there are two experimental feature options: * "New Curves Type": Enables the new data type and a couple of tools that are meant to be in the first release that comes with the new curves object. * "New Curves Tools": This is only available when the new curve type is available as well. It mainly exists to keep some tools experimental even after the initial curves object is release officially. * For now this only includes the curves edit mode which is not usable yet and probably won't be for the initial release. Differential Revision: https://developer.blender.org/D14840