Simple Model Viewer
Preview OBJ, GLB, glTF, and FBX models directly in Visual Studio Code. Simple Model Viewer opens supported files as an interactive 3D editor with material inspection, wireframes, animation playback, and EXR environment lighting.
Features
Getting startedOpen a supported model from the Explorer. The viewer is registered as the default editor, so no command is required. To choose it explicitly, right-click a model and select Open in 3D Model Viewer. To inspect an OBJ or glTF source file, use the Text button in the viewer or VS Code's Reopen Editor With... command. Keep external buffers, material files, and textures beside the model, in one of its subdirectories, or elsewhere in the open workspace. Embedded GLB and FBX resources work without companion files. Inspection modes
Wireframe topology is selected automatically. OBJ files use their original face boundaries, so source quads and ngons are shown without triangulation diagonals. GLB, glTF, FBX, and already-triangulated OBJ files show triangle topology. Lighting is reduced automatically for textureless models so their shape remains readable. Controls
Use the environment control in the bottom-right corner to select an EXR map, render it as the background, or rotate its lighting. InstallAfter the Marketplace listing is live, install the extension from VS Code's Extensions view or run:
To build and install a
Then install the generated package:
For a Remote SSH workspace, install the extension on the SSH host from VS Code's Extensions view. DevelopmentRequirements: Node.js 20 or newer and VS Code 1.96 or newer.
Open the repository in VS Code and press Build a local extension package with:
PrivacyModels are rendered inside the VS Code webview. The extension does not upload model data or include analytics. LicenseSimple Model Viewer is released under the MIT License. Bundled third-party components and EXR environments are documented in THIRD_PARTY_NOTICES.md. |