Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>universal-3d-previewNew to Visual Studio Code? Get it now.
universal-3d-preview

universal-3d-preview

jamesoncrate

|
51 installs
| (0) | Free
VS Code Universal 3D Preview
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode 3D Viewer Light

License: GPL3 Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Installs

See in VS Marketplace: vscode-3d-preview

Description

This extension is inspired by vscode-3dviewer but has minimal features to preview triangular meshes, and point clouds.

Features

This extension supports 3D formats equally as Open3D (but partly not support currently).

point mesh
obj o o
off o o
pcd o x
ply o o
stl x o
xyz o x

Mesh preview

mesh

Point cloud preview

points

Large color point cloud

color_points

Configuration

The extension provides several configuration options that can be set in VS Code settings:

Coordinate System

  • Setting: 3dpreview.coordinateSystem
  • Default: "opengl"
  • Options: Platform presets and custom configuration

This setting allows you to switch between different coordinate systems used by various 3D platforms:

Platform Presets

  • OpenGL (default): +X right, +Y up, +Z forward
  • Blender: +X right, +Z up, -Y forward
  • Unity: +X right, +Y up, +Z forward (left-handed)
  • Unreal: +Y right, +Z up, +X forward
  • Maya: +X right, +Y up, +Z forward
  • 3ds Max: +X right, +Z up, -Y forward
  • OpenCV: +X right, -Y up, +Z forward
  • COLMAP: +X right, -Y up, +Z forward
  • NeRFStudio: +X right, +Y up, +Z forward
  • Custom: User-defined axis configuration

Custom Coordinate System

When set to "custom", you can configure individual axes:

  • Setting: 3dpreview.customCoordinateSystem
  • Properties:
    • rightAxis: Which axis points right (+x, -x, +y, -y, +z, -z)
    • upAxis: Which axis points up
    • forwardAxis: Which axis points forward

Usage

You can change the coordinate system:

  1. Through VS Code settings (search for "3dpreview.coordinateSystem")
  2. Using the "Coordinate System" folder in the 3D viewer's control panel
  3. For custom systems, adjust individual axes in the "Custom Axes" subfolder

This feature is particularly useful when working with 3D models from different software packages that use different coordinate system conventions.

FAQ

  • Q. When I drag and drop a mesh file, a blank display is shown.
    • A. To show a 3D data using this extension, you should first open a workspace including the 3D data that you want to open.

Reference

  • vscode-3dviewer
  • vscode-pc-viewer
  • three.js

License

GNU General Public License v3 2021-2025 (c) Tatsuya Yatagawa

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft