Registry / utility / tobj
library4.0.4rscratesunverified

A lightweight OBJ loader in the spirit of tinyobjloader.

# Cargo.toml [dependencies] tobj = "4.0.4"
INSTALL
IMPORT
SIG · TOBJ
T
tobj
utilityrustv4.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

load_obj
✓ use tobj::load_obj;

Loads an OBJ file and prints the number of models.

use tobj::load_obj; fn main() -> Result<(), Box<dyn std::error::Error>> { let (models, materials) = load_obj("model.obj", &tobj::GPU_LOAD_OPTIONS)?; println!("Loaded {} models", models.len()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
tobj — cargo add tobj · libregistry