Skip to content

segfault11/ObjLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimal Wavefront .obj loader#

Features

  • minimal
  • written in C
  • reads positions, normals, texture coordinates
  • reads in faces
    • groups them into objects and then groups
  • supported material attributes (currently):
    • Ka, Kd, Ks
    • map_Ka, map_Kd, map_Ks,
    • Ns

Notes

  • Reads only one (the latest occuring) .mtl file
  • Supports only triangle meshes

Todos

  • add bump maps as material attribute
  • maybe support multiple mtl files
  • maybe save .obj files
  • trim line
  • add error codes

About

A minimal wavefront .obj loader

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages