docs.rs failed to build obj-rs-0.4.12
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
obj-rs-0.7.1
obj-rs
Wavefront obj parser for Rust. It handles both .obj
and .mtl
formats. Documentation
[]
= "0.4"
use File;
use BufReader;
use *;
let input = new;
let dome: Obj = load_obj.unwrap;
// Do whatever you want
dome.vertices;
dome.indices;
This sample image is pretty good illustration of current status of obj-rs. obj-rs is currently able to load position and normal data of
obj
but not texture & material data yet.
Glium support
obj-rs supports glium out of the box. See example for further details.
[]
= "0.8"
= { = "0.4", = ["glium-support"] }
use File;
use BufReader;
use *;
let input = new;
let obj: Obj = load_obj.unwrap;
let vb = obj.vertex_buffer.unwrap;
let ib = obj.index_buffer.unwrap;