From 1ee9074485f36a5ff50497aaaf175656217eb70a Mon Sep 17 00:00:00 2001 From: FROL256 Date: Thu, 8 Nov 2018 12:08:24 +0300 Subject: [PATCH] edit --- .vscode/launch.json | 6 +++--- hydra_app/input.cpp | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 4c891a1..53db449 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,8 +10,8 @@ "request": "launch", "program": "${workspaceFolder}/cmake-build-release/hydra_app/hydra", "args" : ["-nowindow", "0", - "-saveinterval", "60", - "-enable_mlt", "0"], + "-saveinterval", "1800", + "-enable_mlt", "1"], "stopAtEntry": false, "cwd" : "${workspaceFolder}/hydra_app", "environment": [], @@ -31,7 +31,7 @@ "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/cmake-build-debug/hydra_app/hydra", - "args": ["-nowindow", "1", + "args": ["-nowindow", "0", "-saveinterval", "300", "-enable_mlt", "0"], "stopAtEntry": false, diff --git a/hydra_app/input.cpp b/hydra_app/input.cpp index 2b362e1..54e500e 100644 --- a/hydra_app/input.cpp +++ b/hydra_app/input.cpp @@ -11,8 +11,8 @@ Input::Input() g_hydraApiDisableSceneLoadInfo = true; //noWindow = false; ///< run 'console_main', else run 'window_main' - //inLibraryPath = "tests/test_42"; ///< cornell box with teapot - inLibraryPath = "tests/test_223_small"; ///< cornell box with sphere + inLibraryPath = "tests/test_42"; ///< cornell box with teapot + //inLibraryPath = "tests/test_223_small"; ///< cornell box with sphere //inLibraryPath = "tests/test_224_gloss"; //inLibraryPath = "/media/frol/886234F06234E49A/scenes/benchmark4"; ///< cornell box with mirror glossy back wall //inLibraryPath = "/media/frol/886234F06234E49A/scenes/phong_test/torspar1"; @@ -24,12 +24,13 @@ Input::Input() //inLibraryPath = "/home/frol/yandexdisk/Hydra/scenelib"; //inLibraryPath = "D:/[archive]/2017/HydraAPP/hydra_app/tests/hydra_benchmark_07"; - //inLibraryPath = "D:/[archive]/2017/HydraOldRepo/HydraAPP/hydra_app/tests/hydra_benchmark_07"; + //inLibraryPath = "D:/[archive]/2017/HydraOldRepo/HydraAPP/home/frol/hydra/rendered_images/a_3602.png/hydra_app/tests/hydra_benchmark_07"; //inLibraryPath = "C:/[Hydra]/pluginFiles/scenelib"; + //inLibraryPath = "/media/frol/6E0467C0046789C3/[Hydra]/pluginFiles/scenelib"; //inLibraryPath = "D:/temp/scenelib/"; - inDevelopment = true; ///< recompile shaders each time; note that nvidia have their own shader cache! + inDevelopment = false; ///< recompile shaders each time; note that nvidia have their own shader cache! inDeviceId = 0; ///< opencl device id cpuFB = true; ///< store frame buffer on CPU. Automaticly enabled if enableMLT = false; ///< if use MMLT, you MUST enable it early, when render process just started (here or via command line).