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

Improved point cloud shader #158

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Improved point cloud shader #158

merged 2 commits into from
Jan 9, 2024

Conversation

brentyi
Copy link
Collaborator

@brentyi brentyi commented Jan 9, 2024

Point cloud rendering now:

  • Correctly takes the camera intrinsics into account. This puts point_size in the same units as everything else in viser. Points in the previous PointsMaterial implementation were always the same size regardless of FOV.
  • Supports rendering points of different shapes. A square for each point is still the default; we also added support for rounding the corners, circles, etc.

point_shape="rounded":
image

@brentyi brentyi merged commit 6e0000b into main Jan 9, 2024
12 checks passed
@brentyi brentyi deleted the brent/point_cloud_shaders branch January 9, 2024 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant