{"id":13933002,"url":"https://github.com/gltf-rs/gltf","last_synced_at":"2025-05-13T22:07:56.786Z","repository":{"id":13106884,"uuid":"73607455","full_name":"gltf-rs/gltf","owner":"gltf-rs","description":"A crate for loading glTF 2.0","archived":false,"fork":false,"pushed_at":"2025-05-01T15:32:48.000Z","size":1155,"stargazers_count":572,"open_issues_count":74,"forks_count":137,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-05-13T04:08:15.709Z","etag":null,"topics":["3d","gltf","opengl","pbr"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gltf-rs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-11-13T09:55:26.000Z","updated_at":"2025-05-12T11:52:12.000Z","dependencies_parsed_at":"2023-02-17T10:45:45.266Z","dependency_job_id":"218f0111-dbbb-4356-8de2-d63f7c379c8a","html_url":"https://github.com/gltf-rs/gltf","commit_stats":{"total_commits":592,"total_committers":47,"mean_commits":"12.595744680851064","dds":"0.42905405405405406","last_synced_commit":"c8ae5c690dd784fe5412063dd38ecc8916f59712"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gltf-rs%2Fgltf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gltf-rs%2Fgltf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gltf-rs%2Fgltf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gltf-rs%2Fgltf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gltf-rs","download_url":"https://codeload.github.com/gltf-rs/gltf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036829,"owners_count":22003654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d","gltf","opengl","pbr"],"created_at":"2024-08-07T21:01:28.169Z","updated_at":"2025-05-13T22:07:51.776Z","avatar_url":"https://github.com/gltf-rs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n   gltf\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://crates.io/crates/gltf\"\u003e\n      \u003cimg src=\"https://img.shields.io/crates/v/gltf.svg\" alt=\"crates.io\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://docs.rs/gltf\"\u003e\n      \u003cimg src=\"https://docs.rs/gltf/badge.svg\" alt=\"docs.rs\"\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nThis crate is intended to load [glTF 2.0](https://www.khronos.org/gltf), a file format designed for the efficient transmission of 3D assets.\n\n`rustc` version 1.61 or above is required.\n\n### Reference infographic\n\n![infographic](https://raw.githubusercontent.com/KhronosGroup/glTF/main/specification/2.0/figures/gltfOverview-2.0.0d.png)\n\n\u003cp align=\"center\"\u003eFrom \u003ca href=\"https://github.com/javagl/gltfOverview\"\u003ejavagl/gltfOverview\u003c/a\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://www.khronos.org/files/gltf20-reference-guide.pdf\"\u003ePDF version\u003c/a\u003e\u003c/p\u003e\n\n### Usage\n\nSee the [crate documentation](https://docs.rs/gltf) for example usage.\n\n### Features\n\n#### Extras and names\n\nBy default, `gltf` ignores all `extras` and `names` included with glTF assets. You can negate this by enabling the `extras` and `names` features, respectively.\n\n```toml\n[dependencies.gltf]\nversion = \"1.4\"\nfeatures = [\"extras\", \"names\"]\n```\n\n#### glTF extensions\n\nThe following glTF extensions are supported by the crate:\n\n- `KHR_lights_punctual`\n- `KHR_materials_pbrSpecularGlossiness`\n- `KHR_materials_unlit`\n- `KHR_texture_transform`\n- `KHR_materials_variants`\n- `KHR_materials_volume`\n- `KHR_materials_specular`\n- `KHR_materials_transmission`\n- `KHR_materials_ior`\n- `KHR_materials_emissive_strength `\n- `EXT_texture_webp`\n\nTo use an extension, list its name in the `features` section.\n\n```toml\n[dependencies.gltf]\nfeatures = [\"KHR_materials_unlit\"]\n```\n\n### Examples\n\n#### gltf-display\n\nDemonstrates how the glTF JSON is deserialized.\n\n```sh\ncargo run --example gltf-display path/to/asset.gltf\n```\n\n#### gltf-export\n\nDemonstrates how glTF JSON can be built and exported using the `gltf-json` crate.\n\n```sh\ncargo run --example gltf-export\n```\n\n#### gltf-roundtrip\n\nDeserializes and serializes the JSON part of a glTF asset.\n\n```sh\ncargo run --example gltf-roundtrip path/to/asset.gltf\n```\n\n#### gltf-tree\n\nVisualises the scene heirarchy of a glTF asset, which is a strict tree of nodes.\n\n```sh\ncargo run --example gltf-tree path/to/asset.gltf\n```\n\n### Tests\n\nRunning tests locally requires to clone the [`glTF-Sample-Models`](https://github.com/KhronosGroup/glTF-Sample-Models) repository first.\n\n```sh\ngit clone https://github.com/KhronosGroup/glTF-Sample-Models.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgltf-rs%2Fgltf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgltf-rs%2Fgltf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgltf-rs%2Fgltf/lists"}