{"id":13401880,"url":"https://github.com/gkjohnson/source-engine-model-loader","last_synced_at":"2025-11-13T22:53:11.554Z","repository":{"id":40558161,"uuid":"213963781","full_name":"gkjohnson/source-engine-model-loader","owner":"gkjohnson","description":"Three.js loader for parsing Valve's Source Engine models","archived":false,"fork":false,"pushed_at":"2024-06-18T23:50:31.000Z","size":11849,"stargazers_count":80,"open_issues_count":3,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-18T04:40:32.306Z","etag":null,"topics":["games","geometry","graphics","javascript","mdl","model","source-engine","source-engine-sdk","threejs","valve","vmt","vtf","vtx","vvd"],"latest_commit_sha":null,"homepage":"https://gkjohnson.github.io/source-engine-model-loader/dist/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gkjohnson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2019-10-09T16:06:59.000Z","updated_at":"2025-07-29T18:24:22.000Z","dependencies_parsed_at":"2024-10-18T18:59:26.468Z","dependency_job_id":"20a20112-6a5a-4440-98e9-ce53ebf2b14d","html_url":"https://github.com/gkjohnson/source-engine-model-loader","commit_stats":{"total_commits":122,"total_committers":2,"mean_commits":61.0,"dds":0.180327868852459,"last_synced_commit":"f32a6d2c01c0712e863aba27f1f5316c0177722d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gkjohnson/source-engine-model-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsource-engine-model-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsource-engine-model-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsource-engine-model-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsource-engine-model-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkjohnson","download_url":"https://codeload.github.com/gkjohnson/source-engine-model-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Fsource-engine-model-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284304462,"owners_count":26982161,"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","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["games","geometry","graphics","javascript","mdl","model","source-engine","source-engine-sdk","threejs","valve","vmt","vtf","vtx","vvd"],"created_at":"2024-07-30T19:01:08.443Z","updated_at":"2025-11-13T22:53:11.394Z","avatar_url":"https://github.com/gkjohnson.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# source-engine-model-loader\n\n[![build](https://img.shields.io/github/actions/workflow/status/gkjohnson/source-engine-model-loader/node.js.yml?style=flat-square\u0026label=build\u0026branch=master)](https://github.com/gkjohnson/source-engine-model-loader/actions)\n[![github](https://flat.badgen.net/badge/icon/github?icon=github\u0026label)](https://github.com/gkjohnson/source-engine-model-loader/)\n[![twitter](https://flat.badgen.net/badge/twitter/@garrettkjohnson/?icon\u0026label)](https://twitter.com/garrettkjohnson)\n\nUnofficial Three.js loader for parsing Valve's Source Engine models built by referencing the data structures in the [ValveSoftware/source-sdk-2013](https://github.com/ValveSoftware/source-sdk-2013) project and the source engine [wiki](https://developer.valvesoftware.com/wiki/MDL). Demo models from the [Source Filmmaker](https://store.steampowered.com/app/1840/Source_Filmmaker/) installation.\n\n![](./images/banner.png)\n\nGet models from [SFMLab](https://SFMLab.com) or [Source Filmmaker](https://store.steampowered.com/app/1840/Source_Filmmaker/).\n\nDemo [here!](https://gkjohnson.github.io/source-engine-model-loader/dist/index.html)\n\n# License Information\n\nModels shown in this repo are not covered by the code license, copyright their respective owners, and are for demo purposes only.\n\n# Use\n\n```js\nimport { SourceModelLoader } from 'source-engine-model-loader';\n\nnew SourceModelLoader()\n  .load( './folder/model', ( { group } ) =\u003e {\n\n    scene.add( group );\n\n  } );\n```\n\n# API\n\n## SourceModelLoader\n\n### constructor\n\n```js\nconstructor( manager : LoadingManager )\n```\n\n### load\n\n```js\nload(\n\turl : string,\n\tonComplete : ( { group : Group } ) =\u003e void\n) : void\n```\n\nLoads the set of Source Engine model files at the given path. It is expected that a model with the extensions `.mdl`, `.vvd`, and `.vtx` exist.\n\n# Unimplemented Features\n\nSee [issue #4](https://github.com/gkjohnson/source-engine-model-loader/issues/4) for full list of unimplemented features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Fsource-engine-model-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkjohnson%2Fsource-engine-model-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Fsource-engine-model-loader/lists"}