module
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 11, 2021
License: MIT
Opens a new window with license information.
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
¶
Click to show internal directories.
Click to hide internal directories.