Isometric camera with THREE.js

后端 未结 2 2063
-上瘾入骨i
-上瘾入骨i 2020-12-12 23:12

How can I set the camera angle to something like the isometric projection?

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-12 23:40

    you need to use orbit and track controls , like in here :

    http://codepen.io/nireno/pen/cAoGI

    Edit:

    also you may consider using ortho camera this post here may help you :

    Three.js - Orthographic camera

    an example can be seen here :

    http://threejs.org/examples/canvas_camera_orthographic.html

    and here is a link (udacity) explaining the use:

    https://www.udacity.com/course/viewer#!/c-cs291/l-158750187/m-169414761

提交回复
热议问题