Skip to content

Instantly share code, notes, and snippets.

@flushpot1125
Created December 14, 2019 11:37
Show Gist options
  • Save flushpot1125/1ec1b274334fb2cf7c35b38830610a57 to your computer and use it in GitHub Desktop.
Save flushpot1125/1ec1b274334fb2cf7c35b38830610a57 to your computer and use it in GitHub Desktop.
<body>
<a-assets>
<a-asset-item id="crate-obj" src="./model/showglobe/model.obj"></a-asset-item>
<a-asset-item id="crate-mtl" src="./model/showglobe/materials.mtl"></a-asset-item>
 </a-assets>
<a-scene background="color: #4682B4">
<a-obj-model scale="5 5 5" position="0 0.5 -5" src="#crate-obj" mtl="#crate-mtl"></a-obj-model>
</a-scene>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment