Benutzerdefinierte 3D-Viewport-Embeds: JavaScript SDK Hooks, Dynamische Minimaps & WebGL Overlays
1. Executive Summary: Engineering Custom 3D Viewport Experiences
Standard web embed iframe solutions limit developer customization, forcing applications into rigid, non-interactive boxes. Advanced spatial applications require custom JavaScript SDK extensions, dynamic 2D floor plan minimaps, synchronized camera bindings, and WebGL canvas overlays.
By leveraging custom SDK hooks, frontend engineers can trigger external DOM events from within the 3D model, overlay custom HTML5 components over 3D coordinates, and maintain a live 2D minimap with animated radar sweeps. Learn more on our Custom 3D Viewport Embeds & Interactive Minimap page.
2. JavaScript SDK Hooks & Event Listener Pipeline
Building high-performance custom 3D viewports requires clean event listener architecture:
- Camera Motion Synchronization: Syncing a 2D floor plan canvas with the 3D viewport camera position and rotation in real-time.
- Custom Mattertag Modal Injections: Intercepting 3D point clicks to launch external React components, live streaming camera feeds, or ordering interfaces.
- WebGL Layer Rendering: Rendering custom 3D objects or CAD vector layers directly over the base spatial mesh.
3. Interactive 2D Minimap & Spatial Radar Integration
Adding a dynamic 2D architectural minimap inside the 3D viewport provides instant orientation across large industrial plants, multi-story office buildings, or sprawling university campuses. Viewers can click anywhere on the 2D floor plan to teleport the 3D camera instantly to that exact coordinate.
4. Custom Viewport API Capabilities Matrix
| API Hook / Extension | Technical Function | Developer Use Case |
|---|---|---|
SDK.Camera.pose |
Real-time X, Y, Z coordinate stream | Drives synchronized 2D minimap radar sweep |
SDK.Mattertag.register |
Attaches custom HTML/CSS web components | Embeds live video streams inside 3D space |
SDK.Mode.switch |
Programmatic state switching (Dollhouse/Floorplan) | Enables custom keyboard/joystick navigation |
5. Full Ecosystem Developer Integration
Custom 3D viewports form the frontend interface for enterprise spatial data. Explore our complete developer ecosystem across 3D Virtuelle Touren, Autodesk Integration, and Procore Integration. To request custom SDK code samples or engineering support, contact our developer support team.
Bereit, Ihren Raum zu digitalisieren oder ein Scan-to-BIM-Angebot anzufordern?
Berechnen Sie sofort 3D-LiDAR-Scankosten, CAD/BIM-Modellierungspreise und Software-Integrationen in unter 30 Sekunden.



