Merged
Conversation
Adds _repr_html_() to viewer class that renders an interactive Three.js point cloud inline in Jupyter notebooks. Supports RGB vertex colors, scalar-to-jet colormap, auto-subsampling for large clouds (>200k points), and orbit/zoom/pan controls. Includes example notebook and README update.
Add test_camera_math.py with pure-Python mirrors of the C++ camera functions (computeRightVector, computeUpVector, computeViewVector) and tests that validate the right-handed orthonormal frame, default orientation, pan direction, and axis-aligned view presets.
…ouds Add _MAX_POINTS_WARNING (500M) threshold that warns before loading very large point clouds. Apply the check in __load, __update, and __append. In the C++ octree, add a max recursion depth of 40 to buildTreeHelper to prevent stack overflow with degenerate point distributions.
Add message type 14 to the C++ viewer and a Python depth_capture(filename) method that renders the scene to an off-screen FBO, reads the depth buffer, and saves it as a 16-bit grayscale image.
Add a per-vertex size buffer (_buffer_user_sizes) and 'user_size' shader attribute to PointCloud. When user_size > 0 the shader uses it instead of the global point_size uniform. Exposed via message type handler in viewer.h and registered as a float-array property in viewer.py.
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.
No description provided.