A GLB Viewer with Spatial Annotations in a #Tulip Custom Widget

One of the challenges with capturing defects is context. When you take a photo of something like a scratch, it’s usually a tight close-up (and hopefully not blurry) image. The problem comes later, when someone asks: where exactly on the unit was that?

That question led to a simple idea, what if you could also mark the location directly on a 3D model of the unit where the scratch occurred?

1) Get a hold of a 3D model

2) Convert to .glb (Blender is very cool)

3) Serve the file out through cloudfront

4) Display the .glb in a custom widget and capture the ‘Spatial Annotation’

Quick sample .js

https://github.com/mellerbeck/tulip-spatial-annotation/blob/main/loadglb.js

Leave a comment