kvark / obj

Basic Wavefront OBJ loader
Apache License 2.0
29 stars 12 forks source link

Support for edges and points #34

Open Makogan opened 2 months ago

Makogan commented 2 months ago

It is not widely known but, the formal wavefront specification requires the format to support single lines similar to faces via l v_1 .. v_n and for points via p v_1. Visualizers for geometry such as meshlab are able to read this data correctly.

Currently the project is missing this functionality so it's incomplete relative to the spec: https://people.computing.clemson.edu/~dhouse/courses/405/docs/brief-obj-file-format.html

Drawing lines is commonly done in geometry processing to visualise debugging data.