Add extra signal support to 2DGS rasterization - #999
Open
yunusstalha wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#998
This PR adds auxiliary per-Gaussian signal rendering support to
rasterization_2dgs(), mirroring the existingextra_signalsAPI in the 3DGS rasterizer.The motivation is to allow 2DGS users to render learned features, semantic logits, supervision targets, or other auxiliary Gaussian-attached signals through the same visibility ordering and alpha compositing path as the normal 2DGS render, while keeping those auxiliary outputs separate from RGB/depth outputs.
Previously, users could only approximate this by packing extra channels into colors, which conflates appearance with auxiliary outputs and makes it harder to preserve a clean render contract. This PR adds a dedicated path instead.
Main Changes
Adds
extra_signalsandextra_signals_sh_degreearguments torasterization_2dgs().Supports post-activation auxiliary signal layouts:
[..., N, E][..., C, N, E]Supports SH-evaluated auxiliary signals with layout:
[N, K, E]Renders auxiliary signals through the same 2DGS alpha compositing path as colors.
Stores the auxiliary render separately in:
'meta["render_extra_signals"]Keeps RGB/depth outputs separate from auxiliary outputs, including for
RGB+D,D, andEDrender modes.Adds explicit metadata describing the auxiliary signal receipt/round-trip contract:
Testing
This PR adds focused 2DGS tests covering:
extra_signals=None.RGB,RGB+D,D, andEDrender modes.