SMDLoader
A three.js loader used for loading SMD files (Valve Studiomdl Data)
Install / Use
/learn @theawesomecoder61/SMDLoaderREADME
SMDLoader
A three.js loader used for loading SMD files (Valve Studiomdl Data). SMD files are ASCII and are used by Valve's Source Engine. You can go to Valve's article about SMD files if you want to learn more about them.
Features
Supported
- meshes
Upcoming
- skinning/skeleton
- textures (VTF is propietary, and therefore any textures will need to converted to either PNG, TGA, DDS, etc.)
- animation
How to use
- Download the latest version of SMDLoader.js
- In your HTML, add
<script src="path/to/SMDLoader.js"></script>
Examples
Basic
var loader = new THREE.SMDLoader();
loader.load("model.smd", function(object) {
// object is either a THREE.Mesh or a THREE.SkinnedMesh (depends on whether there is a skeleton present in the SMD file)
scene.add(object);
});
Scene
Click here to see SMDLoader in action.
Changelog
Version 1.0 - ??/??/2017
- initial version
- meshes are the only thing supported right now
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
Security Score
Audited on Jul 29, 2025
