Skip to main content

Module decoder

Module decoder 

Source
Expand description

Mesh3DDecoder adaptors for OBJ + standalone MTL inputs.

These are thin wrappers around crate::obj::parse_obj / crate::mtl::parse_mtl_with_scene that conform to the oxideav-mesh3d decoder trait. Held state is empty for now (the parsers don’t carry options); the wrapper exists so registry-based lookup gets a uniform Box<dyn Mesh3DDecoder> factory.

Structs§

MtlDecoder
Standalone MTL decoder. Returns a Scene3D populated with the MTL’s materials and any external textures they reference; no meshes / nodes / cameras / lights / animations are added.
ObjDecoder
Wavefront OBJ decoder.