cesiumlab / cesiumlab/XbsjEarthUI

如何对3dtiles数据进行平移旋转缩放,再获取modelMatrix

Open
#3 1 comment 0 reactions 0 assignees View on GitHub
documentation question
Dominant language
JavaScript
Stars
734
Forks
193
PR merge metrics
No merged PRs in 30d

Description

1. 在[EarthSDK](http://earthsdk.com/v/last/Apps/Demos/Viewer/index.html)中对模型进行旋转平移缩放操作

场景树上鼠标右键弹出菜单,点击“属性”按钮
![image](https://user-images.githubusercontent.com/13550568/67138553-bbf5f800-f277-11e9-85ae-29ec5dae54bd.png)

编辑相关参数。
![image](https://user-images.githubusercontent.com/13550568/67138562-f3fd3b00-f277-11e9-8904-81ec22238d08.png)

当然平移和旋转是也可以进行可视化互动编辑的。
![image](https://user-images.githubusercontent.com/13550568/67138643-37a47480-f279-11e9-8af6-84ba37c70752.png)

2. 编辑完成以后,再右键弹出菜单,选择“查看Cesium代码”
![image](https://user-images.githubusercontent.com/13550568/67138568-1e4ef880-f278-11e9-8828-3c366b115980.png)

3. 在代码中获取需要的信息,比如modelMatrix
![image](https://user-images.githubusercontent.com/13550568/67138595-8b628e00-f278-11e9-8c09-43c9b3c1dd58.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.