Skip to content

Latest commit

 

History

History
72 lines (64 loc) · 1.91 KB

WORK.md

File metadata and controls

72 lines (64 loc) · 1.91 KB

Obj files

Vertex data

  • geometric vertices (v)
  • texture vertices (vt)
  • vertex normals (vn)
  • parameter space vertices (vp) Free-form curve/surface attributes

Curves and Surfaces

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

Elements

  • point (p)
  • line (l)
  • face (f)

Curves and Surface Elements

  • curve (curv)
  • 2D curve (curv2)
  • surface (surf)

Free-form curve/surface body statements

  • parameter values (parm)
  • 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)

mtl files

  • new material name (newmtl)
  • ambient (Ka)
  • diffuse (Kd)
  • specular (Ks)
  • non-transparency (d)
  • transparency (Tr)
  • transmission filter (Tf)
  • shininess (Ns)
  • illumination model (illum)
  • ambient map (map_Ka)
  • diffuse map (map_Kd)
  • specular map (map_Ks)
  • shininess map (map_Ns)
  • non-transparency map (map_d)
  • texture anti-aliasing (map_aat)
  • displacement map (disp)
  • decal map (decal)
  • bump map (bump)
  • reflection map (refl)