<img alt="logo" src="https://github.com/ashawkey/vscode-mesh-viewer/raw/v0.2.4/logo.webp" width="20%">
<b>VS Code Mesh Viewer</b>
This extension is modified from vscode-3d-preview with the following features: * Preview meshes in FBX/GLB/GLTF/OBJ/PLY formats with texture. * Play FBX/GLB/GLTF animations. * Default to white background. * Depth/Normal rendering. * Preview point clouds or mesh vertices.
Search in Marketplace: mesh-viewer.


Rendering quad or polygon faces (only for obj format).
https://github.com/ashawkey/vscode-mesh-viewer/assets/25863658/f12653eb-be65-43de-9f9e-97d89b96c7f5

The default value of GUI settings can be edited in vscode extension settings (@ext:kiui.mesh-viewer or just search meshviewer).

Notes:
* CameraNear: -1 means we will auto-calculate a suitable value for better depth visualization, but it may lead to problems when zooming in.
Install Node.js and npm first, then clone this repo and:
# install dependencies
npm install
# use F5 or the dubugger panel to start debugging (will open a new VSCode window with this extension enabled.)
# Help->Toggle Developer Tools (or Shift-Control-I) to see console output.
# publish (requires vsce, a publisher as defined in package.json, and the personal access token)
# first change version in package.json
vsce publish
$ claude mcp add vscode-mesh-viewer \
-- python -m otcore.mcp_server <graph>