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

Image map texture parameters. More...

#include <tinypbrt/detail/texture.h>

Data Fields

tpbrt_string_t file_name
 The filename of the image to load. Currently pbrt supports TGA, PFM, and EXR format images.
 
tpbrt_float_t max_anisotropy
 The maximum elliptical eccentricity for the EWA algorithm.
 
tpbrt_float_t scale
 Scale factor to apply to value looked up in texture.
 
tpbrt_opt_float_t gamma
 Gamma exponent.
 
tpbrt_texture_wrap_t wrap: 3
 What to do with texture coordinates that fall outside the legal [0,1] range.
 
tpbrt_texture_filter_t filter: 4
 Filter function to use for anti-aliasing texture lookups.
 
tpbrt_texture_encoding_t encoding: 3
 Specification of how to convert 8-bit color values to floating point values between 0 and 1.
 
tpbrt_bool_t invert: 1
 If true, then given a texture value x, returns 1-x instead.
 

Detailed Description

Image map texture parameters.

Field Documentation

◆ file_name

tpbrt_string_t tpbrt_texture_image_map_params_t::file_name

The filename of the image to load. Currently pbrt supports TGA, PFM, and EXR format images.

◆ max_anisotropy

tpbrt_float_t tpbrt_texture_image_map_params_t::max_anisotropy

The maximum elliptical eccentricity for the EWA algorithm.

◆ scale

tpbrt_float_t tpbrt_texture_image_map_params_t::scale

Scale factor to apply to value looked up in texture.

◆ gamma

tpbrt_opt_float_t tpbrt_texture_image_map_params_t::gamma

Gamma exponent.

◆ wrap

tpbrt_texture_wrap_t tpbrt_texture_image_map_params_t::wrap

What to do with texture coordinates that fall outside the legal [0,1] range.

◆ filter

tpbrt_texture_filter_t tpbrt_texture_image_map_params_t::filter

Filter function to use for anti-aliasing texture lookups.

◆ encoding

tpbrt_texture_encoding_t tpbrt_texture_image_map_params_t::encoding

Specification of how to convert 8-bit color values to floating point values between 0 and 1.

◆ invert

tpbrt_bool_t tpbrt_texture_image_map_params_t::invert

If true, then given a texture value x, returns 1-x instead.


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