Exporting to CityEngine Web Scene (3ws)

Format Description

CityEngine Web Scene (3ws) is a custom, web-optimized format that can be shared on ArcGIS Online and viewed with the CityEngine Web Viewer.

Select the content you want to export in the 3D Viewport, and start the exporter.

File → Export Models... → CityEngine Web Scene

Specific Export Options for 3ws

In addition to the general export options, the Web Scene export has an additional export page which allows to control settings of individual layers:

Web Scene Layer Export Settings

Export

Checkboxes denote if a layer's contents are exported. The initial state of this checkbox depends on the 3D viewport selection, before the export dialog is opened.

Layer Name

The layer name, as it is set in the CityEngine scene.

Layer Group

Layers can be combined to layer groups: All layers with the same group name are collected in a Layer Group. In CityEngine Web Viewer, only one layer of a group is visible at a time (exclusive visibility). Furthermore, all layer groups enable Swipe View in CityEngine Web Viewer.

You can name your CityEngine scene layers to automatically have their layer group set by using the pattern GROUPNAME.LAYERNAME.

Layer State

ParameterFunction
Backdrop Layer will not appear in layer pane, is always visible.
Visible Layer appears in layer pane and can be set visible or hidden. Initial state is visible.
Hidden Layer appears in layer pane and can be set visible or hidden. Initial state is hidden.

Interaction

Parameter Function
Scene settings Use global option set in Object Interaction in first export dialog page.
Locked Objects in this layer will not be selectable. All objects are combined to a single entity. Therefore locked layers contain a way smaller object count than pickable layers, which can often improve performance in the Web Viewer.
As all objects are combined, per-object metadata can not be written (No Metadata option only).
Pickable Objects in this layer will be selectable, all objects are exported as single entities (features). High object count in a layer can decrease performance, it is therefore recommended to only set layers to pickable where required.

Metadata

Parameter Function
Scene settings Use global option set in Object Metadata in first export dialog page.
All Write both object attributes and reports to object metadata.
Attributes Write object attributes to object metadata.
Reports Write generated report data to object metadata.
None Do not include object attributes nor report data.

Texture Quality

Parameter Function
Scene settings Use global option set in Textures in first export dialog page
High Quality Convert all layer RGB textures to JPG with high quality
Medium Quality Convert all layer RGB textures to JPG with medium quality
Low Quality Convert all layer RGB textures to JPG with low quality
Half Sized Resize all layer textures by 50%; RGB textures are written as medium quality JPG
Compact Resize all layer textures to 50% size but with a maximum of 256x256 pixels; RGB textures are written as low quality JPG
Original Textures Use original textures (Note: only JPG and PNG textures are supported in Web Viewer. Other textures formats will appear black)
No Textures Do not include textures in layer objects.

In all Texture Quality modes except "Original Textures" the texture size will be limited to 2048 pixels.

Other 3ws export features

As initial settings are stored during export, changing options (such as shadow settings) in Web Scene preview will not change the intial configuration of the Web Scene.

Export tricks and tips

Further Reading

Copyright ©2008-2017 Esri R&D Center Zurich. All rights reserved.