go-obj

OBJ file loader for golang

Github星跟踪图

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

Simply go get -u github.com/sheenobu/go-obj/obj.

Much of the code outside of go-obj/obj
relies on SDL2 and vendored code but go-obj/obj should
be generic and never fail to pull due to Cgo dependencies (bug #5).

cmd/obj-renderer

This is a standard object renderer, using a simple GLSL shader (embedded) for lighting.

Usage:

$ obj-renderer <filename>

TODO

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

主要指标

概览
名称与所有者sheenobu/go-obj
主编程语言Go
编程语言Go (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2016-06-25 00:49:31
推送于2019-01-06 23:11:18
最后一次提交2019-01-06 15:11:11
发布数2
最新版本名称v0.2.0 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数18
关注者数3
派生数12
提交数22
已启用问题?
问题数5
打开的问题数2
拉请求数3
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?