You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When going through the list of loaded packed gaussians, the last one gaussian is out of bounds.
In the following code snippet, the last element is skipped to make it work.
spz::PackedGaussians packed = spz::loadSpzPacked(path);
std::vector<spz::UnpackedGaussian> gaussians;
for (int i = 0; i < packed.numPoints-1; i++) {
spz::UnpackedGaussian gaussian = packed.unpack(i);
gaussians.push_back(gaussian);
}
When going through the list of loaded packed gaussians, the last one gaussian is out of bounds.
In the following code snippet, the last element is skipped to make it work.
(code in context: https://github.com/fortmeier/klartraum/blob/17a3d3860d30f263b0db660ad3ccab32859a5e7b/src/vulkan_gaussian_splatting.cpp#L301)
I think the issue is these lines:
spz/src/cc/load-spz.cc
Line 346 in bf30541
The text was updated successfully, but these errors were encountered: