MCPcopy Index your code
hub / github.com/ashawkey/vscode-mesh-viewer

github.com/ashawkey/vscode-mesh-viewer @v0.2.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.4 ↗ · + Follow
2,434 symbols 5,973 edges 17 files 57 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<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>

License: MIT Visual Studio Marketplace Version Visual Studio Marketplace Installs

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.

Install

Search in Marketplace: mesh-viewer.

install

Mesh preview

quad_point

Rendering quad or polygon faces (only for obj format).

https://github.com/ashawkey/vscode-mesh-viewer/assets/25863658/f12653eb-be65-43de-9f9e-97d89b96c7f5

Credits to "Kgirls01" (https://skfb.ly/6CIGK) by nuulbee is licensed under CC Attribution-NonCommercial-NoDerivs (http://creativecommons.org/licenses/by-nc-nd/4.0/).

mesh

Configuration

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

settings

Notes: * CameraNear: -1 means we will auto-calculate a suitable value for better depth visualization, but it may lead to problems when zooming in.

Development

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

Acknowledgements & Reference

Core symbols most depended-on inside this repo

get
called by 201
src/meshProvider.ts
add
called by 24
media/three/loaders/FBXLoader.js
convert
called by 23
media/three/loaders/MTLLoader.js
getDependency
called by 23
media/three/loaders/GLTFLoader.js
getUint32
called by 22
media/three/loaders/FBXLoader.js
assignTexture
called by 19
media/three/loaders/GLTFLoader.js
copy
called by 15
media/three/loaders/GLTFLoader.js
getMediaWebviewUri
called by 14
src/meshProvider.ts

Shape

Method 1,671
Class 410
Function 353

Languages

TypeScript100%

Modules by API surface

media/three/three.min.js1,914 symbols
media/three/loaders/GLTFLoader.js145 symbols
media/three/loaders/FBXLoader.js125 symbols
media/three/fflate.min.js85 symbols
media/three/OrbitControls.js49 symbols
media/three/loaders/MTLLoader.js22 symbols
media/three/dat.gui.min.js20 symbols
src/meshProvider.ts16 symbols
media/three/loaders/PLYLoader.js16 symbols
media/three/loaders/NGonOBJLoader.js12 symbols
media/three/loaders/OBJLoader.js7 symbols
media/three/ViewHelper.js6 symbols

For agents

$ claude mcp add vscode-mesh-viewer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page