Sietse Brouwer SietseB
  • Joined on 2023-02-08
Sietse Brouwer commented on pull request blender/blender#118671 2024-02-23 16:53:49 +01:00
GPv3: Weight gradient tool

Note: grease_pencil_weight_paint.cc only needs code review from line 275 and further. The first part is the same as in [#118347: GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample…

Sietse Brouwer created pull request blender/blender#118671 2024-02-23 16:47:14 +01:00
GPv3: Weight gradient tool
Sietse Brouwer pushed to gpv3-weight-paint-tools at SietseB/blender 2024-02-23 16:17:02 +01:00
558ef6bec8 Fix: Missing assignment in for loop
06c76a87c3 Merge branch 'main' into gpv3-weight-paint-tools
03833417b3 EEVEE-Next: Fix black world probe when disabling probes
ee3291dc6d Fix double loading of asset catalogs when reloading "All" library
49c7dfe904 Fix unintended reloading of asset catalog files from disk
Compare 228 commits »
Sietse Brouwer pushed to gpv3-weight-gradient-tool at SietseB/blender 2024-02-23 15:34:26 +01:00
2ee52fb10d Cleanup: Better comment and variable name
Sietse Brouwer created branch gpv3-weight-gradient-tool in SietseB/blender 2024-02-23 15:21:00 +01:00
Sietse Brouwer pushed to gpv3-weight-gradient-tool at SietseB/blender 2024-02-23 15:21:00 +01:00
fe5daaea40 Cleanup after cherry-pick from other branch
80fc3c6e83 GPv3: Weight gradient tool
03833417b3 EEVEE-Next: Fix black world probe when disabling probes
ee3291dc6d Fix double loading of asset catalogs when reloading "All" library
49c7dfe904 Fix unintended reloading of asset catalog files from disk
Compare 10 commits »
Sietse Brouwer deleted branch gpv3-fix-duplicate-drawings-in-retrieve from SietseB/blender 2024-02-21 16:28:06 +01:00
Sietse Brouwer created pull request blender/blender#118566 2024-02-21 14:58:42 +01:00
GPv3: Fix: Functions like retrieve_editable_drawings can return duplicates
315689ace7 Fix: retrieve_editable_drawings can return duplicates
56fa8c59af Fix possible infinite recursion in asset catalog tree building
e76b848697 Cleanup: Video: change bMovieHandle function to take ImBuf as input
eac8c381a0 Metal: Fix EEVEE sync issue on render
31869d6857 Cleanup: ImBuf: remove various unused functions
Compare 10 commits »
Sietse Brouwer created branch gpv3-fix-duplicate-drawings-in-retrieve in SietseB/blender 2024-02-21 14:50:19 +01:00
Sietse Brouwer commented on pull request blender/blender#118347 2024-02-21 00:25:16 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

I've reworked the whole WeightPaintOperation shebang. I hope it's progress, I'm not entirely sure about that. The code base grew from 600 to 1000 lines. But when you want to read the tools at a…

Sietse Brouwer commented on pull request blender/blender#118347 2024-02-21 00:05:40 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

I tried a second time, but no luck with Array either.

Sietse Brouwer pushed to gpv3-weight-paint-tools at SietseB/blender 2024-02-21 00:03:24 +01:00
e0ce201682 Code review: Split weight tools into different stroke operations
Sietse Brouwer commented on pull request blender/blender#118347 2024-02-20 00:23:18 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

Btw, I did a rewrite of retrieve_editable_drawings_grouped_per_frame() in grease_pencil_utils.cc, because the previous version could return duplicate drawings.

Sietse Brouwer commented on pull request blender/blender#118347 2024-02-20 00:20:50 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

Thanks for the fast replies!

@filedescriptor Maybe I should tell a bit about what the tools share in code:

  • Getting/creating the active vertex group in object and drawings.
  • Getting locked…
Sietse Brouwer commented on pull request blender/blender#118347 2024-02-19 23:48:27 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

Maybe I missed something, but I couldn't get Vector<std::atomic<int>> compiled. I concluded that Vector doesn't support atomic types. Hence the std::vector.

Sietse Brouwer commented on pull request blender/blender#118347 2024-02-19 23:45:57 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

I did indeed, when I wrote the normalization for GPv2. The short answer is: they differ a bit, therefore the code can't be shared just out of the box. The longer answer is: the starting point of…

Sietse Brouwer pushed to gpv3-weight-paint-tools at SietseB/blender 2024-02-19 21:59:20 +01:00
c6be5fa931 Merge branch 'main' into gpv3-weight-paint-tools
36474a7540 Code review changes
b24f6f6fa3 Rewrite of retrieving drawings grouped per frame (no longer duplicate drawings)
5407637127 Move brush_mode to WeightPaintOperation and fix for retrieving_drawings grouped per frame
628c026140 Cleanup: Make asset catalog service functions const
Compare 153 commits »
Sietse Brouwer commented on pull request blender/blender#118347 2024-02-15 21:49:24 +01:00
GPv3: Weight Paint tools (Draw, Blur, Average, Smear, Sample weight)

Note: this PR doesn't contain the viewport overlay for showing vertex weights. The overlay code is in a separate PR: [#118273: GPv3: Overlay for Weight Paint mode](https://projects.blender.org/blen