glTF icon indicating copy to clipboard operation
glTF copied to clipboard

the spz, 3d gauss splatting model I generated is rendered upside down in Cesium

Open chenqi13814529300 opened this issue 5 months ago • 1 comments

According to the text in the link (https://github.com/CesiumGS/glTF/tree/draft-spz-splat-compression/extensions/2.0/Khronos/KHR_spz_gaussian_splats_compression): “When compressing or decompressing the SPZ data to be stored within the glTF, you must specify a Left-Up-Front (LUF) coordinate system in the SPZ PackOptions or UnpackOptions within the SPZ library. This ensures that the data is compressed and decompressed appropriately for glTF.” My code is as follows: packOptions.from = CoordinateSystem::LUF; unpackOptions.to = CoordinateSystem::LUF; But the model I generated is rendered upside down in Cesium. What is the reason? Is it related to the coordinate system selection? How to modify the code.

Image

chenqi13814529300 avatar Jul 22 '25 13:07 chenqi13814529300

Related to the "Coordinate Systems" point of https://github.com/nianticlabs/spz/issues/42 : There are some aspects about the coordinate system conventions that are not clear. Maybe some clarifications can be added via https://github.com/KhronosGroup/glTF/pull/2490

javagl avatar Jul 22 '25 13:07 javagl