Comments (5)
Thank you! Finally, 3D has come out.
I didn't know because I didn't get a console error.
Thank you very much for your kind and quick response.
from gaussiansplats3d.
Are there any errors in the debug console?
If you are running the code from your own server and haven't set the necessary CORS headers to enable SharedArrayBuffer
you will run into problems. The issue is described here: https://github.com/mkkellogg/GaussianSplats3D?tab=readme-ov-file#cors-issues-and-sharedarraybuffer
If that's the issue, setting those CORS headers should fix the problem. Or you can disable shared memory by passingfalse
for the sharedMemoryForWorkers
constructor parameter for Viewer
(and if you do you should probably disable GPU accelerated sort):
const viewer = new GaussianSplats3D.Viewer({
'cameraUp': [0, -1, -0.54],
'initialCameraPosition': [-3.15634, -0.16946, -0.51552],
'initialCameraLookAt': [1.52976, 2.27776, 1.65898],
`sharedMemoryForWorkers`: false,
`gpuAcceleratedSort`: false
});
viewer.init();
let path = './shoose.splat';
viewer.loadFile(path, {
'halfPrecisionCovariancesOnGPU': true
})
.then(() => {
viewer.start();
});`
from gaussiansplats3d.
Thank you for your prompt response.
However, it seems like there are no errors catching on my debug console.
I am leaving the test URL here
https://bexcos.mycafe24.com/coor/ply/webgl3.html
from gaussiansplats3d.
I am leaving the test URL here
https://bexcos.mycafe24.com/coor/ply/webgl3.html
When I visit that URL, I see the follow error in the debug console:
That error means you don't have the necessary CORS headers set on your server that allow a SharedArrayBuffer
to be used with web workers. The README talks about how to solve that problem: https://github.com/mkkellogg/GaussianSplats3D?tab=readme-ov-file#cors-issues-and-sharedarraybuffer
Or you can disable shared memory like I showed in the example above.
from gaussiansplats3d.
Great!
from gaussiansplats3d.
Related Issues (20)
- How to set camera rotation ? HOT 3
- trigger action on load HOT 2
- Issues rendering spherical harmonics HOT 6
- Compatibility issues with rendering on iOS devices. HOT 4
- The v0.4.2 has a greenish tint in the rendered scenes, which did not occur in version v0.4.0. HOT 4
- When can 2D Gaussian be supported? HOT 5
- Orientation problem after nerfstudio export HOT 6
- Viewer is not defined HOT 4
- Can we dynamically swap PLY files HOT 2
- is it possible to user EffectComposer / ShaderPass with the Viewer renderer? HOT 7
- Weird rotation of splats in some section of point cloud HOT 11
- Questions about dynamically loading data HOT 25
- How do I use the drop in mode for the viewer, in a React Three Fiber app? I get a "TypeError: Cannot read properties of undefined (reading 'quaternion')" HOT 10
- v0.4.2, the processing splats are taking longer to process. HOT 8
- Rendering scale HOT 1
- Issue with Maximum Loading of Splat Scenes HOT 1
- problem about refreshGPUDataFromSplatBuffers() and add scenes HOT 5
- View costum ksplat HOT 5
- Trying to make it work on Expo/React Native HOT 3
- Loading animation like in Luma WebGL Library HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaussiansplats3d.