AHG Extensions for AtoM

Home / Plugins / 3D Model Viewer

3D Model Viewer

3D model viewing with Google Model Viewer, Gaussian Splat support, AR, hotspots, and IIIF 3D manifests

Part of the Digital Asset Management capability. Watch the walkthrough.

CategoryViewing
Packageahg3DModelPlugin
Version1.2.2
StatusInstalls from source. Clean-database install not yet verified.
RequiresCore
LicenceAGPL-3.0-or-later
InstallFrom the source repository: see Installation below. No packaged download yet.

A comprehensive 3D model viewing plugin for Access to Memory (AtoM) with IIIF 3D extension support, augmented reality (AR) capabilities, and interactive hotspot annotations.

Features

  • Multiple 3D Formats: Support for GLB, glTF, OBJ, STL, PLY, and USDZ formats (FBX via Blender thumbnail only)
  • Google Model Viewer: Uses Google's <model-viewer> component for high-quality WebGL rendering
  • Augmented Reality: AR viewing on iOS (Quick Look) and Android (Scene Viewer)
  • 3D Hotspots: Interactive annotation points with customizable types (info, damage, detail, link)
  • IIIF 3D Manifests: Generates IIIF 3D-compliant manifests for interoperability
  • Three.js Fallback: Alternative viewer for older browsers
  • Responsive Design: Works on desktop, tablet, and mobile devices
  • Bootstrap 5 Integration: Seamless integration with AtoM's Bootstrap 5 themes

Requirements

  • AtoM 2.9+ or 2.10
  • PHP 8.1+
  • MySQL 5.7+ or MariaDB 10.3+
  • atom-framework (Laravel Query Builder)
  • HTTPS (required for AR features)

Installation

1. Copy Plugin Files

cd /usr/share/nginx/archive/plugins
cp -r /path/to/ahg3DModelPlugin .

2. Copy Service File

cp ahg3DModelPlugin/services/Model3DService.php \
   /usr/share/nginx/archive/atom-framework/src/Services/

3. Install Database Schema

php atom-framework/bin/install-plugin-schema.php --database=<database> --user=<user> --password=<password> --plugin=ahg3DModelPlugin   # from the AtoM root; never a plain mysql < install.sql

4. Create Upload Directory

mkdir -p /usr/share/nginx/archive/uploads/3d
chown -R www-data:www-data /usr/share/nginx/archive/uploads/3d
chmod 755 /usr/share/nginx/archive/uploads/3d

5. Clear Cache

php /usr/share/nginx/archive/symfony cc

6. Enable Plugin

Add to apps/qubit/config/settings.yml:

all:
  .settings:
    plugins:
      - ahg3DModelPlugin

Or enable via Admin > Plugins in AtoM.

Try it

See it on the live demo (sample data, no sign-in): a record with a 3D model.

Source and README on GitHub · Questions: support@theahg.co.za or WhatsApp