Charlie Jolly CharlieJolly
  • Joined on 2008-07-29
Charlie Jolly commented on pull request blender/blender#109393 2024-10-06 17:04:11 +02:00
Geometry Nodes: Curve intersections

@blender-bot package

Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-06 17:02:39 +02:00
4122aaece0 Add Project mode
8c4f8f85b8 Merge branch 'main' into gn-curve-intersections
884b724e08 UI: prevent relative path use in the file selector
47f0042942 UI: prevent CWD relative directories being created in the file selector
3103daab20 Cleanup: avoid unnecessary use of unique_ptr
Compare 43 commits »
Charlie Jolly commented on pull request blender/blender#109393 2024-10-06 16:48:50 +02:00
Geometry Nodes: Curve intersections

Current wip: Added Project mode, merged All and Self mode into a single mode.

image
Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-04 15:53:08 +02:00
f564f0382d Merge branch 'main' into gn-curve-intersections
7e5bc58649 GPU: Change GLSL include directive
64a0895409 Cleanup: Geometry Nodes: extract zone eval code into separate files
ff03857aa3 Merge branch 'blender-v4.3-release'
e848bcdbbe Fix: GPv3: Flip primary and secondary toggle and shortcut missing
Compare 99 commits »
Charlie Jolly commented on pull request blender/blender#109393 2024-10-04 15:48:52 +02:00
Geometry Nodes: Curve intersections

Replace hashed id with sortkey and then post process using the sort key. The sorted index does add additional processing time but I'm guessing some of this is also down to my naïve approach.…

Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-04 15:44:14 +02:00
5b2a791a8a Comment out debug_randomize_point_order
Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-04 15:34:17 +02:00
f97554babc Replace hashed id with sorted index. Slightly slower due to sort.
e694fca09a Tidy up and comments
Compare 2 commits »
Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-04 11:43:06 +02:00
33aeac6853 Add default radius 0.05f
Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-04 11:09:00 +02:00
703f6f817e Add call to debug_randomize_point_order
Charlie Jolly commented on pull request blender/blender#109393 2024-10-04 11:08:52 +02:00
Geometry Nodes: Curve intersections

Ok, I've added debug_randomize_point_order. Need to have a think about making id deterministic, eek!

Charlie Jolly commented on pull request blender/blender#109393 2024-10-04 10:51:25 +02:00
Geometry Nodes: Curve intersections

10000 lines, 20000 segments and 8 meshes, ~60ms image

Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-04 10:49:58 +02:00
863a45f426 Use isolate_task and move thread storage call outside loop.
Charlie Jolly commented on pull request blender/blender#109393 2024-10-04 10:37:40 +02:00
Geometry Nodes: Curve intersections

ID is calculated for each intersection, this is based on the curve_id and position along curve which is then hashed. The curve_id is collected in a non-multi-threading loop during the bvhtree…

Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-03 16:05:59 +02:00
9c43f486f9 Return empty set if there are no intersections
Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-03 14:13:08 +02:00
78497635d5 Tidy up
17f488e3bd Rename function
ac31beeb31 Multithread mesh surface
Compare 3 commits »
Charlie Jolly commented on pull request blender/blender#109393 2024-10-03 12:51:53 +02:00
Geometry Nodes: Curve intersections

@blender-bot package

Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-03 12:50:26 +02:00
8a7b4b78c6 Merge branch 'main' into gn-curve-intersections
58f108292f Rename Plane Offset to Center
98960bc7be Merge branch 'blender-v4.3-release'
3a070122ea Fix #126998: Fog Glow is corrupt for large images
9c6488ca42 Fix: GPv3: Crash in evelope modifier
Compare 7 commits »
Charlie Jolly pushed to gn-curve-intersections at CharlieJolly/blender 2024-10-03 12:23:22 +02:00
b33067391e Fix threading issue with Plane intersection mode
bdfd875fb6 Merge branch 'main' into gn-curve-intersections
602eb505e9 Add check to see if we have return data
f1ec3b3701 Merge branch 'blender-v4.3-release'
52dfb4aa8f Fix #124720: Metal: Crash when trying to allocate large 3d textures
Compare 57 commits »
Charlie Jolly commented on pull request blender/blender#128489 2024-10-02 18:26:15 +02:00
Nodes: Add Negate operator to Math and Vector Math nodes

I believe all the beckends we use already can optimize x * -1 or 0 - x. For ui, its the proper to just create node group.

Math nodes is a core node used in all node systems. Currently…

Charlie Jolly created pull request blender/blender#128489 2024-10-02 17:58:14 +02:00
Nodes: Add Negate operator to Math and Vector Math nodes