Iliya Katushenock mod_moder
  • Russian
  • Just student

  • Joined on 2019-01-20
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?

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

Do the mix here, no reason to wrap this into function.

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

Pass by reference.

Iliya Katushenock commented on issue blender/blender#127222 2024-09-06 20:08:02 +02:00
Geometry Nodes Using Object Info adjust materials of referenced object

This is not a bug, object materials is the problem which is need to be removed.

Iliya Katushenock commented on issue blender/blender#127191 2024-09-06 19:52:18 +02:00
GN Bake Node Options Disappear

Did a try and not able to reproduce this from my attempt/

Iliya Katushenock commented on issue blender/blender#127195 2024-09-06 19:48:45 +02:00
Changing curve radius changes control point type

Can't reproduce in/ Broken: version: 4.3.0 Alpha, branch: main, commit date: 2024-08-25 03:57, hash: 6bd515e0d2a2

Iliya Katushenock closed issue blender/blender#127214 2024-09-06 19:39:08 +02:00
Theme Preferences don't work