Cycles: new Microfacet-based Hair BSDF with elliptical cross-section support #105600

Merged
Weizhen Huang merged 114 commits from weizhen/blender:microfacet_hair into main 2023-08-18 12:46:20 +02:00
Showing only changes of commit 6b5f323b90 - Show all commits

View File

@ -247,7 +247,7 @@ static float find_root_newton_bisection(float x_begin,
}
/* Calculate normals by minimizing the potential energy due to twist and bending. Global
* estimation involves integration and is thus too costly. Instead, we start with the first
* optimization would involve integration and is too costly. Instead, we start with the first
* curvature vector and propogate it along the curve. */
void calculate_normals(const Span<float3> positions,
const bool is_cyclic,