gausplat_renderer::render::gaussian_3d

Trait Gaussian3dRenderer

source
pub trait Gaussian3dRenderer<B: Backend>:
    'static
    + Send
    + Sized
    + Debug {
    // Required methods
    fn render_forward(
        input: RenderInput<B>,
        view: &View,
        options: &Gaussian3dRenderOptions,
    ) -> Result<RenderOutput<B>, Error>;
    fn render_backward(
        state: RenderInput<B>,
        colors_rgb_2d_grad: B::FloatTensorPrimitive,
    ) -> RenderOutput<B>;
}
Expand description

3DGS scene renderer.

Required Methods§

source

fn render_forward( input: RenderInput<B>, view: &View, options: &Gaussian3dRenderOptions, ) -> Result<RenderOutput<B>, Error>

Render the 3DGS scene (forward).

source

fn render_backward( state: RenderInput<B>, colors_rgb_2d_grad: B::FloatTensorPrimitive, ) -> RenderOutput<B>

Render the 3DGS scene (backward).

It computes the gradients from the output in forward pass.

Object Safety§

This trait is not object safe.

Implementors§