<a id="ngw-3d-scenes"></a>

# Creation of 3D scenes

Three-dimensional objects in NextGIS Web can be placed on a 3D scene - an analogue of a web map for three-dimensional objects.
To create it, go to the required NextGIS Web directory and select the creation of a *3D scene* resource ([Fig. 797.](#ngw3d-select-3d-scene)).

![image](docs_ngweb_3D/source/_static/ngw3D_select_3D_scene_en.png)

The Resource tab indicates the name of the future 3D scene ([Fig. 798.](#ngw3d-name-3d-scene)).

![image](docs_ngweb_3D/source/_static/ngw3D_name_3D_scene_en.png)

The ‘3D scene’ tab allows you to select the type of data display on the 3D scene - a globe or a plane ([Fig. 799.](#ngw3d-settings-3d-scene)).
It is also possible to connect Yandex Panoramas and Google Street View data by specifying the appropriate API keys.
Also you can specify a quality value that affects the performance of a 3D scene.

![image](docs_ngweb_3D/source/_static/ngw3D_settings_3D_scene_en.png)

The ‘Extent’ window sets the area of coverage of the 3D scene in degrees ([Fig. 800.](#ngw3d-extent-3d-scene)).

![image](docs_ngweb_3D/source/_static/ngw3D_extent_3D_scene_en.png)

There is also an option - to set the extent by the layer loaded in Web GIS ([Fig. 801.](#ngw3d-extent-by-layer-3d-scene)).
Clicking on the folder icon with a plus opens a window where you can select the layer on which you want to specify the extent of the 3D scene.

![image](docs_ngweb_3D/source/_static/ngw3D_extent_by_layer_3D_scene_en.png)

The ‘Items’ tab allows you to add and remove items of various NextGIS Web resources on/from a 3D scene - for example, 3D styles and 3D tilesets (Fig. 38),
as well as form them into various groups.

![image](docs_ngweb_3D/source/_static/ngw3D_elements_3D_scene_en.png)

The addition takes place after you click ‘Add Item’, resulting in an open choice NextGIS Web resource box ([Fig. 803.](#ngw3d-select-elements-3d-scene)).

![image](docs_ngweb_3D/source/_static/ngw3D_select_elements_3D_scene_en.png)

The *Visible* option means that when a 3D scene is opened this element will be displayed by default.

Various basemaps can be added to the 3D scene.
The addition takes place using the ‘Add’ button ([Fig. 804.](#ngw3d-add-basemap-3d-scene)) and specifies basemap resource NextGIS Web ([Fig. 805.](#ngw3d-select-basemap-3d-scene)).

![image](docs_ngweb_3D/source/_static/ngw3D_add_basemap_3D_scene_en.png)![image](docs_ngweb_3D/source/_static/ngw3D_select_basemap_3D_scene_en.png)

To upload a basemap onto a 3D scene, you must first create it in NextGIS Web. For this there is a resource Basemap ([Fig. 806.](#ngw3d-create-basemap-3d-scene)).

![image](docs_ngweb_3D/source/_static/ngw3D_create_basemap_3D_scene_en.png)

You can specify the URL or find the one you need in the search In the Settings, if there is one in [QuickMapServices](https://qms.nextgis.com/) ([Fig. 807.](#ngw3d-settings-basemap-3d-scene)) directory.

![image](docs_ngweb_3D/source/_static/ngw3D_settings_basemap_3D_scene1_en.png)

The Terrain resource of the previously created TMS layer is added to the 3D scene on the Terrain tab ([Fig. 808.](#ngw3d-terrain-3d-scen-pic)).
Adding occurs through the standard addition of a resource in the corresponding window ([Fig. 809.](#ngw3d-select-terrain-3d-scene-pic)).

![image](docs_ngweb_3D/source/_static/ngw3D_terrain_3D_scen_en.png)![image](docs_ngweb_3D/source/_static/ngw3D_select_terrain_3D_scene_en.png)

Permissions, description and metadata are optional.
