Images are encoded asynchronously and finish in any order. three.js gives each one the next bufferView when it
finishes, so the same scene exported twice gives different files. Here each image gets a placeholder index
instead (negative), and the bufferViews are written in the order of json.images once everything is encoded.
Images are encoded asynchronously and finish in any order. three.js gives each one the next bufferView when it finishes, so the same scene exported twice gives different files. Here each image gets a placeholder index instead (negative), and the bufferViews are written in the order of
json.imagesonce everything is encoded.