Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save DevinNorgarb/a0561a8b508b7e3e930dd74b24d0b7c9 to your computer and use it in GitHub Desktop.
Save DevinNorgarb/a0561a8b508b7e3e930dd74b24d0b7c9 to your computer and use it in GitHub Desktop.

Revisions

  1. DevinNorgarb created this gist May 3, 2022.
    7 changes: 7 additions & 0 deletions a-frame-object-model-mtl-file.markdown
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    A-Frame Object Model mtl file
    -----------------------------


    A [Pen](https://codepen.io/fabricius/pen/QdEyXZ) by [Casper Fabricius](https://codepen.io/fabricius) on [CodePen](https://codepen.io).

    [License](https://codepen.io/license/pen/QdEyXZ).
    8 changes: 8 additions & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    <a-scene>
    <a-entity
    obj-model="obj: url(https://d2z6pp1b5cghw2.cloudfront.net/3f805b32-c95d-4109-b10f-308be54f718f/model.obj); mtl: url(https://d2z6pp1b5cghw2.cloudfront.net/3f805b32-c95d-4109-b10f-308be54f718f/model.mtl);"
    scale="0.5 0.5 0.5"
    position="0d 1.5 -2"
    rotation="0 90 0"
    ></a-entity>
    </a-scene>