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
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 869fbcc712 - Show all commits

View File

@ -908,7 +908,7 @@ static void export_hair_curves(Scene *scene,
float *attr_length = NULL;
if (hair->need_attribute(scene, ATTR_STD_VERTEX_NORMAL)) {
/* Compute geometry normals. */
/* Get geometry normals. */
float3 *attr_normal = hair->attributes.add(ATTR_STD_VERTEX_NORMAL)->data_float3();
int i = 0;
for (BL::FloatVectorValueReadOnly &normal : b_curves.normals) {

View File

@ -7,6 +7,7 @@
#pragma once
/* TODO: what does this do? */
#ifndef __KERNEL_GPU__
# include <fenv.h>
#endif