Modify GaussianSplattingMesh

Hello,

I’m importing a GaussianSplattingMesh and modifying its splat buffer to hide all splats above a certain Y threshold (e.g. ‘y > -0.6’).
After calling ‘updateData(…)’, the mesh appears flipped upside down.

Import & Modify GaussianSplatting

The orientation is correct before updating the data; the issue only occurs after the buffer update.

Has anyone seen this before or knows what causes the flipped orientation after ‘updateData’?

Thanks in advance.

I’ll take a look asap :slight_smile:

1 Like

An option has been added recently to avoid that flip. I’ll update the doc.

https://playground.babylonjs.com/?inspectorv2=true#KGRFFQ#4

EDIT: PG update

Hi @Cedric

thanks for checking the playground.

You mentioned that “recently an option has been added to avoid that flip”.
Could you please clarify which option you are referring to (e.g. the exact property/flag or where it needs to be set)?

Thanks a lot!

in this PG: https://playground.babylonjs.com/?inspectorv2=true#KGRFFQ#4

I’ve removed the rotation.x and the extra option to updateData make the update to not flip Y component.

1 Like

Ah, now it’s clear :smile:.
Thanks for the update! :+1: