semantic-scene 0.1.1

Rust parser for semantic scene descriptors, currently focused on Habitat-Sim Matterport3D .house files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![warn(clippy::all, clippy::nursery, clippy::pedantic, clippy::cargo)]

use semantic_scene::{Mp3d, Mp3dOptions, SemanticScene};

fn main() {
    let path = std::env::args()
        .nth(1)
        .unwrap_or_else(|| "data/17DRP5sb8fy.house".to_owned());
    let house = SemanticScene::load::<Mp3d>(path, Mp3dOptions::default())
        .expect("Failed to load the MP3D house");
    println!("{house:#}");
}