Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
FROL256 committed Nov 8, 2018
1 parent e383521 commit 1ee9074
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand All @@ -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,
Expand Down
9 changes: 5 additions & 4 deletions hydra_app/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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).
Expand Down

0 comments on commit 1ee9074

Please sign in to comment.