6 lines
105 B
Python
6 lines
105 B
Python
import tinyobjloader as tol
|
|
|
|
model = tol.LoadObj("cube.obj")
|
|
|
|
print(model["shapes"], model["materials"])
|