update
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import tinyobjloader as tol
|
||||
import json
|
||||
|
||||
model = tol.LoadObj("cornell_box.obj")
|
||||
model = tol.LoadObj("cornell_box_multimaterial.obj")
|
||||
|
||||
#print(model["shapes"], model["materials"])
|
||||
print( json.dumps(model, indent=4) )
|
||||
|
||||
#see cornell_box_output.json
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user