Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang pushed to emission-principled at LukasStockner/blender 2023-08-16 16:34:11 +02:00
8813bb0d4a Fix discrepancy in principled emission alpha test
Weizhen Huang pushed to spectral_cycles at weizhen/blender 2023-08-16 11:40:57 +02:00
1dc7f3639c Merge remote-tracking branch 'origin' into spectral_cycles
007b7d0353 Shaders: Change IOR soft minimum to 1.0 in Principled BSDF
71587663ac Fix #111156: Principled BSDF transmission not rendering in OSL
acbd952abf Cleanup: fewer iostreams related includes from BLI/BKE headers
f50da4040f Fix #111142: bl_static_type is empty for node groups and custom nodes
Compare 544 commits »
Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-08-15 16:50:19 +02:00
b71d6840fa Merge remote-tracking branch 'origin' into microfacet_hair
e6b102efc9 Rename principled_hair -> hair_chiang, microfacet_hair -> hair_huang
e955c94ed3 License Headers: Set copyright to "Blender Authors", add AUTHORS
f188d6709f LibOverride: keep some anim data from liboverride when it exists in both IDs.
257f21d494 Cleanup: Move Compositor versioning code from Scene's 'lib_link' to actual versioning code.
Compare 40 commits »
Weizhen Huang commented on pull request blender/blender#105600 2023-08-14 18:00:20 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

@LukasStockner There is a problem with your change. Because num_closure is set to 2 in shader_graph.cpp, when it tries to allocate a transparent closure in bsdf_microfacet_hair_setup() it…

Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-08-14 17:52:28 +02:00
7d14b8da7e Fix transparent closure not allocated
1a6b4c6d0c Fix assertion error
Compare 2 commits »
Weizhen Huang commented on pull request blender/blender#105600 2023-08-14 15:27:37 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Currently if the parametrization is set to Melanin Concentration, an extra Tint socket is enabled, which corresponds to the realistic case of dyed hair (there is melanin present in natural hair,…

Weizhen Huang commented on pull request blender/blender#105600 2023-08-14 15:14:04 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Indeed it doesn't look good, but adding if (is_circular) makes it span 8 lines, not sure of the benefits.

Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-08-14 15:13:56 +02:00
40b8bc055b Resolve some review comments
04bb899969 Merge remote-tracking branch 'origin' into microfacet_hair
a3a0a33978 I18n: updated UI translations from svn trunk (r6663).
769fe07668 GPU: Fix signed/unsigned mismatches in shader code
9094a3a9ab Refactor: Make display_init a base render method
Compare 281 commits »
Weizhen Huang closed issue blender/blender#111091 2023-08-14 10:40:33 +02:00
Incorrect calculation of Point Light Radius on a surface
Weizhen Huang commented on issue blender/blender#111091 2023-08-14 10:40:30 +02:00
Incorrect calculation of Point Light Radius on a surface

Yes, the point light has been changed to sphere light for energy preservation and better compatibility with other renders #108506. Outside the radius it is treated as a sphere light, inside the…

Weizhen Huang pushed to main at blender/blender 2023-08-07 07:29:26 +02:00
52ed6a216f Fix #110255: Cover up CPU/GPU differences with small suns in light tree
Weizhen Huang closed issue blender/blender#110255 2023-08-07 07:29:25 +02:00
Cycles GPU + Light tree: Sun sampling does not work under certain conditions
Weizhen Huang merged pull request blender/blender#110307 2023-08-07 07:29:23 +02:00
Fix #110255: Cover up CPU/GPU differences with small suns in light tree
Weizhen Huang commented on pull request blender/blender#105600 2023-08-07 02:11:20 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

This piece of code is provided by @olivier.fx. I didn't came up with the logic myself, but for a far-field model the "normal" is always the incoming direction, not really a feature of the object…

Weizhen Huang commented on pull request blender/blender#105600 2023-08-07 02:08:16 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

For the current two enums yes, but named struct seems easier understandable. On the other hand, it introduces additional storage and is seen as a compromise for not having enum-typed sockets. I'm…

Weizhen Huang commented on pull request blender/blender#105600 2023-08-07 02:04:08 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

I don't see tooltips in any other shader nodes, so I'm not sure if there is a guideline here, and I also have no idea about UX. I thought it would be good to provide clear information here, so the…

Weizhen Huang commented on pull request blender/blender#105600 2023-08-07 02:01:19 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

In the original implementation the pdf involves sampling microfacets, it is as costly as evaluating the BSDF itself, and it is also just an approximation, so not sure if it's worth it and how to…

Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-08-04 18:24:28 +02:00
8e22265389 Merge remote-tracking branch 'origin' into microfacet_hair
e888002668 Cleanup: rearrange data nodes
4395e0da93 Fix: Geometry nodes self object crash in node operator
647f2053a9 Tests: add automated regressions tests for Hydra Storm
83fa353efc Hydra: add option to export through USD file instead of Hydra API
Compare 97 commits »
Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-08-04 16:51:29 +02:00
40e45dee57 Cleanup: remove unnecessary lines
91dae1866b Cleanup: rename functions
ae5176c92b Cleanup: format in comments
b278dbadbc Cleanup: move utility functions to bsdf_util.h
408c90224e Remove microfacet distribution type, use GGX
Compare 5 commits »