Closed lim663 closed 2 months ago
You'll want to look into how to handle CORS with Vite. There is a section in the README: https://github.com/mkkellogg/GaussianSplats3D?tab=readme-ov-file#cors-with-vite. Let me know if that works for you!
I didn't work. And the error is reported as follows.
You'll want to look into how to handle CORS with Vite. There is a section in the README: https://github.com/mkkellogg/GaussianSplats3D?tab=readme-ov-file#cors-with-vite. Let me know if that works for you!
I see what the problem was, I didn't add the following inside the main.ts document: import viewer from '. /Viewer'; viewer.start Now the problem is solved! Thank you for your help and sharing!
I run this npm install @mkkellogg/gaussian-splats-3d to configure the environment Subsequently I add the page 3dplayer.html and write the following code in the corresponding App.vue
yoyoyoThe page was successfully generated but the console reported the following error: DOMException: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': SharedArrayBuffer transfer requires self.crossOriginIsolated.
Could you tell me how to correct it?