Skip to content

A pure Go implementation of a Wavefront .obj loader

License

Notifications You must be signed in to change notification settings

zeluisping/go-obj

Repository files navigation

go-obj

A pure Go implementation of a Wavefront .obj loader

todo

Vertex data

  • rational and non-rational forms of curve or surface type: basic matrix, Bezier, B-spline, Cardinal, Taylor (cstype)
  • degree (deg)
  • basis matrix (bmat)
  • step size (step)

Elements

  • point (p)
  • line (l)
  • curve (curv)
  • 2D curve (curv2)
  • surface (surf)

Free-form curve/surface body statements

  • parameter values (param)
  • outer trimming loop (trim)
  • inner trimming loop (hole)
  • special curve (scrv)
  • special point (sp)
  • end statement (end)

Connectivity between free-form surfaces

  • connect (con)

Grouping

  • group name (g)
  • smoothing group (s)
  • merging group (mg)
  • object name (o)

Display/render attributes

  • bevel interpolation (bevel)
  • color interpolation (c_interp)
  • dissolve interpolation (d_interp)
  • level of detail (lod)
  • material name (usemtl)
  • material library (mtllib)
  • shadow casting (shadow_obj)
  • ray tracing (trace_obj)
  • curve approximation technique (ctech)
  • surface approximation technique (stech)

General statement

  • call filename.ext arg1 arg2

About

A pure Go implementation of a Wavefront .obj loader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages