4 releases
Uses new Rust 2024
new 0.1.3 | Sep 5, 2025 |
---|---|
0.1.2 | Aug 4, 2025 |
0.1.1 | Jul 20, 2025 |
0.1.0 | Jul 2, 2025 |
#244 in Graphics APIs
119 downloads per month
580KB
3K
SLoC
illuminator
Illuminator is a simple yet powerful rendering tool.
Usage
Use as cli
./illu --example 3dgs --path "..\bicycle.ply" --res "256x256"
Use as lib
#[test]
fn test_trace_splats() -> Result<()> {
use crate::{prelude::*, splat::render::SplatsRenderer};
use std::path::Path;
let ply_path = "./target/bicycle.ply";
let rdr = SplatsRenderer::from_ply(ply_path)?;
let mut cam = Camera::default();
cam.pos = Vec3f::vec([-3., 0., 0.]);
cam.look_at(Vec3f::zero());
let (w, h) = (256, 256);
let img = rdr.render(&cam, (w, h));
let png_path = Path::new(ply_path)
.with_extension("png")
.to_string_lossy()
.into_owned();
let rgbimg = RgbImage::from(img);
rgbimg.save(png_path).expect("Failed to save trace image");
Ok(())
}
examples
- Simple and flexible Linear BVH.
- Ray tracing 3D Gaussians.
Dependencies
~13MB
~226K SLoC