QGIS 3D Animations: Difference between revisions
Content deleted Content added
No edit summary |
|||
Line 16:
<br>
=Method=
=
<ol>
<li>Load the '''DEM.tif''' into the QGIS workspace.
<li>Open the TUFLOW Viewer from the TUFLOW plugin toolbar: <br>
<li>Load the 2D results dataset using the '''M01_5m_001.xmdf''' results file located in the '''TUFLOW\results\''' folder using the TUFLOW Viewer. For more details on loading map outputs, refer to [[TUFLOW_Viewer_-_Load_Results_-_Map_Outputs | TUFLOW Viewer - Load Results - Map Outputs]]. ▼
<li>Select 'Depth' results to display in the workspace and change map styling to your preference. In this example, the 'blues' colour ramp has been selected and the temporal bar has been moved to show depth results near the peak of the event. For more details on map styling, refer to [[TUFLOW_Viewer_-_Map_Outputs_-_Styling_Scalar_Types | TUFLOW Viewer - Map Outputs - Styling Scalar Types]].▼
[[File:tuflow_plugin_tuflow_viewer.png]]<br>
</ol>▼
▲<li>
<li>Click on a scalar dataset 'Depth' under the Result Type in the TUFLOW Viewer 'Map Outputs' list.
▲<li>
'''Note:''' For more details on map styling, please refer to <u>[[TUFLOW_Viewer_-_Map_Outputs_-_Styling_Scalar_Types | TUFLOW Viewer - Map Outputs - Styling Scalar Types]].</u><br>
<br>
[[File:QGIS 3D ani 1.png||800px]]
<br>
▲</ol>
==Configure DEM in 3D Map View==
<ol>
<li>
<br>
[[File:New 3d mapview.jpg||500px]]<br>
<br>
<
<br>
▲<li>Within the 3D Map View window, configure the DEM to display as a 3D mesh:
<li>Configure the DEM to display as a 3D mesh:
*
*
** Type: Mesh
** Elevation: M01_5m_001
**
**
** Color ramp: Greys >> Invert Color Ramp <br>
[[image of things to click to get colour ramp]]
** Click OK <br>
▲[[File:3d DEM config.png|800px]]
▲</li><br>
The figure below demonstrates the resultant 3D surface. For more details on navigating within the 3D map view, refer to [https://docs.qgis.org/3.34/en/docs/user_manual/map_views/3d_map_view.html#navigation-options QGIS Documentation - 3D Map View, Navigation Options]▼
<br>
[[File:3d
<br>
<li>The 3D Map View now displays the 3D surface:<br>
<br>
[[File:3d mapview DEM.png|400px]]<br>
<br>
▲
</ol>
==Load Results in 3D Map View==
<ol>
<li>
<br>
[[File:Open layer properties.png]]
<br>
* Enable 3D Renderer▼
<li>In the 3D View tab, enable the following settings (leave all other settings as default):
* Enable Smooth Triangles▼
▲* Tick on 'Enable 3D Renderer'
* Dataset group for vertical value: "Water Level/Maximums"▼
* Rendering style: "2D Contour Color Ramp Shader"
* Click OK <br>
<br>
[[File:Results 3DView settings.png|none]]<br>
<br>
<li> Open the 3D Map
[[File:3Dview results.png|none]]<br>
<br>
'''Note
▲</li><br>
</ol>
=
To create an animation, refer to instructions published on the QGIS website: [https://docs.qgis.org/3.34/en/docs/user_manual/map_views/3d_map_view.html#creating-an-animation Creating an animation].
| |||