Last active
January 18, 2020 14:28
-
-
Save JohnCoene/12347ea1faee2feb1d1efc9a1fc5c0ff to your computer and use it in GitHub Desktop.
aframer models
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(aframer) | |
| library(aextras) | |
| embed_aframe( | |
| a_scene( | |
| a_dependency(), | |
| aextras_dependency(), | |
| a_assets( | |
| a_primitive( | |
| "asset-item", | |
| list( | |
| id = "model", | |
| src = "model.gltf" | |
| ) | |
| ) | |
| ), | |
| a_sky(color = "#ECECEC"), | |
| a_entity( | |
| `gltf-model` = "src: #model", | |
| rotation = "-90 0 0" | |
| ) | |
| ) | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(aframer) | |
| library(aextras) | |
| embed_aframe( | |
| a_scene( | |
| a_dependency(), | |
| aextras_dependency(), | |
| a_assets( | |
| a_primitive( | |
| "asset-item", | |
| list( | |
| id = "model", | |
| src = "model.ply" | |
| ) | |
| ) | |
| ), | |
| a_sky(color = "#ECECEC"), | |
| a_entity( | |
| `ply-model` = "src: #model", | |
| rotation = "-90 0 0" | |
| ) | |
| ) | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment