View source for QGIS 3D Animations
←
QGIS 3D Animations
Jump to navigation
Jump to search
<span style="color:#FF0000"> <font size = 18>Page Under Construction</font> </span> =Introduction= This page describes the method for creating a 3D animation using QGIS. QGIS version 3.34.1 has been used for this example. ==Data Required== The following files are required to create a 3D animation in QGIS. :<br> * Digital Elevation Model (DEM)/TIN; and * 2D Model Results. This example uses the DEM and 2D results for Tutorial Module 1. The complete model is available from [[Tutorial_Introduction | Tutorial Introduction]]. <br> =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. <ol> <li>Load the '''DEM.tif''' into the QGIS workspace. </li><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><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 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]]. </li> </ol> <br>The QGIS workspace should look similar to below: <br> [[File:QGIS 3D ani 1.png||800px]] =Configure DEM in 3D Map View= <ol> <li> Create a new 3D map view under <i> View >> 3D Views >> New 3D Map View</i>: <br> [[File:New 3d mapview.jpg||500px]]<br> The following 3D Map View window will appear: <br> [[File:3d mapview window.png]]<br><br> </li> <li>Within the 3D Map View window, configure the DEM to display as a 3D mesh: * Use the ''Zoom Full'' tool [[File:Zoom full icon.png]] to center the map view onto the DEM * Click ''Settings [[File:Settings icon.png]] > Terrain tab'' * Within the Terrain tab, enable the following settings: ** Type: Mesh ** Elevation: M01_5m_001 ** Smooth triangles enabled ** Render style: Color Ramp Shader ** Color ramp: Greys >> Invert Color Ramp ** Click OK [[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 mapview DEM.png|400px]] </ol> =Load Results in 3D Map View= The following steps demonstrate how to load the maximum water level results in the 3D Map View. <ol> <li> Open Layer Properties of the Results Mesh Layer, by right-clicking the layer in the Layers Panel and selecting "Properties..." <br> [[File:Open layer properties.png]] </li><br> <li> Navigate to the 3D View Panel within the Layer Properties window, and enable the following settings: * Enable 3D Renderer * Enable Smooth Triangles * Dataset group for vertical value: "Water Level/Maximums" * Rendering style: "2D Contour Color Ramp Shader" * Click OK [[File:Results 3DView settings.png|none]] <li> Open the 3D Map view window to view the 3D Water Level results and terrain. [[File:3Dview results.png|none]] Note, that the "2D Contour Colour Ramp Shader" rendering style option sets the symbology of the results to replicate the current symbology in the current 2D map view. For this example, the water level results in the 3D map view reflects the depth map output symbology. </li><br> </ol> =Creating an Animation= 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]. =Additional Resources= The Qgis2threejs plugin can also be used to create a 3D map view and animation. For more details, see [https://minorua.github.io/Qgis2threejs/docs/ Qgis2threejs Plugin Document] <br> {{Tips Navigation |uplink=[[QGIS_Tips | Back to QGIS Tips And Tricks]] }}
Template used on this page:
Template:Tips Navigation
(
view source
)
Return to
QGIS 3D Animations
.
Navigation menu
Personal tools
English
Log in
Namespaces
Page
Discussion
English
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information