go-obj

OBJ file loader for golang

Github stars Tracking Chart

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

Main metrics

Overview
Name With Ownersheenobu/go-obj
Primary LanguageGo
Program languageGo (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2016-06-25 00:49:31
Pushed At2019-01-06 23:11:18
Last Commit At2019-01-06 15:11:11
Release Count2
Last Release Namev0.2.0 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count18
Watchers Count3
Fork Count12
Commits Count22
Has Issues Enabled
Issues Count5
Issue Open Count2
Pull Requests Count3
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private