|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Triangle mesh parameters. More...
#include <tinypbrt/detail/shape.h>
Data Fields | |
| tpbrt_uint_array_t | indices |
| The array of integer offsets into the per-vertex data arrays (P, and any of N, S, or uv that are present.) Required, unless exactly three vertices are specified. | |
| tpbrt_point3_array_t | p |
| The vertex positions of the triangle mesh. | |
| tpbrt_normal_array_t | n |
| Per-vertex normals. If present, shading normals will be computed from these values. | |
| tpbrt_vec3_array_t | s |
| Per-vertex tangents. | |
| tpbrt_point2_array_t | uv |
| Per-vertex texture coordinates. | |
Triangle mesh parameters.
| tpbrt_uint_array_t tpbrt_shape_triangle_mesh_params_t::indices |
The array of integer offsets into the per-vertex data arrays (P, and any of N, S, or uv that are present.) Required, unless exactly three vertices are specified.
| tpbrt_point3_array_t tpbrt_shape_triangle_mesh_params_t::p |
The vertex positions of the triangle mesh.
| tpbrt_normal_array_t tpbrt_shape_triangle_mesh_params_t::n |
Per-vertex normals. If present, shading normals will be computed from these values.
| tpbrt_vec3_array_t tpbrt_shape_triangle_mesh_params_t::s |
Per-vertex tangents.
| tpbrt_point2_array_t tpbrt_shape_triangle_mesh_params_t::uv |
Per-vertex texture coordinates.