|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Ply file mesh parameters. More...
#include <tinypbrt/detail/shape.h>
Data Fields | |
| tpbrt_string_t | file_name |
| File from which the PLY-format mesh is loaded. If the file name's extension is ".gz", the file will be decompressed from gzip format as it is read. | |
| tpbrt_texture_handle_t | displacement |
| Specifies a texture used to displace the vertices of the mesh. The mesh will be adaptively tessellated so that all edges are below a specified length. | |
| tpbrt_float_t | edge_length |
| Maximum length (in world space) of an edge of a triangle mesh that is being displaced. Edges are recursively split until shorter than this length. | |
Ply file mesh parameters.
| tpbrt_string_t tpbrt_shape_ply_mesh_params_t::file_name |
File from which the PLY-format mesh is loaded. If the file name's extension is ".gz", the file will be decompressed from gzip format as it is read.
| tpbrt_texture_handle_t tpbrt_shape_ply_mesh_params_t::displacement |
Specifies a texture used to displace the vertices of the mesh. The mesh will be adaptively tessellated so that all edges are below a specified length.
| tpbrt_float_t tpbrt_shape_ply_mesh_params_t::edge_length |
Maximum length (in world space) of an edge of a triangle mesh that is being displaced. Edges are recursively split until shorter than this length.