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 148e954dbb - Show all commits

View File

@ -665,6 +665,7 @@ Span<float3> CurvesGeometry::evaluated_tangents() const
const IndexRange evaluated_points = this->evaluated_points_for_curve(curve_index);
switch (types[curve_index]) {
case CURVE_TYPE_CATMULL_ROM:
/* NOTE: this causes test geo_node_curves_test_sample_curves to fail. */
curves::catmull_rom::calculate_tangents(positions.slice(points),
cyclic[curve_index],
resolution[curve_index],