9 releases

0.1.0 Sep 18, 2020
0.0.9 Dec 21, 2020
0.0.8 Nov 20, 2020
0.0.2 Sep 22, 2020

#313 in Graphics APIs

Apache-2.0

22MB
321K SLoC

C++ 295K SLoC // 0.2% comments Python 18K SLoC // 0.3% comments Rust 5K SLoC // 0.1% comments Objective-C++ 3K SLoC // 0.2% comments LLVM 464 SLoC

usd-rs

Rust bindings for USD.

These are in version 0.0.x. The api is likely to change significantly between now and 0.1.0.

What works ?

  • You can create and open/save/export a stage.
  • You can define a prim and get/set attributes on it. All 30 basic types are supported + arrays of those types.

The parts

  • usd-cpp is a crate to build the cpp shared library and its dependencies (tbb, boost ..).
  • usd-rs is the actual bindings crate.

Requirements

  • g++/clang with c++14 support
  • cmake
  • python
  • and of course cargo

lib.rs:

USD is a system for authoring, composing, and reading hierarchically organized scene description. USD comprises a set of modules that scalably encode and interchange static and time-sampled 3D geometry and shading data between Digital Content Creation applications. Domain-specific schema modules define the geometry and shading encoding atop USD's domain-agnostic core.

Dependencies