https://github.com/tomortec/simpleonlinemodelrenderer
View your glTF/GLB model by providing src and exposure in query params
https://github.com/tomortec/simpleonlinemodelrenderer
Last synced: 3 months ago
JSON representation
View your glTF/GLB model by providing src and exposure in query params
- Host: GitHub
- URL: https://github.com/tomortec/simpleonlinemodelrenderer
- Owner: Tomortec
- License: apache-2.0
- Created: 2023-10-27T06:29:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-27T07:12:50.000Z (over 1 year ago)
- Last Synced: 2025-01-17T22:11:43.240Z (5 months ago)
- Language: HTML
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleOnlineModelRenderer
View your glTF/GLB model by providing src and exposure in query params### Usage
##### URL
`https://tomortec.github.io/SimpleOnlineModelRenderer/`##### Available params
| Name | Type | |
|----------|---------------------|-----------------------------------------------|
| src | Encoded URL(string) | encode your `src` by using `decodeURIComponent` |
| exposure | number | |##### Example
[https://tomortec.github.io/SimpleOnlineModelRenderer?src=https%3A%2F%2Fmodelviewer.dev%2Fshared-assets%2Fmodels%2FglTF-Sample-Models%2F2.0%2FDamagedHelmet%2FglTF-Binary%2FDamagedHelmet.glb&exposure=0.75](https://tomortec.github.io/SimpleOnlineModelRenderer?src=https%3A%2F%2Fmodelviewer.dev%2Fshared-assets%2Fmodels%2FglTF-Sample-Models%2F2.0%2FDamagedHelmet%2FglTF-Binary%2FDamagedHelmet.glb&exposure=0.75)### CreatedWith
👩🚀 [\](https://github.com/google/model-viewer)### License
Apache-2.0 license