I got a new ue4 project going, and I was able to add the UE4 Plugin, create a VoxelActor and texture it, then run and jump around a bit on the new terrain! Every time something didn't seem right, I was able to refer to the tutorial and see where I messed up, so thank you for making the tutorial detailed for these parts!
Since my world is not flat, I think I need to implement IVoxelLayer. I found all the C++ example projects, and I think I'll have an ok copying the example layers, but I'm struggling to get Visual Studio to recognize the code in the VoxelFarmPlugin. I'm trying to create a new class in my unreal project that inherits from VoxelFarm::IVoxelLayer. I know I'm definitely missing a step - I'm not all that familiar with Visual Studio, as I come from a Java/Eclipse background. I would definitely appreciate a pointer here.
Once I've got a VoxelLayer, how do I get my VoxelActor to include it?
EDIT: I didn't think I had changed anything, but now my main unreal project won't compile Here's the buildlog.
1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
2>------ Build started: Project: Shoggoth, Configuration: Development_Editor x64 ------
2>Creating makefile for hot reloading ShoggothEditor (game project files are newer)
2>Compiling game modules for hot reload
2>Parsing headers for ShoggothEditor
2> Running UnrealHeaderTool "C:\Users\tim\Documents\Unreal Projects\Shoggoth\Shoggoth.uproject" "C:\Users\tim\Documents\Unreal Projects\Shoggoth\Intermediate\Build\Win64\ShoggothEditor\Development\ShoggothEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
2>Reflection code generated for ShoggothEditor in 6.7177152 seconds
2>Performing 6 actions (4 in parallel)
2>[2/6] Resource PCLaunch.rc
2>C:\Users\tim\Documents\Unreal Projects\Shoggoth\Plugins\VoxelFarmPlugin\Source\VoxelFarmPlugin\Public/VoxelFarmWorldActor.h(285): error C4596: 'ContourThreadJob': illegal qualified name in member declaration
2>C:\Users\tim\Documents\Unreal Projects\Shoggoth\Plugins\VoxelFarmPlugin\Source\VoxelFarmPlugin\Public\VoxelFarmWorldActor.h(285): error C4596: 'ContourThreadJob': illegal qualified name in member declaration
2>ERROR : UBT error : Failed to produce item: C:\Users\tim\Documents\Unreal Projects\Shoggoth\Plugins\VoxelFarmPlugin\Binaries\Win64\UE4Editor-VoxelFarmPlugin-552.dll
2>Total build time: 74.57 seconds (Local executor: 0.00 seconds)
2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""C:\Program Files\Epic Games\UE_4.18\Engine\Build\BatchFiles\Build.bat" ShoggothEditor Win64 Development "C:\Users\tim\Documents\Unreal Projects\Shoggoth\Shoggoth.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
2>Done building project "Shoggoth.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I suspect that I've got that add the voxel stuff to my Classpath somehow, but I'm not sure how to do that in VS/C++. Sorry!