go-obj

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2021 License: MIT

README

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL