Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang pushed to blender-v4.3-release at blender/blender 2024-10-22 15:37:52 +02:00
ee6f27a100 Fix: Cycles: NaN in Draine phase function when g == 0
Weizhen Huang pushed to unbiased-ray-marching at weizhen/blender 2024-10-21 14:55:48 +02:00
869ddc9f37 Fix shadow flag
0f55f40603 Evaluate world volume
dd2b5950af Cleanup: change function signature
b00a3271c2 Control tbb::parallel with grainsize
8e9a3a90b5 Cleanup: add utility function and change function signature
Compare 14 commits »
Weizhen Huang commented on pull request blender/blender#122935 2024-10-21 11:56:18 +02:00
Cycles: Implement better ellipse sampling for area lights

What is this doc folder? It makes sense to put it in a folder named scripts, but this doc still feels weird.

Weizhen Huang commented on pull request blender/blender#122935 2024-10-21 11:56:17 +02:00
Cycles: Implement better ellipse sampling for area lights

This is minor and can be done outside of this PR, but the ellipse tables are not bsdf tables. Probably we should rename it to just lookup table or something.

Weizhen Huang commented on pull request blender/blender#122935 2024-10-21 11:56:16 +02:00
Cycles: Implement better ellipse sampling for area lights

Seems that this large block of comment holds for all the following functions, which was not obvious at first sight. I would suggest to make it a code section https://developer.blender.org/docs/handbook/guidelines/c_cpp/#comment-sections

Weizhen Huang commented on pull request blender/blender#122935 2024-10-21 11:56:15 +02:00
Cycles: Implement better ellipse sampling for area lights

What is tangential ellipse?

Weizhen Huang commented on pull request blender/blender#122935 2024-10-21 11:56:14 +02:00
Cycles: Implement better ellipse sampling for area lights

Would be more clear to call the function spherical_ellipse_solid_angle.

Weizhen Huang commented on pull request blender/blender#122935 2024-10-21 11:35:09 +02:00
Cycles: Implement better ellipse sampling for area lights

There are some quite weird artifacts? The sample quality near grazing angles is improved, but there are other regions with worse sample quality, which was unexpected. Especially the lines in the…

Weizhen Huang created pull request blender/blender#129261 2024-10-20 00:11:27 +02:00
Cycles: make switching of sampling techniques in Draine less noticeable
Weizhen Huang created branch flip-rayleigh-rand in weizhen/blender 2024-10-20 00:09:21 +02:00
Weizhen Huang pushed to flip-rayleigh-rand at weizhen/blender 2024-10-20 00:09:21 +02:00
4c74f886bd Cycles: make switching of sampling technique in Draine less noticeable
Weizhen Huang commented on pull request blender/blender#129259 2024-10-19 23:48:54 +02:00
Fix: Cycles: NaN in Draine phase function when g == 0

A threshold of 1e-2f might seem too big, but the Draine CDF at `

Weizhen Huang created pull request blender/blender#129259 2024-10-19 23:39:54 +02:00
Fix: Cycles: NaN in Draine phase function when g == 0
Weizhen Huang pushed to fix-draine-nan at weizhen/blender 2024-10-19 23:36:21 +02:00
e26d1d0cc6 Fix: Cycles: NaN in Draine volume phase when g == 0
cf3a6697d2 Fix #129231: GrLess key not supported on Wayland
15be5b7708 Fix #129204: Multires normal automasking broken for certain brushes
c98da9d971 Fix #128656: Dynamic topology undo bugs when mixing memfile undo
8bb30e2c72 Fix: Build error after recent sculpt fix
Compare 10 commits »
Weizhen Huang created branch fix-draine-nan in weizhen/blender 2024-10-19 23:36:21 +02:00
Weizhen Huang commented on pull request blender/blender-manual#104956 2024-10-14 18:14:03 +02:00
Add note clarifying behavior object motion blur

This clarification sound fine to me. For the wording, I guess the first statement is true whether or not the option is disabled, so we don't need to say "disabled motion blur". I could suggest…

Weizhen Huang pushed to unbiased-ray-marching at weizhen/blender 2024-10-14 14:22:46 +02:00
df894ade65 Make density estimation closer to the real one
d8f0983ce6 Add support for world volume
06dbe75475 Cleanup
bb5a071f81 Fix compilation on GPU
eb21728610 Detect homogeneous regions better and do not split them
Compare 5 commits »
Weizhen Huang commented on pull request blender/blender#128969 2024-10-14 11:30:12 +02:00
WIP: Fix: Cycles light tree construction in scenes with many lights

This change itself is fine, but I wonder are you trying to prevent or solve a problem? We didn't hit the limit in practice, so I was kind of waiting for a scene to fail, so that we can test the change to see whether preventing the split or increasing the limit is better.

Weizhen Huang commented on pull request blender/blender#128969 2024-10-14 11:30:11 +02:00
WIP: Fix: Cycles light tree construction in scenes with many lights

I believe depth < 32 should be part of the function should_split().