updates README

This commit is contained in:
buttle 2022-05-21 12:24:06 +02:00
parent f303e636ad
commit e86bb4f03c
2 changed files with 10 additions and 13 deletions

View File

@ -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.

View File

@ -6,18 +6,6 @@ $this->headScript()->appendFile($this->assetUrl('js/height_calculator.js',
'Render3D'));
?>
<script>
console.log(<?= json_encode($urls, JSON_UNESCAPED_SLASHES) ?>)
</script>
<!--
<style>
#<?= $id ?> {
height: <?= $height ?>px;
width: <?= $width ?>px;
}
</style>
-->
<style>
model-viewer {
width: 100%;