Difference between revisions of "QGIS 3D Animations"

From Tuflow
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<span style="color:#FF0000">
 +
<font size = 18>Page Under Construction</font>
 +
</span>
 +
 
=Introduction=
 
=Introduction=
 
This page explains how to make a 3D animation using QGIS. QGIS version 3.38.3 has been used for this example.
 
This page explains how to make a 3D animation using QGIS. QGIS version 3.38.3 has been used for this example.
Line 10: Line 14:
 
<br>
 
<br>
  
==Creating a 3D Animation==
+
==Set Up QGIS Workspace==
 
The following steps demonstrate how to display the water level (_h) datasets, these steps may equally be followed using other datasets you may have.
 
The following steps demonstrate how to display the water level (_h) datasets, these steps may equally be followed using other datasets you may have.
 
<ol>
 
<ol>
 
<li>Load the '''DEM.tif''' into the QGIS workspace, along with the 2D results datasets 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><br>
 
<li>Load the '''DEM.tif''' into the QGIS workspace, along with the 2D results datasets 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><br>
<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. For more details on map styling, refer to [[TUFLOW_Viewer_-_Map_Outputs_-_Styling_Scalar_Types | TUFLOW Viewer - Map Outputs - Styling Scalar Types]].  
+
<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]].  
<br>The QGIS workspace should look similar to below:  
+
<br>The QGIS workspace should look similar to below: <br>
 +
[[File:QGIS 3D ani 1.png]]
 +
</li>
 +
<br>
 +
<li> Create a new 3D map view under <i> View >> 3D Views >> New 3D Map View</i>: <br>
 +
[[File:New 3d mapview.jpg]]
 +
</li>
  
<li>
+
<br>
 
</ol>
 
</ol>
 +
==Configure DEM in 3D Map View==
 +
Within the 3D Map View window, configure the DEM to display as a 3D mesh:
 +
* Use the magnify tool to center the map view onto the DEM
 +
* Click settings > Terrain.
 +
  
  

Latest revision as of 12:24, 8 October 2024

Page Under Construction

Introduction

This page explains how to make a 3D animation using QGIS. QGIS version 3.38.3 has been used for this example.

Data Required

As a minimum you will need:

  • Digital Elevation Model (DEM)/TIN; and
  • 2D Model Results.

The DEM and 2D results for Tutorial Module 1 are used in this example. The complete model is available from Tutorial Introduction.

Set Up QGIS Workspace

The following steps demonstrate how to display the water level (_h) datasets, these steps may equally be followed using other datasets you may have.

  1. Load the DEM.tif into the QGIS workspace, along with the 2D results datasets 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.

  2. 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.
    The QGIS workspace should look similar to below:
    QGIS 3D ani 1.png

  3. Create a new 3D map view under View >> 3D Views >> New 3D Map View:
    New 3d mapview.jpg

Configure DEM in 3D Map View

Within the 3D Map View window, configure the DEM to display as a 3D mesh:

  • Use the magnify tool to center the map view onto the DEM
  • Click settings > Terrain.





Up
Go-up.png Back to QGIS Tips And Tricks