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

Coated conductor 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 albedo
 Scattering albedo of the medium between the interface and the diffuse base layer. Must be less than or equal to 1.
 
tpbrt_texture_handle_t g
 Henyey-Greenstein asymmetry parameter ranging from -1 to 1 that describes the distribution of scattered light in the medium.
 
tpbrt_uint_t max_depth
 Maximum number of bounces of light to model when modeling light scattering among the interface, the base layer, and the medium (if present).
 
tpbrt_uint_t n_samples
 Number of independent samples to take when performing Monte Carlo integration of light scattering between the layers.
 
union { 
 
   struct { 
 
      tpbrt_spectrum_t   eta 
 The conductor's index of refraction. More...
 
      tpbrt_spectrum_t   k 
 The conductor's exctinction coefficient. More...
 
   }   conductor 
 Holds conductor 'eta' and 'k' values. More...
 
   tpbrt_spectrum_t   reflectance 
 As an alternative to specifying the conductor's index of refraction and extinction coefficient, its average spectral reflectance can be specified instead; in this case plausible values for the index of refraction and extinction coefficient are found for rendering. More...
 
} as 
 Value dependent on value_type value.
 
tpbrt_material_roughness_params_t conductor_roughness_params
 Conductor roughness parameters.
 
tpbrt_material_roughness_params_t interface_roughness_params
 Interface roughness parameters.
 
tpbrt_float_t thickness
 Thickness of the medium between the two layers.
 
tpbrt_material_conductor_value_type_t value_type: 3
 Conductor's value type.
 

Detailed Description

Coated conductor material parameters.

Field Documentation

◆ bump_map

tpbrt_material_bump_map_params_t tpbrt_material_coated_conductor_params_t::bump_map

Bump map parameters.

◆ albedo

tpbrt_texture_handle_t tpbrt_material_coated_conductor_params_t::albedo

Scattering albedo of the medium between the interface and the diffuse base layer. Must be less than or equal to 1.

◆ g

tpbrt_texture_handle_t tpbrt_material_coated_conductor_params_t::g

Henyey-Greenstein asymmetry parameter ranging from -1 to 1 that describes the distribution of scattered light in the medium.

◆ max_depth

tpbrt_uint_t tpbrt_material_coated_conductor_params_t::max_depth

Maximum number of bounces of light to model when modeling light scattering among the interface, the base layer, and the medium (if present).

◆ n_samples

tpbrt_uint_t tpbrt_material_coated_conductor_params_t::n_samples

Number of independent samples to take when performing Monte Carlo integration of light scattering between the layers.

◆ eta

tpbrt_spectrum_t tpbrt_material_coated_conductor_params_t::eta

The conductor's index of refraction.

◆ k

tpbrt_spectrum_t tpbrt_material_coated_conductor_params_t::k

The conductor's exctinction coefficient.

◆ [struct]

struct { ... } tpbrt_material_coated_conductor_params_t::conductor

Holds conductor 'eta' and 'k' values.

◆ reflectance

tpbrt_spectrum_t tpbrt_material_coated_conductor_params_t::reflectance

As an alternative to specifying the conductor's index of refraction and extinction coefficient, its average spectral reflectance can be specified instead; in this case plausible values for the index of refraction and extinction coefficient are found for rendering.

◆ [union]

union { ... } tpbrt_material_coated_conductor_params_t::as

Value dependent on value_type value.

◆ conductor_roughness_params

tpbrt_material_roughness_params_t tpbrt_material_coated_conductor_params_t::conductor_roughness_params

Conductor roughness parameters.

◆ interface_roughness_params

tpbrt_material_roughness_params_t tpbrt_material_coated_conductor_params_t::interface_roughness_params

Interface roughness parameters.

◆ thickness

tpbrt_float_t tpbrt_material_coated_conductor_params_t::thickness

Thickness of the medium between the two layers.

◆ value_type

tpbrt_material_conductor_value_type_t tpbrt_material_coated_conductor_params_t::value_type

Conductor's value type.


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