The camera of A-Frame is set in order to simulate an isometric view.
Last active
October 1, 2021 19:58
-
-
Save fabiovalse/07b5887a1d57b40b6065 to your computer and use it in GitHub Desktop.
A-Frame DAE isometric view
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
<!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