We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b23191 commit 90fd1feCopy full SHA for 90fd1fe
src/scene/gsplat/gsplat-sogs-data.js
@@ -234,11 +234,12 @@ class GSplatSogsData {
234
quats._levels[0] = await readImageDataAsync(quats);
235
scales._levels[0] = await readImageDataAsync(scales);
236
sh0._levels[0] = await readImageDataAsync(sh0);
237
- sh_labels._levels[0] = await readImageDataAsync(sh_labels);
238
- sh_centroids._levels[0] = await readImageDataAsync(sh_centroids);
239
240
// allocate spherical harmonics data
241
if (shBands > 0) {
+ sh_labels._levels[0] = await readImageDataAsync(sh_labels);
+ sh_centroids._levels[0] = await readImageDataAsync(sh_centroids);
242
+
243
const shMembers = [];
244
for (let i = 0; i < 45; ++i) {
245
shMembers.push(`f_rest_${i}`);
0 commit comments