ThreeCrate GPU
GPU-accelerated algorithms for 3D point cloud processing using WGPU.
Features
- GPU Computing: Hardware-accelerated point cloud processing
- Real-time Rendering: Point cloud and mesh visualization
- Parallel Algorithms: Massively parallel GPU implementations
- Cross-platform: Works on Windows, macOS, and Linux
- Modern Graphics: Uses WGPU for cross-platform GPU access
Algorithms
- Point Cloud Rendering: Real-time visualization with splatting
- Normal Estimation: GPU-accelerated surface normal computation
- Filtering: Parallel outlier removal and downsampling
- ICP Registration: GPU-accelerated point cloud alignment
- TSDF Integration: Truncated Signed Distance Function processing
Usage
Add this to your Cargo.toml
:
[]
= "0.1.0"
= { = "0.1.0", = ["gpu"] }
Example
use ;
use ;
// Initialize GPU context
let gpu_context = new.await?;
// Create point cloud renderer
let config = default;
let renderer = new.await?;
// Render point cloud
let cloud = from_points;
let vertices = point_cloud_to_vertices;
renderer.render?;
GPU Requirements
- Vulkan: Preferred backend for best performance
- Metal: macOS support via Metal API
- DirectX 12: Windows support via DX12
- OpenGL: Fallback support for older systems
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.