lumalabs / luma-web-examples

Luma Interactive Scenes (captures) Web Examples, use lumalabs.ai captures directly in your three.js or other WebGL projects!
https://lumalabs.ai/luma-web-library
MIT License
337 stars 37 forks source link

It runs in WebXR (Quest3)! But how to improve/subsample for faster rendering? #18

Open nosy-b opened 7 months ago

nosy-b commented 7 months ago

Congrats for the great work!

I did run some captures in WebXR with my Quest3 and I was surprised it runs! It's smooth but get slow when looking at detailed objects in the scene (main subject).

Is there a way to optimize the splat or add some options in the viewer to make the rendering faster for Mixed reality devices?

Thanks!

haxiomic commented 7 months ago

If you haven't already make sure the following is set

WebGL context with antialias: false and new LumaSplatsThree({ enableThreeShaderIntegration: false})

VR specific performance improvements are important to us and we are exploring this :)

nosy-b commented 7 months ago

Yes I setup like that already :) Only cheap trick I used also is to reduce the camera frustum.

Cool that you work on that, it's actually really nice through Headsets!