GaussianSplats3D icon indicating copy to clipboard operation
GaussianSplats3D copied to clipboard

Low Performance Mobile

Open lucarinaldii opened this issue 1 year ago • 3 comments

Hi Mark, I am using your viewer for some splat scenes to render from mobile (4mb per scene or so). The thing I notice is a drop in device performance (safari on iphone 14 pro) and it seems very strange to me. Your tests with much larger scenes like this https://projects.markkellogg.org/threejs/gaussian_splats_3d_demos/truck.html seem to give no performance drop on the same device. Are some mobile device performance features coming?

Thank you very much for your great work.

lucarinaldii avatar Apr 14 '24 06:04 lucarinaldii

Would you be able to post the scene you are trying to load as well as the code you're using to set up the viewer? Maybe I can help troubleshoot.

mkkellogg avatar Apr 14 '24 16:04 mkkellogg

Hi Mark, I found out the problem: was about the Pixel Ratio that was over the device capabilities. The thing is that is different in some kinds of mobile devices.. think there could be an effective way to control o set a max device performance value?

lucarinaldii avatar Apr 16 '24 10:04 lucarinaldii

There is a setting for the Viewer class that tells it to pretend the devicePixelRatio is 1: ignoreDevicePixelRatio. This could help with performance, but the visual quality may suffer a little. You'd set it like so:

const viewer = new GaussianSplats3D.Viewer({
   ...
   'ignoreDevicePixelRatio': true
   ...
});

mkkellogg avatar Apr 19 '24 20:04 mkkellogg

Just checking in... did this issue get resolved?

mkkellogg avatar Jun 21 '24 18:06 mkkellogg

Closing for now, please let me know if you need more help with this.

mkkellogg avatar Aug 07 '24 05:08 mkkellogg