Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang commented on issue blender/blender#125093 2024-08-06 17:27:17 +02:00
oneAPI Embree GPU, transparent shadows will render opaque if transparent bounces is 1024

I guess we were discussing "does this fix #xxx" and that triggered gitea to close the report.

Weizhen Huang commented on pull request blender/blender#125919 2024-08-06 16:48:29 +02:00
Fix #114940: Cycles: GGX roughness has abrupt cutoff

@Sergey I was suggesting to add something like alpha2 = max(alpha2, 5e-8f); inside bsdf_D().

Weizhen Huang commented on pull request blender/blender#125919 2024-08-06 16:33:49 +02:00
Fix #114940: Cycles: GGX roughness has abrupt cutoff

I can confirm the banding artefacts with Beckmann. Not sure if we can improve the precision in this case, otherwise it's fine to clamp for Beckmann when evaluating, Beckmann's tail is not obvious…

Weizhen Huang pushed to stochastic_eval at weizhen/blender 2024-08-06 15:57:15 +02:00
112679d249 Forgot random number for shadow
Weizhen Huang deleted branch fix-bvh2-n-closest-hits from weizhen/blender 2024-08-06 15:38:15 +02:00
Weizhen Huang closed issue blender/blender#125093 2024-08-06 15:38:12 +02:00
oneAPI Embree GPU, transparent shadows will render opaque if transparent bounces is 1024
Weizhen Huang pushed to main at blender/blender 2024-08-06 15:38:07 +02:00
d4ceade5ea Fix: Cycles BVH2 and Embree missing some transparent shadow bounces
Weizhen Huang merged pull request blender/blender#125739 2024-08-06 15:38:07 +02:00
Fix: Cycles BVH2 and Embree missing some transparent shadow bounces
Weizhen Huang commented on pull request blender/blender#125933 2024-08-06 15:09:29 +02:00
WIP: Cycles: Add Render Time pass

Should the value be per-sample or total?

Total value makes more sense to me.

What unit should we use for time values?

I think we can have a post-processing step to normalize the…

Weizhen Huang pushed to fix-bvh2-n-closest-hits at weizhen/blender 2024-08-06 14:36:34 +02:00
2df94337e7 Address review
29add6d565 Merge remote-tracking branch 'origin' into fix-bvh2-n-closest-hits
af28dcfb7d Revert "Fix #124125: Depsgraph and scene time out of sync"
ca199ba13f Fix #125353: Select by active material fails to select the active slot
f8e06a5f5f Fix #125763: Uninitialized extension repos printing warnings on startup
Compare 128 commits »
Weizhen Huang commented on pull request blender/blender#125919 2024-08-06 13:51:03 +02:00
Fix #114940: Cycles: GGX roughness has abrupt cutoff

I have tested it myself on Mac and it looks good, it would be nice if other reviewers who has access to more hardwares could test what threshold is good.

Weizhen Huang pushed to stochastic_eval at weizhen/blender 2024-08-06 13:24:47 +02:00
c4a25f6e87 Add util float3 functions
0a27653eea Stochastically evaluate fbm noise
74b3e2021e Cleanup: reduce duplication in noise functions
Compare 3 commits »
Weizhen Huang commented on pull request blender/blender#125739 2024-08-05 17:34:43 +02:00
Fix: Cycles BVH2 and Embree missing some transparent shadow bounces

I should say ctx->max_t was not yet computed. Because we have not looped through the array at this point, so we don't have ctx->max_t available. I just initialzed it to ray->tmax to ensure…

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

0 or any small value is fine, is just an initialization before running the loop, I can change to 0 if that seems more understandable.

Weizhen Huang commented on pull request blender/blender#119884 2024-08-05 16:52:07 +02:00
Fix #119797: Noise Texture Precision Issues

Somehow fmod() is quite slow on my CPU. Rendering the attached scene gives

Weizhen Huang pushed to stochastic_eval at weizhen/blender 2024-08-05 16:22:46 +02:00
5393727086 Tricubic interpolation
0fdb0f5eb0 Cleanup: add SSE and util functions
c964aed04a Implement trilinear interpolation for 3D textures
320334961c Refactor: also add interface to use blue noise RNG for future comparison
42fb85f03d Cycles: stochastically evaluate vdb linear interpolation
Compare 402 commits »
Weizhen Huang commented on issue blender/blender#125863 2024-08-05 16:08:31 +02:00
Crash baking textures with Cycles Metal

Is clicking Render -> Bake -> Bake from the attached scene enough to reproduce the crash? In that case I can reproduce in 4.2 with the same crash log, but not with 4.3 f6e6f2b2d222, not even…

Weizhen Huang commented on issue blender/blender#125863 2024-08-05 14:11:06 +02:00
Crash baking textures with Cycles Metal

hmm, can not reproduce in 4.3