1 Star 2 Fork 0

Alvis/cesium-with-threejs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

cesium-with-threejs

将Cesium与ThreeJs集成的样例。

  • cesium 1.100.0
  • three 0.147.0

参考并修改自cesium-threejs-experiment

升级记录

  • Cesium 升级到 1.100.0

  • Cesium 升级到 1.99.0

  • Cesium 升级到 1.96.0

  • Cesium 升级到 1.95.0

  • threejs 升级到 0.147.0,Cesium 升级到 1.90.0

  • threejs 从 0.96.0 升级到 0.128.0

  • threejs 从 0.95.0 升级到 0.96.0

    缺少灯光的话将无法显示,场景需要加入灯光

    const Amlight = new AmbientLight(0xffffff, 2)
    three.scene.add(Amlight)
    ThreeContainer.appendChild(three.renderer.domElement)
    
  • threejs 从 0.88.0 升级到 0.95.0

  • threejs 从 0.87.1 升级到 0.88.0

    lookAt 函数签名有变化

    _3Dobjects[id].threeMesh.lookAt(centerHigh)
    

    修改为

    _3Dobjects[id].threeMesh.lookAt(centerHigh.x, centerHigh.y, centerHigh.z)
    
  • cesium 从 1.45.0 升级到 1.81.0,threejs 为 0.87.1

参考引用

空文件

简介

cesium 与 threejs 结合使用的样例 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/alvisisme/cesium-with-threejs.git
git@gitee.com:alvisisme/cesium-with-threejs.git
alvisisme
cesium-with-threejs
cesium-with-threejs
master

搜索帮助