|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Bilinear 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 four vertices are specified. | |
| tpbrt_point3_array_t | p |
| The vertex positions of the bilinear mesh. | |
| tpbrt_normal_array_t | n |
| Per-vertex normals. If present, shading normals will be computed from these values. | |
| tpbrt_point2_array_t | uv |
| Per-vertex texture coordinates. | |
Bilinear mesh parameters.
| tpbrt_uint_array_t tpbrt_shape_bilinear_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 four vertices are specified.
| tpbrt_point3_array_t tpbrt_shape_bilinear_mesh_params_t::p |
The vertex positions of the bilinear mesh.
| tpbrt_normal_array_t tpbrt_shape_bilinear_mesh_params_t::n |
Per-vertex normals. If present, shading normals will be computed from these values.
| tpbrt_point2_array_t tpbrt_shape_bilinear_mesh_params_t::uv |
Per-vertex texture coordinates.