You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to submit a feature request for Gaussian Splats support on the Looking Glass through WebXR, which seems currently not available.
I have tested the library locally using the React Three Fiber library and its extension called Drei.
Simple meshes are currently supported, but splats are not.
This are the docs for the Splats objects in Drei: https://github.com/pmndrs/drei?tab=readme-ov-file#splat
WebGL: INVALID_VALUE: uniform1fv: no array
[.WebGL-0x1040678c000] GL_INVALID_OPERATION: Mismatch between texture format and sampler type (signed/unsigned/float/shadow).
I think this might be cause by the ShaderMaterial that is used inside the <Splat> component , which might not be supported by the Looking Glass WebXR library.
interesting, I've tested this locally and it's working ok, can you let me know what version of Drei, Three.JS and the Looking Glass WebXR Library you're using?
Hey @BryanChrisBrown , can you please tell me what is your setup so that I can try to replicate and see if it works?
In particular, how are you instantiating the LookingGlassWebXRPolyfill class?
@ncastaldo one thing you'll want to be careful of with react-three-fiber is re-rendering the canvas element, I'd be cautious to put any useState hooks that'd cause the canvas itself to get re-rendered.
Are you able to share a code sandbox or other link to your project?
I would like to submit a feature request for Gaussian Splats support on the Looking Glass through WebXR, which seems currently not available.
I have tested the library locally using the React Three Fiber library and its extension called Drei.
Simple meshes are currently supported, but splats are not.
This are the docs for the Splats objects in Drei: https://github.com/pmndrs/drei?tab=readme-ov-file#splat
This is the snippet to reproduce the error:
These are the errors from I get in the console:
I think this might be cause by the
ShaderMaterial
that is used inside the<Splat>
component , which might not be supported by the Looking Glass WebXR library.Here’s a link to the Drei implementation: https://github.com/pmndrs/drei/blob/master/src/core/Splat.tsx
The text was updated successfully, but these errors were encountered: