<title>Three 导出JSON格式</title>
<script src="https://www.w3xue.com/js/threejs/threer92.js"></script>
<script src="https://www.w3xue.com/example/threejs/solarsystem/files/OrbitControls.js"></script>
<script src="https://www.w3xue.com/js/threejs/vue2.5.16.js"></script>
<link rel="stylesheet" href="https://www.w3xue.com/js/threejs/vueui2.15.6.css">
<script src="https://www.w3xue.com/js/threejs/vueui2.15.6.js"></script>
<div class="block" style="display:inline;width:500px">
<el-slider v-model="time" show-input :max=1 :step=0.01></el-slider>
var scene = new THREE.Scene();
var geometry = new THREE.BoxGeometry(100, 100, 100);
console.log(geometry.toJSON());
console.log(JSON.stringify(geometry.toJSON()));
console.log(JSON.stringify(geometry));
alert("几何体toJSON方法:\n"+JSON.stringify(geometry.toJSON()));
alert("几何体直接方法:\n"+JSON.stringify(geometry));
var material = new THREE.MeshLambertMaterial({