Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang merged pull request blender/blender#110377 2023-07-31 10:46:40 +02:00
Cycles: Cleanup device_update_lights
Weizhen Huang pushed to main at blender/blender 2023-07-31 10:46:39 +02:00
18575e411b Cleanup: Cycles device_update_lights
Weizhen Huang pushed to main at blender/blender 2023-07-31 10:40:48 +02:00
1261272da7 Cleanup: Simplify get centroid in Cycles light tree builder
Weizhen Huang merged pull request blender/blender#110376 2023-07-31 10:40:48 +02:00
Cleanup: Cycles light tree builder, simplify get centroid
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-07-28 18:52:30 +02:00
ffbfafe8a7 WIP: Change pdf type from float to Spectrum
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-07-28 16:02:09 +02:00
5f54e52ce2 Disable path guiding temporarily
b4834d98a0 Fix missing wavelength information
Compare 2 commits »
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-07-28 13:06:37 +02:00
4f607943f9 Merge remote-tracking branch 'origin' into spectral_cycles
fb54d3f865 Keymap: Use Alt-LMB for selection in vertex/weight paint modes
f839c31f6c Fix Blender crash on startup on macOS
44c54eda6f Cleanup: Apply clang-format for recent Outliner changes
d1e590eafa Refactor: Avoid evil context storage in drag data for asset import
Compare 44 commits »
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-07-27 15:29:49 +02:00
4360e36c38 Merge remote-tracking branch 'origin' into spectral_cycles
8acd3dfb8e Anim: Cleanup: Move CfraElem struct to editors
e604f3db91 Refactor: Anim, abstractions for armature layers
6a03f3a575 Fix #110210: Hide Value option doesn't work on color sockets
6b9da41221 Fix doc builder using C version of bmesh_opdefines
Compare 156 commits »
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-07-27 15:18:34 +02:00
93ba1b0687 Fix MNEE checking light visibility flags when not necessary
3770081411 Fix wrong pdf in light visibility
014fbd7724 Cleanup: add commenting regarding shader id
ce2c511e45 Implement spectrum_to_rgb function
61e38b3a7f Add comments/TODOs
Compare 8 commits »
Weizhen Huang created branch spectral_cycles in weizhen/blender 2023-07-25 15:22:48 +02:00
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-07-25 15:22:48 +02:00
14ac7ddfe2 Use wavelength-dependent Fresnel
3995b312a0 Fix invalid transmission configuration in Cycles microfacet
b66c8d7c5e Cleanup: use cos_HI as input for microfacet_fresnel() instead of wi and H
bae9420136 Merge remote-tracking branch 'origin' into spectral_cycles
56bc24aa9b Cycles: Merge OSL Clearcoat closure into microfacet()
Compare 10 commits »
Weizhen Huang commented on issue blender/blender#110271 2023-07-20 11:04:21 +02:00
Cycles: Intensity of rendered bump maps are different than Blender 3.5 and older version's renders.

Yes, this behavior is intentional. We try to adjust the shading normal slightly if the reflection might go under the surface, so that the result does not get overly dark, but sometimes people do…

Weizhen Huang commented on pull request blender/blender#109763 2023-07-19 17:00:33 +02:00
Fix #109679: Normal map strength is applied incorrectly

This patch introduces quite some noise in the benchmark bmw27 scene, because that scene uses a texture with possible negative color.z, causing some normals to be pointing in the wrong hemisphere…

Weizhen Huang commented on pull request blender/blender#107747 2023-07-17 09:10:40 +02:00
Fix #103977: Cycles handling ray visibility inconsistent for forward and nee

I wonder, shouldn't the function surface_shader_bsdf_eval_pdfs() just below it follow the same logic and be corrected too?

Weizhen Huang pushed to main at blender/blender 2023-07-14 12:23:16 +02:00
a86506b741 Cleanup: sort enum KernelFeatureFlag in order
Weizhen Huang pushed to main at blender/blender 2023-07-13 15:45:06 +02:00
4724147479 Fix #109945: Division by zero in brick texture
Weizhen Huang closed issue blender/blender#109945 2023-07-13 15:45:05 +02:00
Regression: Brick Texture Renders Black with certain inputs
Weizhen Huang commented on issue blender/blender#109945 2023-07-13 15:07:54 +02:00
Regression: Brick Texture Renders Black with certain inputs

Hey! Sorry, I should have split the commits. I was expecting smoothstepf() to handle the special cases so that the branches in brick.h are not needed, especially division by zero should not be…