GaussianSplats3D
GaussianSplats3D copied to clipboard
H5 problem,it works fine in chrome, but in other browers and in app webview,it doesn't work。
The console log doesn't print "Sorting web worker WASM setup complete. Sorting web worker ready." I suspect the sort worker wasm compatibility.
Please excuse my ignorance, but what exactly do you mean by H5? Also, would you be able to share your setup code? That might help me troubleshoot.
Thanks for your reply. H5 I means the web page in mobile device, like andriod phone or iphone. My problem is the same as the issue "https://github.com/mkkellogg/GaussianSplats3D/issues/56". The UI display “Processing splats...” the whole time. I can access to the web page and see the scene in the PC, not successed in mobile. But my debug message is different: "CompileError: WebAssembly.compile(): invalid memory limits flags (enable via --experimental-wasm-threads) ……". And I already use "sharedMemoryForWorkers" to disable share memory. Here is my setup code.
` import * as GaussianSplats3D from "@mkkellogg/gaussian-splats-3d"; import VConsole from "vconsole";
const vconsole = new VConsole();
const viewer = new GaussianSplats3D.Viewer({ cameraUp: [0, -0.01, 0], initialCameraPosition: [0, 0, 4], initialCameraLookAt: [0, 0.7, 0], integerBasedSort: false, sharedMemoryForWorkers: false, }); viewer .addSplatScene("../assets/data/pagoda.ply", { showLoadingUI: true, }) .then(() => { viewer.start(); }); `
In addition, in mobile, is not all of browers doesn't work. It works in chrome@100, but in my phone defalut browers or in app's webview, the UI display “Processing splats...” the whole time. The OS of my phone is Android 11.
Have you solved the problem now? I had the same problem
Loading the first online demo (Garden) on my iphone under safari and chrome crashes the browser after the optimization phase. In both cases an error flashes and the window is refreshed, the load starts again, optimization begins and then crashes the browser. After the second time it says "A problem repeatedly occured on "...?mode=0"
@robinsonkwame It's hard to say exactly what issue(s) you might be encountering. If it's an out-of-memory related problem, you could try setting the freeIntermediateSplatData parameter to true, but of course you'd have to do that locally. Do any of the smaller scenes work for you (truck or bonsai)?
Ah, those fail as well. I think what I'll do is try to get my app working as expected on desktop and trust there's a way to reduce the resource demand such that I debug enough on mobile, either on device or by slowly limiting available memory on a browser simulating mobile via chrome tools. Sent from my iPhone, please excuse any typos. On Sep 19, 2024, at 11:04 AM, Mark Kellogg @.***> wrote: @robinsonkwame It's hard to say exactly what issue(s) you might be encountering. If it's an out-of-memory related problem, you could try setting the freeIntermediateSplatData parameter to true, but of course you'd have to do that locally. Do any of the smaller scenes work for you (truck or bonsai)?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>