Expand description
§Wavefront Loader
Warning!!!
This crate exists primarily so that other geometry creates created under Demiurge can be released publically. There is no intention to make it feature complete. There is no current intention to make it handle material properties. You probably do not want to depend on this crate.
Importer and exporter crate for geometric data. This is meant to be a versatile interface to load but especially to export data to the wavefront (.obj
) format.
In particular, it supports exporting line elements, which most exporters forget as part of the official format standard. It also supports a wide array of combinations such as points only, coloured points, indices as a flat list, indices as nested arrays, arbitrary face topology for vertices, normals and texture coordinates.
This makes it very simple to dump contents of a geometric algorithm and inspect it with a geometry viewer.