Skip to content

Instantly share code, notes, and snippets.

@fabiovalse
Last active October 1, 2021 19:58
Show Gist options
  • Save fabiovalse/07b5887a1d57b40b6065 to your computer and use it in GitHub Desktop.
Save fabiovalse/07b5887a1d57b40b6065 to your computer and use it in GitHub Desktop.
A-Frame DAE isometric view

The camera of A-Frame is set in order to simulate an isometric view.

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>A-Frame DAE</title>
<meta name="description" content="">
<script src="https://aframe.io/releases/latest/aframe.min.js"></script>
</head>
<body>
<a-scene>
<a-camera id="camera" near="1000" far="4000" position="0 880 1290" fov="8.2" cursor-visible="false" rotation="-34 0 0" wasd-="" controls-enabled="false" look-c†yontrols-enabled="false">
</a-camera>
<!-- Model -->
<a-entity id="model">
<a-model src="http://wafi.iit.cnr.it/smartarea/data/cnr.dae"></a-model>
</a-entity>
</a-scene>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment