Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More point splats shaders #1272

Open
Meakk opened this issue Feb 8, 2024 · 0 comments
Open

More point splats shaders #1272

Meakk opened this issue Feb 8, 2024 · 0 comments
Labels
type:enhancement New feature or request

Comments

@Meakk
Copy link
Contributor

Meakk commented Feb 8, 2024

When rendering points (-o option), we are rendering a quad centered on the point and shade the fragment based on its position relative to the center

Currently, we have two shader types for rendering points:

  • sphere: simulate a sphere by making the fragment darker based on the distance to the origin (default)
  • gaussian: change the opacity of the fragment based on the distance to the origin using a gaussian function (used to render 3D gaussians .splat files)

We could implement more shaders like drawing a circle, a cross, or anything useful when displaying point clouds.

@mwestphal mwestphal added the type:enhancement New feature or request label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
Status: Discuss
Development

No branches or pull requests

2 participants