Iliya Katushenock mod_moder
  • Russian
  • Just student

  • Joined on 2019-01-20
Iliya Katushenock commented on pull request blender/blender#127263 2024-09-06 23:09:35 +02:00
Fix #126983: Custom nodes and groups icon missing

Consider line 3399\

Iliya Katushenock closed issue blender/blender#127269 2024-09-06 23:02:45 +02:00
viewport shading
Iliya Katushenock commented on issue blender/blender#127269 2024-09-06 23:02:42 +02:00
viewport shading

This report does not contain all the requested information, which is required for us to investigate the issue.

Please submit a new report and carefully follow the instructions. Be sure to…

Iliya Katushenock commented on pull request blender/blender#127263 2024-09-06 23:01:16 +02:00
Fix #126983: Custom nodes and groups icon missing

We have a group icon first in the list, this icon is added by the first statement in the sequence in this function, current one is about custom nodes. Probably first one statement need to be…

Iliya Katushenock commented on pull request blender/blender#127061 2024-09-06 21:07:20 +02:00
GPv3: Add Compound Shapes Rendering (i.e. Hole rendering)

Can be const/

Iliya Katushenock commented on pull request blender/blender#127061 2024-09-06 21:07:19 +02:00
GPv3: Add Compound Shapes Rendering (i.e. Hole rendering)

Probably this should be parallel_reduce. Otherwise, consider idea of use task_hint to make granulation smarter for begin elements with N complexity (basicaly just (range.projverts() - range.start()) * range.size() in accumulative mode).

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:46:16 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

+Pass const args first (even if const will be in .cc file only)

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:30 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

result.verts.reinitialize(curve.size())

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:29 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

It's very helpful to split the code into phases but please, make separation between phases as different functions with meaningful names what is happening on caller.

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:27 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

Please do return anything meaningful about the doned one, this just unnecessary hide actual code by meaningless function abstraction. Trying to follow code style from the paper alos does no holds a lot for anyone other.

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:25 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

Can be GroupedSpan

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:24 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

static BooleanResult curve_to_result(const Span<float2> curve)

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:22 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

This should be in the header of the whole file imo.

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:21 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

Use switch statement for any such case-trees/

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:20 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

curve.index_range()

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:19 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

Do not add const in the header for trivial types.

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:18 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

Can we just swap arguments on caller to avoid such case to be in api?

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:17 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

Weight is not needed, just call .finalize() after all mixing.

Iliya Katushenock commented on pull request blender/blender#125592 2024-09-06 20:39:16 +02:00
WIP: BLI: Boolean polygon clipping using the Greiner Hormann algorithm.

So, you can just did 2 loop pass with i and mod(i + 1), but here is one loop with 3 switch and mod(i + 1) for each element?