Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang commented on issue blender/blender#125750 2024-08-02 16:28:49 +02:00
Cycles: NaN pixels in Glossy and Transmissive Passes with roughness values near 0.0266

@david494 I believe your suggestion would fix #114940, would you like to make a PR and change BSDF_ROUGHNESS_SQ_THRESH to 2e-10?

cd81691098 Refactor: Cycles: use reservoir sampling to pick phase function in volume
5616f17bdf Fix #125595: Cycles artifacts in overlapping volumes with different phase functions
Compare 2 commits »
Weizhen Huang commented on pull request blender/blender#125688 2024-08-01 13:20:25 +02:00
Fix: Shader: Align vector math node reflect mode with OSL

Metal assumes the normal is already normalized:

METAL_FUNC float3 reflect(float3 i, float3 n)
{
  return i - float(2) * dot(n, i) * n;
}

What's the motivation of this fix? Would…

Weizhen Huang commented on pull request blender/blender#125676 2024-08-01 12:34:43 +02:00
Fix #125595: Cycles artifacts in overlapping volumes with different phase functions

For the bug fixes we put the Fix # in the commit title

I usually add # in the commit title, but this commit title is too long for that and I can not think of a good…

Weizhen Huang commented on pull request blender/blender#125756 2024-08-01 10:57:53 +02:00
Fix #125750: NaN on Glossy materials with low roughness

Does clamping cos_NH2 to 1 or returning M_1_PI_F / alpha2 when cos_NH2 is close to 1 fixes the issue? I'm not in favor of increasing the threshold due to #114940.

Weizhen Huang commented on pull request blender/blender#125739 2024-08-01 00:32:25 +02:00
Fix: Cycles BVH2 and Embree missing some transparent shadow bounces

The problem is demonstrated by the attached transparent_hits.blend. On CPU INTEGRATOR_SHADOW_ISECT_SIZE is 1024, larger than the maximal transparent bounces in the scene, so shadow_all() has…

Weizhen Huang created pull request blender/blender#125739 2024-08-01 00:18:27 +02:00
Fix: Cycles BVH2 missing some transparent shadow bounces
Weizhen Huang pushed to fix-bvh2-n-closest-hits at weizhen/blender 2024-08-01 00:16:15 +02:00
e1abfd9b8a Fix: Cycles BVH2 not computing N closest intersections
Weizhen Huang created branch fix-bvh2-n-closest-hits in weizhen/blender 2024-07-31 23:21:12 +02:00
Weizhen Huang pushed to fix-bvh2-n-closest-hits at weizhen/blender 2024-07-31 23:21:12 +02:00
2963c867fc Fix: Cycles BVH2 not computing N closest intersections
Weizhen Huang created branch fix-bvh2-n-closest-hit in weizhen/blender 2024-07-31 23:16:12 +02:00
Weizhen Huang pushed to fix-bvh2-n-closest-hit at weizhen/blender 2024-07-31 23:16:12 +02:00
1f37330f33 Fix: Cycles BVH2 not computing N closest intersections
5642944e33 UI: Screen Operations Status Bar
fcfcdef360 Sculpt: Data oriented refactor for mask filter
989fcc2c4f UI: Mouse Event Icon Alignment
1d841806b5 Refactor: Sculpt: Move factor calculation out of cloth constraints loop
Compare 10 commits »
Weizhen Huang closed issue blender/blender#125692 2024-07-31 13:40:02 +02:00
Cycles: Crash after undo
Weizhen Huang commented on issue blender/blender#125692 2024-07-31 13:39:57 +02:00
Cycles: Crash after undo

This appears to be the same problem as #125375, and I can confirm applying 8a812e334d fixes the issue. It's already on the [backport list](blender/blender#12445

Weizhen Huang commented on pull request blender/blender#125676 2024-07-30 18:38:49 +02:00
Fix #125595: Cycles artifacts in overlapping volumes with different phase functions

The second commit is a refactor and can be reviewly separately. I will not squash the commits.

Weizhen Huang commented on pull request blender/blender#125676 2024-07-30 18:38:22 +02:00
Fix #125595: Cycles artifacts in overlapping volumes with different phase functions

Each location in an overlapping region is composed of x_1\% of volume 1 and x_2\% of volume 2, so the phase function at that point should be x_1\%p_1+x_2\%p_2 instead of (p_1 +…

Weizhen Huang created pull request blender/blender#125676 2024-07-30 18:28:50 +02:00
Fix: Cycles rendering overlapping volumes with different phase functions incorrectly