mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2025-02-07 07:22:51 -05:00
This commit changes patterns for obj line parsing to recognize files where the elements are separated by any whitespace (regex \s). This way, we support files exported from Tinkercad.
13 lines
228 B
Plaintext
13 lines
228 B
Plaintext
# Blender MTL File: 'None'
|
|
# Material Count: 1
|
|
|
|
newmtl Material
|
|
Ns 96.078431
|
|
Ka 0.100000 0.000000 0.000000
|
|
Kd 0.640000 0.640000 0.640000
|
|
Ks 0.500000 0.500000 0.500000
|
|
Ke 0.000000 0.000000 0.100000
|
|
Ni 1.000000
|
|
d 1.000000
|
|
illum 2
|