kilbouri / terminal-3d

A 3D mesh viewer for the Linux terminal written in C!
GNU General Public License v3.0
12 stars 2 forks source link

Wavefront (.OBJ) Mesh Support #8

Open kilbouri opened 1 year ago

kilbouri commented 1 year ago

Currently only binary STL meshes are supported. Would be nice to extend support to Wavefront models, seeing as they are a very common format.

kilbouri commented 1 year ago

The specification includes support for free-form curves and surfaces. A simplifying assumption, to keep things simple, can be that inputs will only contain vertex positions and face elements (without normal/texcoords).

In the future it may be worthwhile to build out support for per-vertex normals in this format.