CityEngine应用影视作品又一成功案例

案例展示之疯狂动物城:奥斯卡最佳动画片

今年大会主题演讲中非常与众不同的一个案例就是如何使用Esri CityEngine来创建迪斯尼电影《疯狂动物城》中美丽梦幻的三维场景艺术与科学的完美结合!迪士尼技术总监也因此拿了奥斯卡奖!

 

一种新型的规则文件驱动生成三维模型技术,核心文件CGA,即python规则文件。通过规则文件在cityengine软件当中即可批量快速生成大场景城市模型,而且城市场景模型可以重复利用。

CityEngine大场景制作在影视中的应用案例

数字绘景 Nowhere land 制作过程


张艺谋的《长城》项目基本结束了,这个项目我们首次使用了Clarisse来渲染大型场景,完成了一系列不可思议的长城和大型山脉的镜头。Clarisse充分利用了计算机内存,不进行任何的重复计算,在超大模型量场景的支持上独树一帜,在3D view中可以完全高模显示,所以也率先被数字环境绘景艺术家们所使用。《长城》还未上映,在完成项目闲暇之余,用Clarisse做了 Nowhere land 这个作品,这样的大型场景也变得越来越容易,做完才觉得有点像《三体》小说里描述的被水滴攻击的效果。

Making Of:

制作过程高清版本下载:
Download

最终效果
city_1

灰模效果
city_3


制作解析

在cityEngine中生成建筑模型,去年在《美队3》的机场大战中我也尝试过用CityEngine制作远景的楼群。cityEngine是依靠自身的规则语言(CGA,即python语言编写)来完成每一个建模的步骤,需要一定的编程能力。今年的siggraph大会上展示了《独立日2》中使用CityEngine制作城市的过程:

making_of_city_1

Zbrush中雕刻悬崖:

making_of_city_2

Speedtree制作树的模型导入Clarisse中进行测试,为了更加方便,我写了一个python的程序可以直接读取Speedtree导出的xml材质连接信息,在Clarisse中可以一键导入:

making_of_city_3

Houdini制作大气效果,感谢Ziko花了十分钟教会了我Houdini的cloud模块,对于Houdini白痴来说已经够用了:

making_of_city_4

从Houdini输出vdb格式导入Clarisse进行渲染:

making_of_city_5

所有资产导入Clarisse测试渲染:

making_of_city_6

Color Mass By Orientation

cityengine2016.1版本,cityengine2017年第二个新案例ESRI官方发布啦,这个案例说的什么鬼,或许能让你联想到arcgis pro 1.4的某些影子。

ArcGIS Pro?1.4新增multipatch编辑功能。如下:

1)在3D模型中创建multipatch 要素

2)拖拽现有的面、增加一个新的面、向内或向外拉伸面,或是创建一个空洞

3)沿着面创建山脊线,拖动它就可创建两个相交的面,例如三角形屋顶

3)复制一个2D多边形到multipatch图层,然后运用选择性粘贴(paste special),将其凸起为一个multipatch要素

 

 

 

AColorMassByOrientation

 

 

发布SPK文件设置方法

Creating 3D Story Maps using data from Esri?CityEngine.

In the last couple of years Story Maps have become quite popular with ArcGIS Desktop / Online users. They provide a quick and efficient way to deliver important information or a message in a form of an easily-configurable web application that uses geographic data and can be enriched by adding various types of media content. There are thousands of story maps that you can access through ArcGIS online and it’s very easy to create your own.

One of my areas of expertise is 3D GIS and from time to time people ask me whether it’s possible to display 3D information in a Story Map. Well, the answer is yes. This functionality has been available for more than a year and I believe it’s time to write a blog about the workflow that will make your story maps 3D –enabled.

In this blog I will demonstrate how to use CityEngine 3D scenes to publish your 3D data to ArcGIS Online and create an interactive Story Map that uses 3D web scenes.

For the purpose of this demo, I used one of the CityEngine Examples provided by Esri Inc. on their CityEngine Gallery web page, available here:>>

The example that I’m using is called Redlands Redevelopment 2016; it can be downloaded as a package that includes the CityEngine project, CGA rule files, data and documentation.

To follow the below steps, you will need CityEngine 2016 and an active ArcGIS Online organizational subscription.

To illustrate the capabilities of the CityEngine and ArcGIS software that can help you to publish your 3D data on the web and use it in an interactive Story Map web application, I will consider the following scenario.

