|
scimesh 0.3.4
Headless CPU-only 3D software renderer for scientific mesh visualization
|
Functions for reading OBJ files. More...
Functions | |
| Mesh | read_obj (const std::string &path) |
| Load a mesh from a Wavefront OBJ file. | |
Functions for reading OBJ files.
Load a mesh from a Wavefront OBJ file.
Reads vertex positions and face indices from the file. OBJ is a text format — you can open .obj files in any text editor to inspect them.
| path | Filesystem path to the .obj file. |
| std::runtime_error | if the file cannot be opened or parsed. |
vt would be a small addition; until then the renderer gets no UVs from an OBJ file.Definition at line 8 of file obj_io.cpp.