Gaussian Splatting Overlay

Hey,

we are delighted with the Gaussian splatting support in PlayCanvas and would like to switch to playcanvas for future projects.

Our app represents a building and allows you to select the individual flats. To select the flats, we have superimposed a simplified model over the 3D model.
So far we have also loaded the building as a 3D model and would now like to use a GS instead.

Since GS works a little differently, I would like to ask if it is possible to create this selection as in the screenshot.

The material of the box should be evenly overlaid with the Gaussian Splatting when looking at the geometry from the front.
Since the depth of the GS is not always clear, the box should always be displayed above the model.

If this helps. here is a demo project with a simple box.
https://playcanvas.com/editor/scene/2101664

Is this possible?
Thanks for your help!

calling @slimbuck

Hi @GeraldW, sorry I totally missed this post.

Probably the simplest would be to shade the splat per-pixel based on its world space position. Pixels landing inside the box would be shaded green and those outside wouldn’t.

Will that work for you? I can fork and update your project with a demonstration.

Hey,
also sorry for my late reply :smile: . I´m just back from holiday.

@slimbuck
It sounds like a good solution. If it’s not too much trouble, I’d like to do a demonstration project. This would allow me to show it to my manager and discuss the next steps.