Skip to content

When rendering a gaussian splat (PLY or SOG format), applying any transform causes splat to disappear #302

@obolland

Description

@obolland

As described here.

I can render a splat using the useSplat hook const { asset, loading, error } = useSplat('/assets/tile.sog');.
However applying any transform to either the camera or the splat causes the splat to disappear.
There's a minimal example component within the link above. Whether the transforms are applied declaratively or imperatively, the outcome is the same (splat is removed from the scene).

This appears to be a bug as I'm not trying to do anything especially strange or out of the ordinary, however this is the first time I'm using PlayCanvas (normally ThreeJS or BabylonJS) so if I'm missing something, would be great to know what it is!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions