updates README
This commit is contained in:
parent
f303e636ad
commit
e86bb4f03c
11
README.md
11
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.
|
||||
|
||||
|
|
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue