CharacterCreator icon indicating copy to clipboard operation
CharacterCreator copied to clipboard

Prefetch assets and then pass blobURL to three.js loaders

Open soulofmischief opened this issue 2 years ago • 0 comments

Currently, urls are sent directly to three.js loaders. Unfortunately, they do not support request cancelling. Therefore, we should first use fetch/etc to retrieve the asset, then create a blob URL which the loaders can ingest. This will allow better request lifecycle handling, as well future as optimization strategies such as streaming LODs.

My first attempt at this revealed strange bugs, needs further investigation.

soulofmischief avatar Feb 07 '23 23:02 soulofmischief