Let’s assume that the Council is planning to re-develop a portion of the downtown area in Redlands and they’re currently evaluating several proposals that include a residential complex, a business / Technology Park and a shopping center with a multi-level car park. The task is to create 3D models that represent each proposed project and provide the general public with a simple tool to access this information before the final decision can be discussed and made.

I used the data and the CityEngine rules from the original Redlands Example to create a simple model of the central part of the City of Redlands and digitized the boundary of the fictitious proposed development:

3dblog1

In this blog I will avoid talking about the details of how the proposed development area was subdivided into individual footprints and then the CGA rules were applied to them to generate models of buildings, parks and open areas.? If you’d like to repeat the steps mentioned below, you can download a simplified version of the CityEngine project which I created for this demo. It’s available here: ?>>

I used the CGA rules from the Redlands redevelopment CityEngine project supplied by Esri Inc. to create 3 separate CityEngine scenes, each representing a particular scenario of the proposed development. ?Each 3D scene will be published to ArcGIS Online and used in the future Story Map as a separate tab / view.

So, my re-development scenario models are:

  1. A residential complex

3dblog2

2. A business / technology park (offices)

3dblog3

3. A new shopping center

3DBLOG4.jpg

The first step in the process of publishing your 3D Scenes from CityEngine is to select all features and models within a scene and use the File > Export Models command to export the scene as an Esri Scene Layer Package.

3d5.gif

Please note that it’s recommended that your CityEngine Scenes are using the WebMercator (WGS1984) projection, as shown below. This will help to avoid some common issues with aligning your 3D data in the web scene viewer in ArcGIS Online.

3dblog6

When exporting models to an Esri Scene layer Package you can choose between creating a local scene and a global scene. The geographic extent of the dataset is relatively small, so in this particular case we can use the Local Scene setting.

3DBLOG7.jpg

This process needs to be repeated for the two other scenes representing scenarios 2 and 3. Once the export has been completed, you should have the following Scene layer packages:

3dblog8

The next step is uploading the scene layer packages to ArcGIS Online. Navigate towww.arcgis.com, sign in to you ArcGIS Online for Organisations account and use the Add Item button (under MyContent) to load the scene packages.

3dblog9

You can also load the scene layer packages using the File > Share As command in CityEngine.

Once loaded, the scene layer packages will automatically be published as hosted scene layers.

3DBLOG10.jpg

You can then open them in the Scene Viewer

3DBLOG11.jpg

Then save each as a separate web scene

3dblog12

These web scenes will be referenced by the Story Map that will be created in the next step.

3dblog13

Now that the 3D scenes have been published, we can create a Story Map that will use them. Scenes can be viewed as a part of a Story Map in a browser that supports WebGL. The full list of system requirements is available here: >>

Users can create Story Maps using the downloadable examples or online template. Currently, there are several Story Map templates that support the addition of the 3D web scenes, including the Story Map Journal, Story Map Cascade and Story Map Series.? The full list of the available Story Map templates is available here: ?>>

In this example, I will use the Story Map Journal template. Creating Story Maps using the interactive workflow on the website is easy – you need to start the wizard, enter the title and define the content of the main stage and the side panel. At each step the Map Journal Builder application will guide you by providing tips and instructions.

To add a Web Scene to your story map, in the Step 1 : Main Stage content, set the type of content to Web page

Project Showcase

I spend a lot of time browsing GeoNet, looking for help and seeing where I can help. I thought what might be missing was a place to share some completed work – showcasing how we are using CityEngine and to gather comments and critique by the group. So I thought I’d start one….. feel free to post thoughts, comments, suggestions etc. or shared your own CityEngine work.

 

 

I’ve recently completed a project for a client – a redevelopment concept for a prominent 80-acre site occupied by an aging and outdated strip commercial site. I think the process I used was somewhat unique. The site plan was roughly sketched out with pen and paper, moving the primary building closer to the street, while reducing parking in favor of additional outlot commercial buildings. Opportunities for taller mixed-use buildings on the west side of the site were also suggested. The sketch plan was drawn out in SketchUp, and a simple 2D plan was color coded. I exported it as a KML and imported it into CityEngine. In CityEngine I simply applied my rules onto the color coded shapes created in SketchUp.

 

1. Aerial of the site – 80-acres at a prominent intersection of a regional corridor

 

2. SketchUp model imported into CityEngine as?KML/KMZ

 

3. Color coding/rule explanation

4. Rules applied and linework on

 

5.?Final CityEngine Exports