tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt_material_hair_params_t Struct Reference

Hair material parameters. More...

#include <tinypbrt/detail/material.h>

Data Fields

tpbrt_material_bump_map_params_t bump_map
 Bump map parameters.
 
tpbrt_texture_handle_t sigma_a
 Absorption coefficient of the medium inside the hair. This absorption coefficient is normalized such that the value provided should be with respect to the diameter of the hair.
 
tpbrt_texture_handle_t reflectance
 If specified, a value of the absorption coefficient is computed using an approximation that leads to the hair having roughly this reflectance, after multiple scattering in the hair during rendering.
 
tpbrt_texture_handle_t eumelanin
 Concentration of the eumelanin pigment in the hair. Blonde hair has concentrations around 0.3, brown around 1.3, and black around 8.
 
tpbrt_texture_handle_t pheomelanin
 Concentration of the pheomelanin pigment in the hair. Pheomelanin makes red hair red.
 
tpbrt_texture_handle_t eta
 Index of refraction of the hair medium.
 
tpbrt_texture_handle_t beta_m
 Longitudinal roughness of the hair. Should be between 0 and 1. This roughness controls the size and shape of the hair highlight.
 
tpbrt_texture_handle_t beta_n
 Azimuthal roughness of the hair. Should be between 0 and 1.
 
tpbrt_texture_handle_t alpha
 Angle of scales on the hair surface, in degrees.
 

Detailed Description

Hair material parameters.

Field Documentation

◆ bump_map

tpbrt_material_bump_map_params_t tpbrt_material_hair_params_t::bump_map

Bump map parameters.

◆ sigma_a

tpbrt_texture_handle_t tpbrt_material_hair_params_t::sigma_a

Absorption coefficient of the medium inside the hair. This absorption coefficient is normalized such that the value provided should be with respect to the diameter of the hair.

◆ reflectance

tpbrt_texture_handle_t tpbrt_material_hair_params_t::reflectance

If specified, a value of the absorption coefficient is computed using an approximation that leads to the hair having roughly this reflectance, after multiple scattering in the hair during rendering.

◆ eumelanin

tpbrt_texture_handle_t tpbrt_material_hair_params_t::eumelanin

Concentration of the eumelanin pigment in the hair. Blonde hair has concentrations around 0.3, brown around 1.3, and black around 8.

◆ pheomelanin

tpbrt_texture_handle_t tpbrt_material_hair_params_t::pheomelanin

Concentration of the pheomelanin pigment in the hair. Pheomelanin makes red hair red.

◆ eta

tpbrt_texture_handle_t tpbrt_material_hair_params_t::eta

Index of refraction of the hair medium.

◆ beta_m

tpbrt_texture_handle_t tpbrt_material_hair_params_t::beta_m

Longitudinal roughness of the hair. Should be between 0 and 1. This roughness controls the size and shape of the hair highlight.

◆ beta_n

tpbrt_texture_handle_t tpbrt_material_hair_params_t::beta_n

Azimuthal roughness of the hair. Should be between 0 and 1.

◆ alpha

tpbrt_texture_handle_t tpbrt_material_hair_params_t::alpha

Angle of scales on the hair surface, in degrees.


The documentation for this struct was generated from the following file: