UNPKG

aframe-gaussian-splatting-component

Version:

This component is an A-Frame implementation of real-time rendering for '3D Gaussian Splatting for Real-Time Radiance Field Rendering'

18 lines (17 loc) 788 B
<!DOCTYPE html> <html> <head> <script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script> <script src="https://quadjr.github.io/aframe-gaussian-splatting/index.js"></script> </head> <body> <a-scene renderer="antialias: false" stats> <a-entity position="0 1.6 -2.0" animation="property: rotation; to: 0 360 0; dur: 10000; easing: linear; loop: true"> <a-sphere position="0 0 0.5" radius="0.5" color="#EF2D5E"></a-sphere> <a-sphere position="0 0 -0.5" radius="0.5" color="#EF2D5E"></a-sphere> </a-entity> <a-entity gaussian_splatting="src: https://huggingface.co/cakewalk/splat-data/resolve/main/train.splat;" rotation="0 0 0" position="0 1.5 -2"></a-entity> <a-sky color="#000"></a-sky> </a-scene> </body> </html>