From e86bb4f03c24c35bb3303a1562edde9d827c84c6 Mon Sep 17 00:00:00 2001 From: buttle Date: Sat, 21 May 2022 12:24:06 +0200 Subject: [PATCH] updates README --- README.md | 11 ++++++++++- view/common/block-layout/render-3d.phtml | 12 ------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 4207eab..3cd380d 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,18 @@ application/json Add these to the `Allowed file extensions` ``` -gltf, bin, json, obj, mtl +gltf, glb ``` +### Usage + +* Create an item and upload a GLTF or GLB 3D image file. +* Include and other assosiated files (if any) in the same item. + +### Background image +An equirectangular image can be set as the background image. +To activate this feature, add a file to the item called `sky-box-image` (png o jpg) + ## LISENCE The module is released under the [MIT] License. diff --git a/view/common/block-layout/render-3d.phtml b/view/common/block-layout/render-3d.phtml index b1df5b1..7b92807 100644 --- a/view/common/block-layout/render-3d.phtml +++ b/view/common/block-layout/render-3d.phtml @@ -6,18 +6,6 @@ $this->headScript()->appendFile($this->assetUrl('js/height_calculator.js', 'Render3D')); ?> - - -