Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang pushed to cycles-cleanup at weizhen/blender 2024-04-12 14:02:35 +02:00
5dd117242f Refactor: shuffle some code around in Cycles light
Weizhen Huang pushed to restir at weizhen/blender 2024-04-12 12:07:26 +02:00
1204a8647b Write ShaderData to render buffer and render later
4ad690abe6 Refactor: wrap block of codes into functions
8e3b141756 Cleanup: remove unused parameters
15956e6ddc Cleanup: reduce code duplication in forward MIS weight
3b635cdb95 Recover Area Light Sample from uv
Compare 35 commits »
Weizhen Huang pushed to cycles-cleanup at weizhen/blender 2024-04-11 17:39:13 +02:00
80d6a73f16 Refactor: wrap block of codes into functions
Weizhen Huang pushed to cycles-cleanup at weizhen/blender 2024-04-11 17:21:13 +02:00
b94781204d Cleanup: remove unused parameters
Weizhen Huang pushed to cycles-cleanup at weizhen/blender 2024-04-11 15:12:43 +02:00
870c8a4663 Cleanup: reduce code duplication in forward MIS weight
e862781340 Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
cc0ff8ec06 Cleanup: pass shader flag as parameter instead of ShaderData
23bd7fd552 Cleanup: use available function to compute render buffer pointer
b7f8006bb8 Cleanup: reduce code duplication in surface MIS
Compare 78 commits »
Weizhen Huang created branch cycles-cleanup in weizhen/blender 2024-04-09 17:53:28 +02:00
Weizhen Huang pushed to cycles-cleanup at weizhen/blender 2024-04-09 17:53:28 +02:00
d1b89f826c Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
787548e7b3 Cleanup: pass shader flag as parameter instead of ShaderData
f1b7065fbb Cleanup: use available function to compute render buffer pointer
0a1debb13d Cleanup: reduce code duplication in surface MIS
65b38942b0 Cleanup: remove unused function parameters
Compare 5 commits »
Weizhen Huang pushed to restir at weizhen/blender 2024-04-09 17:19:47 +02:00
2126a456ed Cleanup: remove unnecessary shader flag in Chiang Hair BSDF
bbb6d356b8 Cleanup: pass shader flag as parameter instead of ShaderData
b255364933 Cleanup: use available function to compute render buffer pointer
0cecd91fb1 Schedule one sample each time, dummy spatial resampling function
ee103bf3bc Explicitly check for visibility
Compare 343 commits »
Weizhen Huang commented on issue blender/blender#120362 2024-04-08 17:24:02 +02:00
Cycles: Refraction ray bent depending on geometry density

I agree this is an issue with modeling, namely how the normals are computed.

With geometry node UV sphere, the vertex normals are computed purely from the vertex positions in `calculate_sphere_v…

Weizhen Huang pushed to main at weizhen/.profile 2024-04-08 10:36:49 +02:00
7823a032b0 Update reports/2024.md
Weizhen Huang commented on pull request blender/blender#120216 2024-04-04 15:04:14 +02:00
Fix #120119: Area lamp artifacts in Cycles with light trees

I believe changing sc->N to sd->N is the correct fix, as this normal must be consistent for both forward tracing and NEE, and in NEE sc->N is not available.

Weizhen Huang commented on pull request blender/blender#120216 2024-04-04 15:04:13 +02:00
Fix #120119: Area lamp artifacts in Cycles with light trees

First, the g < 0 condition is not checking whether a shading normal points inside the mesh, but whether the incoming light is below the geometry normal.

Weizhen Huang pushed to restir at weizhen/blender 2024-03-27 20:49:10 +01:00
c8e2a6d0ad Dummy ReSTIR kernel, only calls film_write_direct_light()
622b30b723 Simple RIS for direct illumination
89dacdebac Cleanup: reduce code duplication in surface MIS
8c93d3ab58 Cleanup: remove unused function parameters
53e9fb6b78 Fix #117566: Cycles persistent data not updated by device preferences
Compare 754 commits »
Weizhen Huang deleted branch fix-light-tree-volume-p from weizhen/blender 2024-03-27 15:06:18 +01:00
Weizhen Huang merged pull request blender/blender#119965 2024-03-27 15:06:16 +01:00
Fix: Cycles volume light tree using wrong point to compute uncertainty angle
Weizhen Huang pushed to main at blender/blender 2024-03-27 15:06:15 +01:00
68253b4937 Fix: Cycles volume light tree using wrong point to compute uncertainty angle
Weizhen Huang pushed to main at blender/blender-test-data 2024-03-27 14:38:47 +01:00
7d6518ef5f Cycles: update test files due to changes in volume light tree