QGIS 3D Animations: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (8 intermediate revisions by the same user not shown) | |||
Line 1:
</span>▼
=Introduction=
This page outlines the process for creating a 3D animation using QGIS. QGIS version 3.34.1 has been used for this example.
Line 43 ⟶ 39:
<li> The following 3D Map View window will open: <br>
<br>
[[File:
<br>
<li>Configure the DEM to display as a 3D mesh:
Line 53 ⟶ 49:
** Rendering style: Color Ramp Shader
** Color ramp: Greys >> Invert Color Ramp <br>
** Click OK <br>
<br>
[[File:
<br>
<li>The 3D Map View now displays the 3D surface:<br>
'''Note:''' For more information on navigating within the 3D map view, please refer to <u>[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].</u>▼
<br>
[[File:3d mapview DEM.png|400px]]<br>▼
<br>
[[File: qgis_3d_animation_configure_dem_04a.png]]<br>
▲'''Note:''' For more information on navigating within the 3D map view, please refer to <u>[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].</u>
<br>
</ol>
Line 70 ⟶ 66:
<li>In the QGIS Layers panel, right click the results layer and select 'Properties...'<br>
<br>
[[File:
<br>
<li>In the 3D View tab, enable the following settings (leave all other settings as default):
Line 79 ⟶ 75:
* Click OK <br>
<br>
[[File:
<br>
<li> Open the 3D Map View to view the 3D
<br>
'''Note:''' The "2D Contour Color 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 depth results in the 3D map view reflects the depth map output symbology.▼
<br>
▲'''Note:''' The "2D Contour Color Ramp Shader" rendering style option sets the symbology of the results to replicate the
</ol>
==Create a 3D Animation==
A 3D animation is based on a set of keyframes (camera positions at certain times). To create 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]. ▼
<ol>
<li>In the 3D Map View, toggle on the 'Animations' tool [[File: QGIS_3D_Animation_animation_button_01.png|20px]]. This opens the following widget:<br>
<br>
[[File: QGIS_3D_Animation_player_widget_01.png]]<br>
<br>
<li>Click 'Add Keyframe' [[File: QGIS_3D_Animation_add_keyframe_button_01.png]] and enter a time in seconds. This will add the time to the Keyframe dropdown box:<br>
<br>
[[File: QGIS_3D_Animation_keyframe_dropdown_box_01.png]]<br>
<br>
<li>Use the navigation tools to move the 3D map to the desired position for the current keyframe time.
<li>Repeat steps 2 and 3 to add as many keyframes as required. QGIS will generate scenes using the 3D map's positions/rotations at set times, and it will interpolate them in between the keyframes.
<li>To preview the animation, click 'Play', or use the timeslider.
▲
=Additional Resources=
The Qgis2threejs plugin can also be used to create a 3D map view and animation. For more details, see <u>[https://minorua.github.io/Qgis2threejs/docs/ Qgis2threejs Plugin Document]</u>
<br>
| |||