Skip to content

Commit

Permalink
Fixes #7 : Change font style of 3D text
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatnitd committed Oct 10, 2017
1 parent 3592660 commit 0960577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions burek.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
<img src="https://img.gs/bbdkhfbzkk/2048x1024,stretch/http://i.imgur.com/WMNH2OF.jpg" id="chrome" crossorigin="anonymous">
<img id="sky" src="https://img.gs/bbdkhfbzkk/2048x2048,stretch/http://cdn.wonderfulengineering.com/wp-content/uploads/2015/07/bosnia-flag-4.jpg" crossorigin="anonymous" />
<a-asset-item id="dawningFont" src="https://cdn.glitch.com/c719c986-c0c5-48b8-967c-3cd8b8aa17f3%2FdawningOfANewDayRegular.typeface.json?1490305922844"></a-asset-item>
<a-asset-item id="exoFont" src="https://cdn.glitch.com/c719c986-c0c5-48b8-967c-3cd8b8aa17f3%2Fexo2Black.typeface.json?1490305922150"></a-asset-item>
<a-asset-item id="optimerBoldFont" src="https://rawgit.com/mrdoob/three.js/dev/examples/fonts/optimer_bold.typeface.json"></a-asset-item>
</a-assets>



<a-entity id="text-burek" position="-3 1 -6" rotation="5 0 0">
<a-entity position="-0.5 0.5 -0.5" scale="0.6 1.2 1" text-geometry="value: Virtual Burek; font: #exoFont; bevelEnabled: true; bevelSize: 0.1; bevelThickness: 0.2; curveSegments: 1; size: 1.6; height: 0.4;" material="color:green; metalness:0.9; roughness: 0.05; sphericalEnvMap: #chrome;"></a-entity>
<a-entity position="-0.5 0.5 -0.5" scale="0.6 1.2 1" text-geometry="value: Virtual Burek; font: #optimerBoldFont; bevelEnabled: true; bevelSize: 0.1; bevelThickness: 0.2; curveSegments: 1; size: 1.6; height: 0.4;" material="color:green; metalness:0.9; roughness: 0.05; sphericalEnvMap: #chrome;"></a-entity>
</a-entity>

<!-- Burek -->
Expand Down

0 comments on commit 0960577

Please sign in to comment.