| Crates.io | threecrate-gpu |
| lib.rs | threecrate-gpu |
| version | 0.5.0 |
| created_at | 2025-07-09 10:56:05.868115+00 |
| updated_at | 2025-09-27 10:52:07.136183+00 |
| description | GPU-accelerated algorithms for threecrate using wgpu |
| homepage | https://github.com/rajgandhi1/threecrate.git |
| repository | https://github.com/rajgandhi1/threecrate.git |
| max_upload_size | |
| id | 1744747 |
| size | 320,818 |
GPU-accelerated algorithms for 3D point cloud processing using WGPU.
Add this to your Cargo.toml:
[dependencies]
threecrate-gpu = "0.1.0"
threecrate-core = { version = "0.1.0", features = ["gpu"] }
use threecrate_gpu::{GpuContext, PointCloudRenderer, RenderConfig};
use threecrate_core::{PointCloud, Point3f};
// Initialize GPU context
let gpu_context = GpuContext::new().await?;
// Create point cloud renderer
let config = RenderConfig::default();
let renderer = PointCloudRenderer::new(&window, config).await?;
// Render point cloud
let cloud = PointCloud::from_points(vec![/* points */]);
let vertices = point_cloud_to_vertices(&cloud, [1.0, 1.0, 1.0], 4.0);
renderer.render(&vertices)?;
This project is licensed under either of
at your option.