Weizhen Huang weizhen
  • Joined on 2022-10-03
Weizhen Huang closed issue blender/blender#107725 2023-05-08 19:11:19 +02:00
Regression: Wireframe artifact on fast transforming glass-shader and motion blur on
Weizhen Huang merged pull request blender/blender#107748 2023-05-08 19:11:17 +02:00
Fix #107725: ray-offset was incorrectly applied on motion triangles
Weizhen Huang created pull request blender/blender#107748 2023-05-08 18:15:21 +02:00
Fix #107725: ray-offset was incorrectly applied on motion triangles
Weizhen Huang created branch motion_triangle_offset in weizhen/blender 2023-05-08 18:14:22 +02:00
Weizhen Huang pushed to motion_triangle_offset at weizhen/blender 2023-05-08 18:14:22 +02:00
5ff7703679 Fix #107725: ray-offset was incorrectly applied on motion triangles
0327d2c963 Add missing notifier when setting cursor.matrix
8759ae1760 GPU: Initialize SRGB In TestCases
7e79e0eec0 File Browser: Avoid filling file cache needlessly on auto-complete
be19edf356 Cleanup: Add API comment on side-effect of file browser query function
Compare 10 commits »
Weizhen Huang approved blender/blender#107560 2023-05-05 15:00:37 +02:00
Refactor: flatten light tree in recursive function

Looks great! The logic is indeed much more clear now.

Weizhen Huang commented on pull request blender/blender#107560 2023-05-05 15:00:36 +02:00
Refactor: flatten light tree in recursive function

This is not a flatten operation, maybe call it something like copy_light_tree_node_to_device()?

Weizhen Huang commented on pull request blender/blender#107560 2023-05-05 15:00:36 +02:00
Refactor: flatten light tree in recursive function

Similar here, it's mainly copying to device but also flattens subtree. Maybe better to rename too? Something with copy_and_flatten()

Weizhen Huang pushed to recursive-light-tree-flatten at brecht/blender 2023-05-05 14:45:54 +02:00
745ff1c3c9 Cleanup: remove noise in the comment
cfd7de83ac Swap instance and reference before flattening the subtree
Compare 2 commits »
Weizhen Huang commented on pull request blender/blender#105600 2023-05-04 20:02:37 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

The last few commits aim to mitigate the energy loss issue.

Energy loss due to single-scattering microfacets

We refer to the paper [Practical multiple scattering compensation for…

Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-05-04 20:01:02 +02:00
9fd0c502d6 Approximate TRRT+ terms
2ec576f1a3 Cleanup: invert the direction of refract_angle()
1a7203edbb Merge remote-tracking branch 'origin' into microfacet_hair
91562e880e Add albedo scaling to reduce energy loss
bcedbdcf6f Cleanup: improve code-comments, naming, use defines, correct spelling
Compare 27 commits »
Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-05-02 20:54:47 +02:00
7d25982d7c Merge remote-tracking branch 'origin' into microfacet_hair
Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-05-02 20:50:18 +02:00
67da18dc22 Merge remote-tracking branch 'origin' into microfacet_hair
a3e9d79ac7 Add albedo scaling to reduce energy loss
22245115fd Fix #107499: Text Object Selection with Scale To Fit Mode
824a998a14 Reduce visibility check
71e4f48180 Nodes: Improve link drag search value moving
Compare 467 commits »
Weizhen Huang commented on pull request blender/blender#105600 2023-04-18 22:45:02 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

I tried to isolate individual lobes. The TRRT+ term in Principled Hair doesn't seem to make a drastic difference:

Weizhen Huang pushed to microfacet_hair at weizhen/blender 2023-04-18 16:16:11 +02:00
cab3b5eeed Remove unused variable
Weizhen Huang commented on pull request blender/blender#105600 2023-04-18 16:05:06 +02:00
Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support

Not sure why this was 4 before, there are only 2 closures, ...HairBSDF and ...HairExtra.

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

The curve normal (which is needed for orienting the cross-section) is not considered in the legacy hair curve. I don't want to put too much effort into this if the legacy curve is to be discarded at some point.

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

These are utitily functions for matching direct color with absorption coefficient. They are designed for Principled Hair BSDF, and don't seem to match very well with the Microfacet Hair BSDF. Currently I just "borrow" these functions so direct coloring is also available for the new model. I could move the three shared functions to bsdf_util.h, or duplicate them in bsdf_hair_microfacet.h, if this matters.

Weizhen Huang pushed to main at blender/blender 2023-04-18 11:58:18 +02:00
4d7a7ce67c Fix #107050: accessing nullptr after progress is canceled