Vizi
Vizi copied to clipboard
Update loaders to support new gltf naming.
gltf has changed the naming of the files from json to gltf and I have no luck loading then with the Vizi.Loader. Please update loader to support new gltf naming.
It also seems like the path property has changed to uri.
#old json format
>cat Duplex.json | grep path
"path": "Duplex_A_20110907.bin",
"path": "Duplex_A_201109070FS.glsl",
"path": "Duplex_A_201109070VS.glsl",
"path": "Duplex_A_201109071FS.glsl",
"path": "Duplex_A_201109071VS.glsl",
#new gltf format
>cat Duplex.gltf | grep uri
"uri": "Duplex_A_20110907.bin"
"uri": "Duplex_A_201109070FS.glsl"
"uri": "Duplex_A_201109070VS.glsl"
"uri": "Duplex_A_201109071FS.glsl"
"uri": "Duplex_A_201109071VS.glsl"
I am not quite sure if changes are needed in threejs also?
how to update loader to support new gltf naming?