For now, the viewer can handle URL which can be downloaded from with the fetch API.
I wanted to add the possibility to load a scene directly from a file, to handle drag & drop for instance.
Some features are still missing, like the progressive loading, or multiple files loading. I plan on integrate these soon.
Moreover, I struggled a bit on the 'abortable' promise that is returned by downloadAndBuildSingleSplatSceneStandardLoad. I couldn't manage to get the differences between the two following lines :
For now, the viewer can handle URL which can be downloaded from with the
fetch
API. I wanted to add the possibility to load a scene directly from a file, to handle drag & drop for instance.Some features are still missing, like the progressive loading, or multiple files loading. I plan on integrate these soon.
Moreover, I struggled a bit on the 'abortable' promise that is returned by
downloadAndBuildSingleSplatSceneStandardLoad
. I couldn't manage to get the differences between the two following lines :