Plugin

OBJ

OBJ

Wavefront OBJ and MTL as a format plugin for Kinogaki Studio: an OBJ file reads as one standard Geometry of the public studio-sdk, its material libraries as MaterialX networks, and polygons and polylines write as one OBJ with the Materials they name as an MTL library beside it. The plugin holds the reader and writer themselves (src/obj/, which uses nothing of the SDK but the read's budget) and the conversion between their model and the SDK's values (src/read.rs, src/write.rs, src/materials/).

The library crate is kinogaki-obj; plugin/ (kinogaki-plugin-obj) is the dylib Studio loads, formats/obj.dylib. Package kinogaki.obj, format kinogaki.format.obj.

GitHub
kinogaki/plugin-obj
Folder
plugins/obj/
Crates
2
Rust lines
4,701 in src, 2,563 in tests

What it ships

Plugin filePackageCrate
formats/obj.dylibkinogaki.objkinogaki-plugin-obj

Crates

CrateWhat it isFilesLinesTest lines
kinogaki-objWavefront OBJ, a format plugin: an OBJ file reads as one standard Geometry, its material libraries (mtllib) as MaterialX networks (materials) in a materials item before it; any polygons and polylines write as ...244,6962,563
kinogaki-plugin-objWavefront OBJ as a Studio plugin library (formats/obj.dylib).150

Uses

CrateRepositoryAsWhat it is
kinogaki-byteslib-misc-utilsnormalFast search for one byte value in a byte slice, in safe code: find, rfind and count.
kinogaki-float-textlib-misc-utilsnormalThe shortest decimal text that reads back as the same f64, fast.
kinogaki-render-apiSDKnormalKinogaki's render interface: what a host (Studio) sends a render engine and what comes back, with no GPU or OS API.
kinogaki-sharedCore and the appnormalThe crates Studio and its plugins share, built once as a Rust dylib.
kinogaki-studio-apiSDKnormalKinogaki Studio's headless plugin API.

For its tests alone

CrateRepositoryAsWhat it is
kinogaki-studio-api-testingSDKtestsThe SDK's test support (a dev-dependency only): assert_refused for admission tests, read_hostile for a format's tests of hostile files, format for its scratch folders and round trips, workers as a host installs them, with wgpu an ...

Third-party

None.