INNER CODE UNIT · Python

colors_precomp

jayin92/Skyfall-GS · gaussian_renderer/__init__.py:125

            colors_precomp = torch.clamp_min(sh2rgb + 0.5, 0.0)
        else:
            shs = pc.get_features
    else:
        colors_precomp = override_color

    # Rasterize visible Gaussians to image, obtain their radii (on screen). 
    rendered_image, rendered_depth, rendered_norm, rendered_alpha, radii, extra = rasterizer(
        means3D = means3D,
        means2D = means2D,
        shs = shs,
        colors_precomp = colors_precomp,
        opacities = opacity.float(),
        scales = scales.float(),
        rotations = rotations,
        cov3Ds_precomp = cov3D_precomp) # For diff_gauss
    # rendered_image, radii = rasterizer(
    #     means3D = means3D,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…