Esri CityEngine
中文教程
易智瑞(中国)信息技术有限公司
2012 年 5 月
版权声明
本文档版权为 Esri 中国信息技术有限公司所有。未经本公司
书面许可,任何单位和个人不得以任何形式摘抄、复制本文档的
部分或全部,并以任何形式传播。
制定及修订记录
版本 完成日期 编写/修订纪要 编写者 备 注
1.0 2011.12.31
新建 董晓非
Esri CityEngine
2011.1 build 1021
(trial, win32-64bit)
I
目 录
CITYENGINE 概览 ...................................................................................................... 1
1 基础内容 .............................................................................................................. 1
1.1 基本操作 ..................................................................................................... 1
1.2 教程与示例数据下载 ................................................................................. 2
1.3 基本概念 ..................................................................................................... 3
2 操作手册 .............................................................................................................. 4
2.1 用户界面 ..................................................................................................... 4
2.2 项目管理 ..................................................................................................... 4
2.2.1 工程文件组织 .............................................................................................................. 5
2.2.2 导入、导出、刷新 ...................................................................................................... 5
2.3 地图图层 ..................................................................................................... 5
2.3.1 地形图层(Terrain Layer) ......................................................................................... 6
2.3.2 纹理图层(Texture Layer) ........................................................................................ 7
2.3.3 障碍图层(Obstacle layer) ........................................................................................ 8
2.3.4 地图图层(Map Layer) ............................................................................................. 9
2.3.5 函数图层(Function Layer) .................................................................................... 10
2.4 SHAPES ........................................................................................................... 11
2.5 街道几何网络 ........................................................................................... 11
2.6 静态模型 ................................................................................................... 13
2.7 基于规则建模 ........................................................................................... 13
2.8 数据导入 ................................................................................................... 14
2.8.1 拖拽导入 .................................................................................................................... 14
2.8.2 通过菜单导入 ............................................................................................................ 15
2.9 地理参考 ................................................................................................... 15
2.9.1 场景坐标系统 ............................................................................................................ 15
2.9.2 使用地理参考数据 .................................................................................................... 16
2.10 导出模型 ................................................................................................... 17
II
3 CGA 语法参考 ................................................................................................... 18
3.1 常用命令 ................................................................................................... 18
3.2 形状操作 ................................................................................................... 18
3.2.1 alignScopeToAxes ...................................................................................................... 18
3.2.2 alignScopeToGeometry ............................................................................................... 18
3.2.3 center .......................................................................................................................... 18
3.2.4 Color ........................................................................................................................... 19
3.2.5 comp ........................................................................................................................... 20
3.2.6 Convexify ................................................................................................................... 21
3.2.7 Extrude ........................................................................................................................ 22
3.2.8 i ................................................................................................................................... 22
3.2.9 innerRect ..................................................................................................................... 23
3.2.10 mirror .......................................................................................................................... 24
3.2.11 mirrorScope ................................................................................................................ 24
3.2.12 NIL .............................................................................................................................. 24
3.2.13 Offset .......................................................................................................................... 26
3.2.14 offsetUV ..................................................................................................................... 28
3.2.15 Pop .............................................................................................................................. 28
3.2.16 Print ............................................................................................................................ 30
3.2.17 projectUV(uvSet) ........................................................................................................ 31
3.2.18 Push ............................................................................................................................ 31
3.2.19 r ................................................................................................................................... 31
3.2.20 report ........................................................................................................................... 33
3.2.21 reverseNormals ........................................................................................................... 34
3.2.22 roofGable .................................................................................................................... 34
3.2.23 roofHip ........................................................................................................................ 35
3.2.24 roofPyramid ................................................................................................................ 36
3.2.25 roofShed ...................................................................................................................... 36
3.2.26 rotate ........................................................................................................................... 37