Model Viewer

by Janis Pritzkau
5
4
3
2
1
Score: 24/100

Description

Category: Creative & Writing Tools

The Model Viewer plugin adds support for interactive 3D model viewing directly inside your notes using Google's <model-viewer> component. It recognizes .glb and .gltf files in your vault, enabling file previews, tabbed viewing, and seamless embedding via native syntax. You can adjust display settings like height, width, and aspect ratio, or even add multiple models side by side. It supports advanced attributes from the <model-viewer> API, such as autoplay, lighting controls, and custom camera positions. When used with the page preview plugin, you can also hover over links to preview models instantly. This plugin is especially handy for developers, designers, or educators working with 3D content who want smooth visual integration within their notes.

Reviews

No reviews yet.

Stats

21
stars
1,510
downloads
1
forks
509
days
172
days
514
days
2
total PRs
2
open PRs
0
closed PRs
0
merged PRs
9
total issues
5
open issues
4
closed issues
1
commits

Latest Version

a year ago

Changelog

Features

  • add command to copy embed for current file view (fix #8) (df339e0)

README file from

Github

Model Viewer For Obsidian

This plugin allows you to view and embed interactive 3D models directly in your Obsidian vault, powered by Google’s <model-viewer> component.

Screenshot

<model-viewer> supports and plans to support only glTF/GLB 3D models. It is the Khronos standard known as the JPEG of 3D and the first format to standardize Physically-Based Rendering (PBR), making your models look realistic under any lighting, on any renderer. It is also compact, compressible, and loads rapidly into the GPU.

<model-viewer> FAQ

Features

  • .glb and .gltf file support with most popular glTF extensions (including Draco compression, KTX2 textures and PBR materials)
  • Supports most of the features of the <model-viewer> component
  • Obsidian-style embed syntax with custom attributes

File View

Using this plugin, Obsidian automatically recognizes the .glb and .gltf files in your vault, allowing you to browse them and open them in a tab.

Hover Preview

When combined with Obsidian's page preview plugin (enabled by default), you can view 3D models using the hover preview.

Embed models in Markdown

You can embed 3D models in your notes using Obsidian's native embed syntax. This allows you to view and interact with the models directly within your notes.

The simplest embed looks like this:

![[DamagedHelmet.glb]]

If you want to specify the height of the model, you can do so like this:

![[Duck.glb#height=400]]

Or alternatively, you can specify the aspect ratio:

![[Sponza.gltf#aspect=16:9]]

The embed will automatically fill the entire width of the container. As with other embed types, you can also specify the width after the pipe character:

![[StainedGlassLamp.gltf#aspect=1|320]]

You can even place models side by side on a single line:

![[A.glb|160]] ![[B.glb|160]] ![[C.glb|160]]
Using <model-viewer> attributes

You can also use any of the attributes supported by the <model-viewer> component. To do this, you can use the following syntax:

![[Fox.glb#autoplay&camera-controls=false&camera-orbit=30deg+80deg+80%]]

The documentation for all available attributes can be found here: https://modelviewer.dev/docs/index.html

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Better File Link
5 years ago by Marc Julian Schwarz
A plugin for the note taking app Obsidian to add better external file links to your notes.
Convert url to preview (iframe)
4 months ago by fhachez
Plugin for Obsidian.md to convert a selected URL to an iframe.
Embed Code File
4 years ago by Abdullah Almariah
Embed HTML
3 months ago by mnaoumov
Obsidian Plugin that adds support for embedding HTML files
Extended File Support
2 years ago by Nick de Bruin
Adds opening and embedding support for various filetypes to Obsidian
Figma Embed
2 years ago by Kyle Kochanek
Obsidian plugin to embed live Figma files in your markdown notes.
GitHub Embeds
3 years ago by Gino Valente
Embed GitHub issues, PRs, and code snippets directly in Obsidian
Link Embed
4 years ago by SErAphLi
This plugin allow you to convert URLs in your notes into embeded previews.
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
Local Quotes
4 years ago by ka1tzyu
📜 Collect your quotes from all over the vault and embed them in different locations with refresh delays
Notion Video Embed
4 years ago by lastknightcoder
Paste as Embed
2 years ago by Matt Laporte
Obsidian plugin to paste contents of clipboard into a new note, and embed it in the active note.
Send to Canvas
a year ago by wenlzhang
An Obsidian plugin that allows you to send tasks, blocks, and notes to Canvas files as plain text, links, and embeds.
Sync Embeds
4 months ago by uthvah
Transform static embeds into live synced blocks in Obsidian.