An animated 3D wind map using CUDA and OpenGL.
Based on the explanation in this article. The wind data image was taken from that article.
You need Qt6, GLM and the NVIDIA CUDA development toolkit.
$ cmake -B build -S .
$ cmake --build build --parallel
Add the path to lib/cmake
under the Qt installation directory to the CMAKE_PREFIX_PATH
environment variable.
On my system, nvcc was trying to use C++17. Try adding -DCMAKE_CUDA_FLAGS="-Xcompiler=-std=c++14"
to the first cmake command.
On Ubuntu 22.04, apparently the nvidia-cuda-toolkit
package isn't compatible with the drivers in nvidia-driver-515
. Try to remove the nvidia packages and install the 510 driver.