Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang pushed to main at weizhen/.profile 2024-05-06 10:30:14 +02:00
6c5b8f71ea Update reports/2024.md
Weizhen Huang pushed to restir at weizhen/blender 2024-05-02 15:16:54 +02:00
c3bc745a6b Cleanup: improve function comment
7a9f9e698d Refactor: add more restir utility functions
db63cdd1c4 Replace reduce_add() with luminance() to reduce color noise
59540b1ac5 Add back weight > 0.0f check due to floating point precision issue
7d69531c17 Cleanup: improve precision of point light sampling
Compare 131 commits »
Weizhen Huang commented on pull request blender/blender#118477 2024-05-02 14:33:55 +02:00
Cycles: Add thin film iridescence to Principled BSDF

Should we have a test file for this?

Weizhen Huang pushed to restir at weizhen/blender 2024-05-02 13:12:23 +02:00
3968b522ac Cleanup: improve function comment
a572e79cf0 Refactor: add more restir utility functions
92ad7d6186 Replace reduce_add() with luminance() to reduce color noise
634dca62d4 Add back weight > 0.0f check due to floating point precision issue
cf5e14211b Cleanup: improve precision of point light sampling
Compare 5 commits »
Weizhen Huang pushed to restir at weizhen/blender 2024-04-30 18:31:33 +02:00
cb15fa32dc Use rendering equation in area formulation instead of solid angle
d395c33da1 Add utility function to evaluate radiance
d77cdd550e Fix unintialized field in triangle light
8ebd56b5a0 Write surface data pass with other data passes
d00331cd85 Reduce reservoir storage by setting up ray from the camera
Compare 172 commits »
Weizhen Huang pushed to restir at weizhen/blender 2024-04-30 15:53:33 +02:00
ec6bd6ca21 Use rendering equation in area formulation instead of solid angle
095f6ca7e2 Add utility function to evaluate radiance
f0e4388db3 Fix unintialized field in triangle light
Compare 3 commits »
Weizhen Huang commented on pull request blender/blender#115241 2024-04-29 20:26:15 +02:00
Fix #114780: Cycles: Principled Chiang Hair importance sampling correction

why isn't scale tilt applied at this level ?

The residual term accumulates all the contribution after TRT, and is assumed to be diffuse, so the tilt doesn't make a difference.

Weizhen Huang pushed to restir at weizhen/blender 2024-04-29 14:33:15 +02:00
f72682d289 Write surface data pass with other data passes
6ad2099f93 Reduce reservoir storage by setting up ray from the camera
73fd2dd703 Split reservoir and surface data passes
73ae85f710 Copy direction instead of position for area light with zero spread
079d87b46c Fix not using initial resampling not used when it should
Compare 5 commits »
Weizhen Huang pushed to main at weizhen/.profile 2024-04-29 10:40:11 +02:00
b2541a518b Update reports/2024.md
Weizhen Huang closed issue blender/blender#121160 2024-04-28 23:06:04 +02:00
EEVEE-Next: Blender crashes when using Nishita Sky Texture
Weizhen Huang closed issue blender/blender#121195 2024-04-28 22:54:12 +02:00
Error in rendering Principled with alpha with cycles
Weizhen Huang commented on issue blender/blender#121195 2024-04-28 22:54:08 +02:00
Error in rendering Principled with alpha with cycles

The result is not wrong, it just needs a few more samples to converge. Previously we deliberately give lobes with low contribution a minimal probability to sample, in case the next bounce has…

Weizhen Huang pushed to restir at weizhen/blender 2024-04-26 16:10:03 +02:00
0023d17cb7 Minor Speedups
56dde22815 Fix spatial sampling bias
0ffd935bb4 Add ReSTIR profiling
eeb3ffb5b5 Add ray differentials
37126e468b Support mesh light
Compare 193 commits »
Weizhen Huang commented on issue blender/blender#121097 2024-04-26 11:38:53 +02:00
Shading Bug - Smooth and Flat shading with sharp edge in edit mode.

This is caused by 5b6f2ef5a26023c7e869a19fb8568c8faf8f2c79, mesh.normals_domain() changed after split_faces is defined. But I don't understand why normals domain would change when switching…

Weizhen Huang pushed to restir at weizhen/blender 2024-04-25 18:41:43 +02:00
0b83af2c4d Fix spatial sampling bias
89f53ec2c4 Add ReSTIR profiling
Compare 2 commits »
Weizhen Huang created pull request blender/blender#121023 2024-04-24 15:19:22 +02:00
WIP: Cycles: Importance Resampling
Weizhen Huang pushed to restir at weizhen/blender 2024-04-24 13:50:55 +02:00
5637440df4 Add ray differentials
Weizhen Huang pushed to restir at weizhen/blender 2024-04-23 14:18:13 +02:00
daa1abe00e Support mesh light
cf2eb5685e Randomly sample neighbors instead of deterministically to reduce artifact
54b1d11e66 Refactor: use sample sequences in reservoir sampling
4392ddb30f Refactor: use int to represent initial and spatial resampling
16fdd010ed Fix checking visibility when ReSTIR is not used
Compare 184 commits »
Weizhen Huang commented on pull request blender/blender#118477 2024-04-23 11:30:05 +02:00
Cycles: Add thin film iridescence to Principled BSDF

I think the kernel is all C++ now, but not feature complete on some GPUs, not sure what exactly is supported but if buildbot doesn't complain it should be fine.