Skip to content

GPUOpen-LibrariesAndSDKs/WorkGraphsMeshNodeSample

Repository files navigation

Work Graphs Mesh Node Sample

This sample shows fully GPU-driven rendering through work graphs and mesh nodes in action. If you wish to learn more about this sample, work graphs or mesh nodes, you can check out our accompanying blog post on GPUOpen.

Building the sample

Prerequisites

To build the Work Graphs Mesh Node Sample, you must first install the following tools:

You will also need a mesh node compatible driver. Information on driver availability can be found here.

Getting up and running

Clone the repository

git clone https://github.com/GPUOpen-LibrariesAndSDKs/WorkGraphsMeshNodeSample.git

Inside the cloned repository, run

cmake -B build .

This will download the FidelityFX SDK, Agility SDK and Direct X Shader Compiler and put them all together with the sample project.
You can find the scripts for this in the imported folder.

Open the generated Visual Studio project with

cmake --open build

Build & run the MeshNodeSample project.

Controls

Key Action
Left Mouse + Drag Rotates the camera view direction.
Mouse wheel Increase/Decrease camera movement speed.
A Strafe the camera to the left.
W Move the camera forward.
S Strafe the camera to the right.
D Move the camera backward.
Q Move the camera upwards.
E Move the camera downwards.
F1 Toggles the main UI on/off.
F2 Toggles the performance UI on/off.
F3 Toggles the message log UI on/off. (Defaults to on in debug and off in release)
M Toggles magnifying glass.
L Toggles magnifying glass lock when enabled.
ESC Shutsdown and quits sample.
Alt-Enter Toggles fullscreen mode.