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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?