Blender V5.3
spz_read_common.hh File Reference
#include <cmath>
#include "BLI_array.hh"
#include "BLI_math_constants.hh"
#include "BLI_math_quaternion_types.hh"
#include "BLI_math_vector.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"
#include "BLI_unroll.hh"
#include "IO_gsplat.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::io
namespace  blender::io::spz
namespace  blender::io::spz::internal

Functions

template<class ReaderType>
bool blender::io::spz::internal::read_single_position_as_fixed (ReaderType &reader, int3 &fixed)
float blender::io::spz::internal::inv_sigmoid (const float x)
template<class ReaderType>
bool blender::io::spz::read_positions (ReaderType &reader, const int fractional_bits, const MutableSpan< float3 > positions)
template<class ReaderType>
bool blender::io::spz::read_alphas (ReaderType &reader, const MutableSpan< float4 > radiance_base)
template<class ReaderType>
bool blender::io::spz::read_colors (ReaderType &reader, const MutableSpan< float4 > radiance_base)
template<class ReaderType>
bool blender::io::spz::read_scales (ReaderType &reader, const MutableSpan< float3 > scales)
template<class ReaderType>
bool blender::io::spz::read_rotations (ReaderType &reader, const int version, const MutableSpan< math::Quaternion > rotations)
template<class ReaderType>
bool blender::io::spz::read_sh (ReaderType &reader, const Span< MutableSpan< float3 > > sh)
void blender::io::spz::convert_axis_to_blender (const MutableSpan< float3 > positions, const MutableSpan< math::Quaternion > rotations, const Span< MutableSpan< float3 > > sh_attrs)