赞
踩
可看github官网上的地球飞线效果
/**
* 创建线条模型
*/
var geometry = new THREE.BufferGeometry(); //创建一个缓冲类型几何体
// 三维样条曲线
var curve = new THREE.CatmullRomCurve3([
new THREE.Vector3(100, 0, -100),
new THREE.Vector3(0, 80, 0),
// new THREE.Vector3(0, 80, 90),
new THREE.Vector3(-100, 0, 100)
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。