Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 552 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 552 Bytes

go-obj

OBJ file loader

Currently supported fields:

  • # - comments , ignored
  • o - Object Name??
  • v - Vertex
  • vn - Vertex Normal
  • f - Face
  • vt - vertex texture coordinate indices

Everything else is silently ignored

Usage

go get -u github.com/oakmound/go-obj/obj

See tests for usage. (please open an issue to bug me to write readme examples if you would like them)

TODO

  • obj.Writer interface
  • The gometalinter says all the table based tests are the same. Try to abstract them?
  • Materials aren't supported.
  • Logging