blob: a4c6e04a193fb92a58d843f30b2ac819dba35502 [file] [log] [blame]
import tinyobjloader as tol
import json
model = tol.LoadObj("cornell_box_multimaterial.obj")
#print(model["shapes"], model["materials"])
print( json.dumps(model, indent=4) )
#see cornell_box_output.json