3d-texture-toolkit

v0.1.1
io.github.JiangShan118/3d-texture-toolkit Checked 2 days ago Published 1 month ago

Extract embedded PBR texture maps from local GLB files.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

extract_pbr_maps Extract PBR maps from a GLB

Extract embedded base color and normal images, and split the glTF metallic-roughness image into roughness and metallic PNG files. Reads and writes local files only.

ParameterTypeDescription
glb_path *stringPath to a local .glb file.
output_dirstringDirectory for extracted images. Defaults to <glb-name>-textures beside the GLB.
overwritebooleanReplace files with matching output names. Defaults to false.