说明:本文档基于最新版的Three.js(r94),由于以前从来没有写过JavaScript和HTML,所以有不足之处还望见谅。 1.准备 1.1.官网 https://threejs.org/ 1.2.源码及示例 https://github.com/mrdoob/three.js/ 2.HelloWorld var camera, scene, controls, renderer; init(); animate()...
说明:本文档基于最新版的Three.js(r94),由于以前从来没有写过JavaScript和HTML,所以有不足之处还望见谅。 1.准备 1.1.官网 https://threejs.org/ 1.2.源码及示例 https://github.com/mrdoob/three.js/ 2.HelloWorld var camera, scene, controls, renderer; init(); animate()...