Sha256: dc8fe5f907efff38f9cfc95623958b56cf169530348894816ea3af0b24e28289

Contents?: true

Size: 206 Bytes

Versions: 21

Compression:

Stored size: 206 Bytes

Contents

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.4.4 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.4.3 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.4.2 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.4.1 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.4.0 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.3.2 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.3.1 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.3.0 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.6 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.5 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.4 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.3 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.2 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.1 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.2.0 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.1.4 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.1.3 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.1.2 ext/pixo/ext/tinyobjloader/python/howto.py
pixo-0.1.1 ext/pixo/ext/tinyobjloader/python/howto.py