Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang commented on pull request blender/blender#105931 2023-03-21 01:24:34 +01:00
Refactor Light Tree to improve readability and efficiency

@blender-bot build windows

Weizhen Huang pushed to refactor_light_tree at weizhen/blender 2023-03-21 00:58:12 +01:00
acc9523712 Update condition for skipping heuristic computation
Weizhen Huang created pull request blender/blender#105931 2023-03-20 18:31:17 +01:00
Refactor Light Tree to improve readability and efficiency
Weizhen Huang pushed to refactor_light_tree at weizhen/blender 2023-03-20 18:30:09 +01:00
bdf64cb639 Refactor Light Tree to improve readability and efficiency
23c5e06932 Cycles: build Light Tree in parallel
006bc603f8 I18n: translate error messages generated with WM_report() and family
3af5d2f0a8 Merge branch 'blender-v3.5-release'
e9db83a7b0 USD import fix: set active mesh color.
Compare 10 commits »
Weizhen Huang created branch refactor_light_tree in weizhen/blender 2023-03-20 18:30:09 +01:00
Weizhen Huang deleted branch parallel_light_tree from weizhen/blender 2023-03-20 18:02:26 +01:00
Weizhen Huang pushed to main at blender/blender 2023-03-20 18:02:23 +01:00
23c5e06932 Cycles: build Light Tree in parallel
Weizhen Huang merged pull request blender/blender#105862 2023-03-20 18:02:23 +01:00
Cycles: build Light Tree in parallel
Weizhen Huang pushed to parallel_light_tree at weizhen/blender 2023-03-20 18:01:09 +01:00
973e367d9b Merge branch 'main' into parallel_light_tree
006bc603f8 I18n: translate error messages generated with WM_report() and family
3af5d2f0a8 Merge branch 'blender-v3.5-release'
e9db83a7b0 USD import fix: set active mesh color.
16fbadde36 Mesh: Replace MLoop struct with generic attributes
Compare 11 commits »
Weizhen Huang pushed to parallel_light_tree at weizhen/blender 2023-03-20 17:54:07 +01:00
86cb473f11 Move Child enum into LightTree class
Weizhen Huang pushed to parallel_light_tree at weizhen/blender 2023-03-20 17:11:49 +01:00
2050a0a615 Modified based on review
Weizhen Huang commented on pull request blender/blender#105862 2023-03-20 15:55:51 +01:00
Cycles: build Light Tree in parallel

Eventually we can also parallelize the loops in nodes with many prims.

I tried to parallelize that too, but I saw almost no performance improvement. After this pull request is merged, I'll…

Weizhen Huang commented on pull request blender/blender#105862 2023-03-20 15:51:39 +01:00
Cycles: build Light Tree in parallel

It's also used for recursive_build<left>(current_node, start, middle, prims, bit_trail, depth + 1);, I think it looks better than recursive_build(0, current_node, start, middle, prims, bit_trail, depth + 1);

Weizhen Huang pushed to parallel_light_tree at weizhen/blender 2023-03-20 14:43:50 +01:00
2539258099 Cycles: build Light Tree in parallel
7484a1504d Cleanup: rename function
dfe7b839bc Cycles: only apply function #ensure_valid_reflection to glossy materials
70f3382c45 Refactor: simplify computations in function #ensure_valid_reflection
4784ee852c Merge branch 'blender-v3.5-release'
Compare 7 commits »
Weizhen Huang deleted branch no_normal_trick_for_diffuse from weizhen/blender 2023-03-20 14:42:46 +01:00
Weizhen Huang closed pull request blender/blender#105776 2023-03-20 14:42:14 +01:00
Cycles: only apply function #ensure_valid_reflection to glossy materials
Weizhen Huang commented on pull request blender/blender#105776 2023-03-20 14:42:13 +01:00
Cycles: only apply function #ensure_valid_reflection to glossy materials

Manually merged as 7484a1504d, dfe7b839bc, 70f3382c45

Weizhen Huang pushed to main at blender/blender 2023-03-20 14:36:17 +01:00
7484a1504d Cleanup: rename function
dfe7b839bc Cycles: only apply function #ensure_valid_reflection to glossy materials
70f3382c45 Refactor: simplify computations in function #ensure_valid_reflection
Compare 3 commits »