7.6. 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 (Pic. 7.31.).

Pic. 7.31. Creating a 3D scene resource
The Resource tab indicates the name of the future 3D scene (Pic. 7.32.).

Pic. 7.32. Resource name 3D scene
The ‘3D scene’ tab allows you to select the type of data display on the 3D scene - a globe or a plane (Pic. 7.33.). 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.

Pic. 7.33. Method of displaying data on a 3D scene
The ‘Extent’ window sets the area of coverage of the 3D scene in degrees (Pic. 7.34.).

Pic. 7.34. 3D scene extent
There is also an option - to set the extent by the layer loaded in Web GIS (Pic. 7.35.). 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.

Pic. 7.35. Window for Selecting layer of 3D Scene’s extent
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.

Pic. 7.36. 3D scene items window
The addition takes place after you click ‘Add Item’, resulting in an open choice NextGIS Web resource box (Pic. 7.37.).

Pic. 7.37. Selecting a 3D style resource to add to a 3D scene
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 (Pic. 7.38.) and specifies basemap resource NextGIS Web (Pic. 7.39.).

Pic. 7.38. Basemaps tab 3D scene

Pic. 7.39. Selection a 3D scene basemap
To upload a basemap onto a 3D scene, you must first create it in NextGIS Web. For this there is a resource Basemap (Pic. 7.40.).

Pic. 7.40. Basemap resource in NextGIS Web
You can specify the URL or find the one you need in the search In the Settings, if there is one in QuickMapServices (Pic. 7.41.) directory.

Pic. 7.41. Basemap settings
The Terrain resource of the previously created TMS layer is added to the 3D scene on the Terrain tab (ngw3D_terrain_3D_scen_en
).
Adding occurs through the standard addition of a resource in the corresponding window (ngw3D_select_terrain_3D_scen
).

Pic. 7.42. Terrain Resource settings of 3D scene

Pic. 7.43. Selecting the Terrain resource for a 3D scene
Permissions, description and metadata are optional.