mkkellogg / GaussianSplats3D

Three.js-based implementation of 3D Gaussian splatting
MIT License
1.37k stars 168 forks source link

Issue using the import npm package #233

Closed digityze2023 closed 3 months ago

digityze2023 commented 4 months ago

Hello, I am trying two different ways to use your package:

first one, using the importmap via cdn:

`<!DOCTYPE html>

3D Gaussian Splat Demo - Garden ` and the second one using npm install but when I run the demo locally it returns an error because cannot access to the module.js (of your library...). Could you please help me? Your work is great my friend!
mkkellogg commented 4 months ago

I'm not sure where you got that CDN url for my library, one that should work would be:

https://unpkg.com/browse/@mkkellogg/gaussian-splats-3d@0.4.1/build/gaussian-splats-3d.module.js

For the second approach ( npm install ), can you show me the code you are using to set up the viewer? Maybe I can help debug that.

digityze2023 commented 4 months ago

Hello, thank you but is doesn't work, my approach is simple: I use the import map like https://drive.google.com/drive/folders/10NFbeub3L2ER-wnzMQ6G1Yh_u5EG1bZV?usp=sharing please let me know if you can access. there is my "simple" sample.

mkkellogg commented 4 months ago

I can't access that shared folder, could you just post the relevant code snippet(s) here?

mkkellogg commented 3 months ago

Any updates on this issue? I'd be glad to help, but I can't access your code.

digityze2023 commented 3 months ago

Hello Mark, I am sorry for the immense delay in my answer. I attach to this email my code..

My purpose is to use your code to see gaussian splat scene and convert the model into an stl for example..

Thanks, Luca

Il giorno mar 4 giu 2024 alle ore 01:01 Mark Kellogg < @.***> ha scritto:

Any updates on this issue? I'd be glad to help, but I can't access your code.

— Reply to this email directly, view it on GitHub https://github.com/mkkellogg/GaussianSplats3D/issues/233#issuecomment-2146322314, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6E3VM4DV57V2V3TTACD3TTZFT7T3AVCNFSM6AAAAABHR2FFR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWGMZDEMZRGQ . You are receiving this because you authored the thread.Message ID: @.***>

mkkellogg commented 3 months ago

I'm sorry, I still don't see any sample code and cannot access your google drive folder..

mkkellogg commented 3 months ago

I'm going to close this for now, please let me know if you still need assistance.

digityze2023 commented 3 months ago

Thank you so much. Please close now and I will open a new thread in case of needs

Il giorno lun 24 giu 2024 alle ore 20:43 Mark Kellogg < @.***> ha scritto:

I'm going to close this for now, please let me know if you still need assistance.

— Reply to this email directly, view it on GitHub https://github.com/mkkellogg/GaussianSplats3D/issues/233#issuecomment-2187186247, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6E3VM5YQW5DGBI2OJTG4DTZJBSEVAVCNFSM6AAAAABHR2FFR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBXGE4DMMRUG4 . You are receiving this because you authored the thread.Message ID: @.***>