Project DIVA
Description coming soon.
Please download the tmax.nc file or mslp.2002.nc into the root directory to run this project. You can toggle between them by commenting/uncommenting the block of code in Source/DynamicTextureSample/MyStaticMeshActor.cpp
- Microsoft Visual Studio (2015 or 2017) with all C++ libraries
- Git
- Unreal v4.19
- Python 3.6.4 64-bit
- Windows SDK v8.1 (https://developer.microsoft.com/en-us/windows/downloads/sdk-archive)
- Clone Repository
- Download latest netcdf4 library for c here: https://drive.google.com/drive/folders/1CQn-5Ej8iMF-Iit61bFJ_QtGMvo2s-2W
- Copy entire folder into Thirdparty/netCDF
- Download mslp.2002.nc (https://drive.google.com/open?id=1RqXCXicaGLiIxn3OmC15g8GA5G51wTa0) and move mslp.2002.nc to project root directory
- Download and extract chesapeake and florida raw data (https://drive.google.com/drive/folders/1RXNpJHktfyJaZ5AatHntpm2fX_enN-jS)
- Right-click Unreal Engine Project (DynamicTextureSample.uproject) --> Generate Visual Studio project files. If option is not showing up:
- Navigate to C:\Program Files (x86)\Epic Games\Launcher\Engine\Binaries\Win64, copy the UnrealVersionSelector.exe file
- Navigate to C:\Program Files\Epic Games\UE_4.19\Engine\Binaries\Win64, paste UnrealVersionSelector.exe
- Double click on UnrealVersionSelector.exe, select Yes to register directory as Unreal Engine installation
- Open DynamicTextureSample.sln with Visual Studio
- Update paths
- MyStaticMeshActor.cpp PROG_NAME and FILE_NAME
- MyStaticMeshActor2.cpp FILE_NAME and FIRST_FILE_NAME
- Start Debugger
- Unreal Engine will start automatically
- VC++ Include and library directories contain /include and /libs for Python3.6
- Mode: Development Editor
- Make sure our project is set as a start up project (right click -> set startup project)
- Build order: UE4 then our project, our project depends on UE4
- Delete the line
#include <Python.h>
- Rebuild and let it break
- Put the line back
- Build again, et voila