Blender V5.3
draw_gsplat.bsl.hh File Reference

Go to the source code of this file.

Classes

struct  draw::gsplat::Pipeline
struct  draw::gsplat::Resources
struct  draw::gsplat::SplatData

Namespaces

namespace  draw
namespace  draw::gsplat
namespace  draw::gsplat::detail

Functions

float3 draw::gsplat::detail::scene_linear_from_bt709 (float3 rgb_color)
float3 draw::gsplat::detail::unpack_sh (uint3 data, ScalingRange range)
bool draw::gsplat::detail::is_inside_viewport (AxisTuple axes, float3 hP, float2 viewport_size)
SplatData draw::gsplat::eval_splat (Gaussian gs, ObjectMatrices obj, ViewMatrices view, const Resources &srt)
template<uint Degrees>
float3 draw::gsplat::eval_radiance (Gaussian gs, ObjectMatrices obj, ViewMatrices view, const Resources &srt)
template float3 draw::gsplat::eval_radiance< 1 > (Gaussian, ObjectMatrices, ViewMatrices, const Resources &)
template float3 draw::gsplat::eval_radiance< 4 > (Gaussian, ObjectMatrices, ViewMatrices, const Resources &)
void draw::gsplat::compute_entry (Resources &srt, const Pipeline &pipeline, const draw::View &views, const draw::Model &models, const uint3 global_id)

Variables

PipelineCompute draw::gsplat::compute_ellipses (compute_entry, Pipeline{.do_ellipses=true,.do_radiance=false})
PipelineCompute draw::gsplat::compute_radiance (compute_entry, Pipeline{.do_ellipses=false,.do_radiance=true})
PipelineCompute draw::gsplat::compute_ellipses_radiance (compute_entry, Pipeline{.do_ellipses=true,.do_radiance=true})

Detailed Description

Compute shader code for gsplat implementation. For draw interfaces, packing and unpacking code, refer to draw_gsplat_lib.bsl.hh.

References:

[3dgs2023] Bernhard Kebl, Georgios Kopanas et al. 3D Gaussian Splatting for Real-Time Radiance Field Rendering ACM Transactions on Graphics (SIGGRAPH 2023) https://repo-sam.inria.fr/fungraph/3d-gaussian-splatting/

Definition in file draw_gsplat.bsl.hh.