Skip to main content

Convert GLB to X (DirectX) Online — Modern to Legacy Format

Convert GLB (binary glTF) files to X (DirectX) format for use in legacy DirectX game engines and visualization tools. GLB is the modern standard for web and mobile 3D, while X format served the same role for DirectX 7-9 era applications.

Last updated Mar 2026

Data Loss — Converting GLB to X (DirectX) will not preserve vertex colors.

1
Upload
2
Convert
3
Download

Drag GLB file here, or click to upload

Supports .glb files up to 150MB

Usually under 3 seconds — depends on file size.

What You Should Know

What Changes During Conversion

Geometry and UV coordinates are preserved. PBR metallic-roughness materials are downgraded to basic diffuse/specular. Embedded textures are extracted as file references. Scene hierarchy (nodes) is converted to X Frame hierarchy. Skeletal animations are converted where possible. Morph targets, vertex colors, and extensions (KHR_materials_unlit, etc.) are discarded.

Data Loss Considerations

GLB is a significantly richer format than X. Expect loss of: PBR material fidelity, embedded textures (extracted to external files), morph targets/blend shapes, vertex colors, glTF extensions, and scene metadata. This is a deliberate downgrade for legacy compatibility.

GLB vs X (DirectX): Quick Comparison
FeatureGLBX (DirectX)
MaterialsPBR metallic-roughnessBasic diffuse/specular
TexturesEmbedded in binaryExternal file references
AnimationSkeletal + morph targetsSkeletal only
Vertex ColorsSupportedNot supported
Scene HierarchyNode treeFrame hierarchy
Era2017–presentLate 1990s–2000s

Use GLB for modern web, mobile, and AR/VR applications. Convert to X only for legacy DirectX engine compatibility.

When to Convert GLB to X (DirectX)

Porting Web3D Assets to Legacy Engines

Take models from Three.js, Babylon.js, or other web 3D frameworks (which use GLB) and port them to legacy DirectX applications. Useful for maintaining older software that cannot be updated to support modern formats.

Asset Conversion for Retro Game Projects

Use modern 3D asset stores and tools (which primarily output GLB/glTF) to create content for retro-style games built on DirectX 7-9 frameworks.

Legacy Visualization Tool Input

Feed modern 3D content into legacy engineering visualization tools and custom DirectX renderers from the 2000s that only accept .x files.

Frequently Asked Questions
Skeletal animations are converted. However, morph targets (blend shapes) and complex animation blending from glTF may not transfer perfectly. Simple skeletal animations (walk cycles, idle poses) convert well.
No. GLB embeds textures in the binary container, but X format references external texture files. Textures are extracted and referenced by filename. Keep the extracted texture files alongside the .x file.
Partially. GLB uses PBR metallic-roughness materials while X format uses basic diffuse/specular. Base color and basic properties are converted, but metallic, roughness, normal maps, and other PBR channels are simplified or lost.
Use D3DXLoadMeshFromX() from the DirectX 9 SDK. The converted .x file uses the standard text X format compatible with all DirectX 7-9 era loaders. For DirectX 9 specifically, include d3dx9.h and link against d3dx9.lib. The Frame hierarchy from the GLB scene graph is preserved as nested Frame objects in the X file.
The glTF node tree is converted to an X Frame hierarchy. Each glTF node becomes an X Frame object with the same parent-child relationships. This preserves the scene structure for engines that use D3DXLoadMeshFromX with hierarchy traversal. Flat meshes (single-node GLB) produce a single-Frame X file.

Related Converters

What's Next? Try These Tools

Learn More

More GLB Conversions