请问一下大家,cityengine中前后左右是怎么确定的呢

已邀请:

慕晓燕 - 长期ArcGIS爱好者

赞同来自: ArcGIS知乎

谢邀。
 
这个问题挺好的,这是使用 CityEgnine 时都会遇到的困惑。
这个前后左右是相对于模型自身的坐标系而言的,我写了个简单的脚本帮助你理解,如附图。

Object.png

 
 
引用CityEngine帮助中的说明:
front, back, left, right, top, bottom: The y-normals of the components are analyzed by classifying their directions into the corresponding quadrants (in relation to the local coordinate system of the current shape).
 
关于Local Coordinate System
On generation, a local coordinate system is defined for each shape. The origin is placed at the first point of the initial shape's first edge, and the axes are oriented such that the x-axis is along the first edge, the y-axis is along the first face's normal and the z-axis is perpendicular to the former two. 
The orientation and the position of the object system can be queried (see the initialShape attribute in the CGA shape grammar reference).
 

慕晓燕 - 长期ArcGIS爱好者

赞同来自: 陈於立

随便一个模型,是指静态模型还是CGA写的动态模型呢?

lijian_asd - 90后 新手

赞同来自:

如果随便给一个模型,能快速找到front吗

zrli2018 - 90

赞同来自:

请问怎么把这个轴线显示出来呢

要回复问题请先登录注册