|
Blender V5.3
|
#include "draw_gsplat_lib.bsl.hh"#include "draw_model.bsl.hh"#include "draw_shader_shared.hh"#include "draw_view.bsl.hh"#include "gpu_shader_math_matrix_transform.bsl.hh"#include "gpu_shader_math_spherical_harmonics.bsl.hh"#include "gpu_shader_math_vector_reduce.bsl.hh"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}) |
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.