Skip to content

oakmound/go-obj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Packages

No packages published

Languages

  • Go 100.0%