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-08-17Merge branch 'blender-v3.3-release'Campbell Barton
2022-08-17Cleanup: spelling in commentsCampbell Barton
2022-08-17Cleanup: strip blank lines around comment blocksCampbell Barton
2022-08-16Merge branch 'blender-v3.3-release'Brecht Van Lommel
2022-08-16Cleanup: compiler warningBrecht Van Lommel
2022-08-16Merge branch 'blender-v3.3-release'YimingWu
2022-08-16Fix T100435: Use evaluated material for line art loading.YimingWu
Materials can be changed by other evaluations like geometry nodes, now handles that kind of situation.
2022-08-15Cleanup OpenGL linking and related code after libepoxy mergeSebastian Parborg
This cleans up the OpenGL build flags and linking. It additionally also removes some dead code. One of these dead code paths is WITH_X11_ALPHA which actually never was active even with the build flag on. The call to use this was never called because the default initializer for GHOST was set to have it off per default. Nothing called this function with a boolean value to enable it. These cleanups are needed to support true headless OpenGL rendering. Without these cleanups libepoxy will fail to load the correct OpenGL Libraries as we have already linked them to the blender binary. Reviewed By: Brecht, Campbell, Jeroen Differential Revision: http://developer.blender.org/D15554
2022-08-12Merge branch 'blender-v3.3-release'Sebastian Parborg
2022-08-12Fix out of bounds read in LineArt if there are only interestion edgesSebastian Parborg
In this case the array allocation would allocate an array of size zero. This would then later lead to out of bounds memory reads. Now the code will skip zero length allocations.
2022-08-12Merge branch 'blender-v3.3-release'Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_lib_override.h
2022-08-12Fix T100138: Use `double` for LineArt intersection record.YimingWu
The use of `float` for intermediate intersection record led to some inaccuracy which caused flickering in intersection lines. Now fixed.
2022-08-10Cleanup: spellingCampbell Barton
2022-08-06Merge branch 'blender-v3.3-release'Howard Trickey
2022-08-06LineArt: Usability improvement for "Enclosed Shapes".YimingWu
This patch removes the [rather confusing] separate checkbox for enclosed shapes in favour of integrating that option into illumination filtering, with the benefit of not limiting the selection to cached result. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15327
2022-08-05Cleanup: Remove outdated code for mesh normalsHans Goudey
After recent refactors to mesh normals (cfa53e0fbeed), they are no longer stored in CustomData. A mechanism to compute them eagerly should be implemented another way.
2022-08-04Depsgraph: More clear function name for transform dependnecySergey Sharybin
The name was confusing to a level that it sounded like the relation goes the opposite direction than it is intended.
2022-08-04Cleanup: spelling, code-blocksCampbell Barton
2022-08-03Cleanup: fix various typosBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D15588
2022-08-01Merge branch 'blender-v3.3-release'Bastien Montagne
2022-08-01I18n: make Grease Pencil modifiers and shader FX translatable.Damien Picard
Pretty much like D15418: add `N_()` macro around names for Grease Pencil modifiers and shader FX. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15532
2022-07-29Cleanup: Use const context argument for UIList callbacksHans Goudey
2022-07-20Cleanup: remove unused get_cage_mesh parameterJacques Lucke
All callers passed `false` for this parameter, making it more confusing than useful. If this functionality is needed again in the future, a separate function should be added. Differential Revision: https://developer.blender.org/D15401
2022-07-13Fix T99654: Applying Mirror modifier breaks the erase toolAntonio Vazquez
The problem was the new generated strokes were copied from original and the location was offset to mirror, but the internal geometry data was not updated and the collision check done by brushes was not working. Now, the internal geometry data is recalculated when the modifier is applied.
2022-07-11Fix/Cleanup UI messages.Bastien Montagne
2022-07-01Fix T99268: LineArt better handling for dense overlappings.Yiming Wu
Two main fixes: - Split tiles only when we are more sure that it will improve distribution. - Discard edges and chains that are not gonna be used afterwards before chaining. This speeds up the whole process and also eliminates unnecessary tile splitting. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15335
2022-06-30Cleanup: Remove scene frame macros (`CFRA` et al.)Julian Eisel
Removes the following macros for scene/render frame values: - `CFRA` - `SUBFRA` - `SFRA` - `EFRA` These macros don't add much, other than saving a few characters when typing. It's not immediately clear what they refer to, they just hide what they actually access. Just be explicit and clear about that. Plus these macros gave read and write access to the variables, so eyesores like this would be done (eyesore because it looks like assigning to a constant): ``` CFRA = some_frame_nbr; ``` Reviewed By: sergey Differential Revision: https://developer.blender.org/D15311
2022-06-30Cleanup: use "use_" prefix for boolean propertyCampbell Barton
2022-06-30Cleanup: formatCampbell Barton
2022-06-30Cleanup: spelling in commentsCampbell Barton
2022-06-29LineArt: Shadow and related functionalities.Yiming Wu
This patch includes the full shadow functionality for LineArt: - Light contour and cast shadow lines. - Lit/shaded region selection. - Enclosed light/shadow shape calculation. - Silhouette/anti-silhouette selection. - Intersection priority based on shadow edge identifier. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15109
2022-06-27Cleanup: spelling in commentsCampbell Barton
2022-06-23LineArt: Cleanup minor warnings from variable type changes.Yiming Wu
2022-06-21LineArt: Move style options to top of the modifier.Yiming Wu
Reviewed By: Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D15164
2022-06-16LineArt: Variable name cleanups.Yiming Wu
Use more descriptive names for some of the two character variables. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15192
2022-06-13LineArt: General code cleanups.Yiming Wu
- Use uintxx_t for all 8/16/64 bit integer types. - Removed prepend_edge_direct thingy which is no longer needed in current edge iterator model. - Minor code path adjustments like only copies view vector when necessary etc. - Correctly handle ies==NULL in edge cutting function. - White spaces and comments etc. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15181
2022-06-13Cleanup: Use more specific includes for grease pencil modifiersHans Goudey
Also remove unused includes in some cases. This should make these files recompile less often.
2022-06-10LineArt: Clean up `LineartRenderBuffer`.Yiming Wu
This patch does code clean ups in `LineartRenderBuffer` because it's grown kinda big and we need better way to organize those variables inside. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15172
2022-06-10Cleanup: Clang tidyHans Goudey
2022-06-03LineArt: Include minor fixes in branch that's missing in master.Yiming Wu
2022-06-03Cleanup: spelling in commentsCampbell Barton
2022-06-02LineArt: Speedup construction of quad trees.Yiming Wu
Using multithread for `add_triangles` to speed up quad tree building. Each thread would lock its respective tile to work on triangle insertion, intersection calculation, tile splitting and triangle array extension. Reviewed By: Sebastian Parborg (zeddb), Sergey Sharybin (sergey) Ref D14953
2022-06-01LineArt: Adding a intersection timer.Yiming Wu
This is for conveinence of perfomance comparison.
2022-06-01LineArt: Temporary fix for object loading iterator.Yiming Wu
Use `DEG_OBJECT_ITER_BEGIN`for loading objects, this iterator is technially unsafe to use *during* depsgraph evaluation, see https://developer.blender.org/D14997 for detailed explainations.
2022-06-01Cleanup: remove redundant const qualifiers for scalar & enum typesCampbell Barton
2022-05-30Cleanup: Clang tidyHans Goudey
Mostly duplicate includes, also use nullptr, and using default member initializers.
2022-05-25Fix T98355: Line art crash when switch to mesh edit mode.YimingWu
This fix will ensure not to load any meshes that's being edited, thus avoiding crashes. Ref D15022
2022-05-25Fix T98359: Handle object that has no feature lines.YimingWu
In case of line art "occlusion only" or contour not enabled, it's possible for an object to not produce any feature lines. This patch checks that to prevent freeing a NULL pointer.
2022-05-23Revert "LineArt: Use CAS for add_triangles."Ray Molenkamp
This reverts commit 14a5a91e0e033d712134c112a4778b495bd73ba1. This caused build errors on x64+arm mac builds and some versions of MSVC, reverting for now till a better solution is found.
2022-05-23LineArt: Use CAS for add_triangles.YimingWu
Using the atomic "compare and swap" method in add_triangles stage dramatically speeds up the add_triangles call and significantly reduced the overall calculation time. This is currently the fastest method we have experimented with so far. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D14953