diff --git a/main.cpp b/main.cpp index 46adc98c..adf479a3 100644 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,7 @@ #include #include #include +#include #include "BattleFireDirect.h" #include "StaticMeshComponent.h" #include "stbi/stb_image.h" @@ -17,12 +18,7 @@ LPCWSTR gWindowClassName = L"BattleFire"; void RunNanoVDBTest() { ID3D12GraphicsCommandList* commandList = GetCommandList(); const char* vdbFiles[] = { - "Res/NanoVDB/sphere2.nvdb", - "Res/NanoVDB/bunny.nvdb", - "Res/NanoVDB/torus_knot_helix.nvdb", - "Res/NanoVDB/boat_points.nvdb", - "Res/NanoVDB/explosion.nvdb", - "Res/NanoVDB/nano_wdas_cloud_half.nvdb" + "Res/NanoVDB/bunny.nvdb" }; for (int i = 0; i < sizeof(vdbFiles) / sizeof(vdbFiles[0]); i++) { @@ -102,13 +98,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi StaticMeshComponent staticMeshComponent; staticMeshComponent.InitFromFile(commandList, "Res/Model/Sphere.lhsm"); - bool runTest = false; - for (int i = 0; i < __argc; i++) { - if (strcmp(__argv[i], "-test") == 0) { - runTest = true; - break; - } - } + bool runTest = false; // set to true to run NanoVDB test if (runTest) { RunNanoVDBTest(); }