Brett 2023-07-17 22:30:27 -04:00
parent 9440d7b98f
commit d94bea7415
47 changed files with 624 additions and 199 deletions

View File

@ -439,7 +439,7 @@
{ {
"directoryIndex" : 0, "directoryIndex" : 0,
"id" : "parksnrec::@6890427a1f51a3e7e1df", "id" : "parksnrec::@6890427a1f51a3e7e1df",
"jsonFile" : "target-parksnrec-Debug-193b9c0e370adcf26028.json", "jsonFile" : "target-parksnrec-Debug-826078028c03a697aed8.json",
"name" : "parksnrec", "name" : "parksnrec",
"projectIndex" : 0 "projectIndex" : 0
}, },

View File

@ -26,7 +26,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-4fd774e771b62b1e2c4d.json", "jsonFile" : "codemodel-v2-fa57f1f41e8fc46ee961.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@ -86,7 +86,7 @@
}, },
"codemodel-v2" : "codemodel-v2" :
{ {
"jsonFile" : "codemodel-v2-4fd774e771b62b1e2c4d.json", "jsonFile" : "codemodel-v2-fa57f1f41e8fc46ee961.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {

View File

@ -216,7 +216,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -357,7 +358,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -375,6 +377,12 @@
"path" : "src/genetic/v2/genetic_program.cpp", "path" : "src/genetic/v2/genetic_program.cpp",
"sourceGroupIndex" : 0 "sourceGroupIndex" : 0
}, },
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/genetic/v3/v3_functions.cpp",
"sourceGroupIndex" : 0
},
{ {
"backtrace" : 1, "backtrace" : 1,
"compileGroupIndex" : 0, "compileGroupIndex" : 0,

View File

@ -63,6 +63,13 @@ build CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o: CXX_COMPILE
OBJECT_DIR = CMakeFiles/parksnrec.dir OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2 OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2
build CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o: CXX_COMPILER__parksnrec_unscanned_Debug /home/brett/git/parksandrec/src/genetic/v3/v3_functions.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o.d
FLAGS = -g -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic -fsanitize=address -fsanitize=undefined
INCLUDES = -I/home/brett/git/parksandrec/include -I/home/brett/git/parksandrec/libs/glfw/glfw-3.3.8/include -I/home/brett/git/parksandrec/libs/BLT/include -I/home/brett/git/parksandrec/cmake-build-debug-sanitizer/libs/BLT/config -I/home/brett/git/parksandrec/libs/assimp/code/../include -I/home/brett/git/parksandrec/cmake-build-debug-sanitizer/libs/assimp/code/../include
OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v3
build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_Debug /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_Debug /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d
FLAGS = -g -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic -fsanitize=address -fsanitize=undefined FLAGS = -g -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic -fsanitize=address -fsanitize=undefined
@ -197,7 +204,7 @@ build CMakeFiles/parksnrec.dir/src/perlin.cpp.o: CXX_COMPILER__parksnrec_unscann
############################################# #############################################
# Link the executable parksnrec # Link the executable parksnrec
build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_Debug CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_Debug CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a
FLAGS = -g FLAGS = -g
LINK_FLAGS = -rdynamic -fsanitize=address -fsanitize=undefined LINK_FLAGS = -rdynamic -fsanitize=address -fsanitize=undefined
LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt

View File

@ -439,7 +439,7 @@
{ {
"directoryIndex" : 0, "directoryIndex" : 0,
"id" : "parksnrec::@6890427a1f51a3e7e1df", "id" : "parksnrec::@6890427a1f51a3e7e1df",
"jsonFile" : "target-parksnrec-Debug-5c237f55fd759a7c4e95.json", "jsonFile" : "target-parksnrec-Debug-86a04cff1c35f38dcc5d.json",
"name" : "parksnrec", "name" : "parksnrec",
"projectIndex" : 0 "projectIndex" : 0
}, },

View File

@ -26,7 +26,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-b3b659b06009313ea7ad.json", "jsonFile" : "codemodel-v2-e3315aee972d77cb7bba.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@ -86,7 +86,7 @@
}, },
"codemodel-v2" : "codemodel-v2" :
{ {
"jsonFile" : "codemodel-v2-b3b659b06009313ea7ad.json", "jsonFile" : "codemodel-v2-e3315aee972d77cb7bba.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {

View File

@ -183,7 +183,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -314,7 +315,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -332,6 +334,12 @@
"path" : "src/genetic/v2/genetic_program.cpp", "path" : "src/genetic/v2/genetic_program.cpp",
"sourceGroupIndex" : 0 "sourceGroupIndex" : 0
}, },
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/genetic/v3/v3_functions.cpp",
"sourceGroupIndex" : 0
},
{ {
"backtrace" : 1, "backtrace" : 1,
"compileGroupIndex" : 0, "compileGroupIndex" : 0,

View File

@ -125,7 +125,7 @@
10 374 1689541493772218847 CMakeFiles/parksnrec.dir/src/perlin.cpp.o b08416a0bd711f31 10 374 1689541493772218847 CMakeFiles/parksnrec.dir/src/perlin.cpp.o b08416a0bd711f31
928 1286 1686606712638190004 libs/assimp/contrib/zlib/CMakeFiles/zlibstatic.dir/inffast.c.o a37f138f9c3022e2 928 1286 1686606712638190004 libs/assimp/contrib/zlib/CMakeFiles/zlibstatic.dir/inffast.c.o a37f138f9c3022e2
8282 9819 1686606721175882329 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/ProcessHelper.cpp.o 968c20d41aa6a93e 8282 9819 1686606721175882329 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/ProcessHelper.cpp.o 968c20d41aa6a93e
0 101 1689631740906331569 build.ninja cecb5cdd772e9591 0 101 1689644008208547404 build.ninja cecb5cdd772e9591
29378 30988 1686606742341758378 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXModel.cpp.o c831e8f6c7c686de 29378 30988 1686606742341758378 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXModel.cpp.o c831e8f6c7c686de
297 1836 1689541495232190496 libs/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o be8c3d03c418737e 297 1836 1689541495232190496 libs/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o be8c3d03c418737e
38809 41187 1686606752542983880 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXExportNode.cpp.o cc84c6ff512f4f88 38809 41187 1686606752542983880 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXExportNode.cpp.o cc84c6ff512f4f88

View File

@ -63,6 +63,13 @@ build CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o: CXX_COMPILE
OBJECT_DIR = CMakeFiles/parksnrec.dir OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2 OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2
build CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o: CXX_COMPILER__parksnrec_unscanned_Debug /home/brett/git/parksandrec/src/genetic/v3/v3_functions.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o.d
FLAGS = -g -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
INCLUDES = -I/home/brett/git/parksandrec/include -I/home/brett/git/parksandrec/libs/glfw/glfw-3.3.8/include -I/home/brett/git/parksandrec/libs/BLT/include -I/home/brett/git/parksandrec/cmake-build-debug/libs/BLT/config -I/home/brett/git/parksandrec/libs/assimp/code/../include -I/home/brett/git/parksandrec/cmake-build-debug/libs/assimp/code/../include
OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v3
build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_Debug /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_Debug /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d
FLAGS = -g -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic FLAGS = -g -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
@ -197,7 +204,7 @@ build CMakeFiles/parksnrec.dir/src/perlin.cpp.o: CXX_COMPILER__parksnrec_unscann
############################################# #############################################
# Link the executable parksnrec # Link the executable parksnrec
build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_Debug CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3d.a libs/BLT/libBLTd.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLTd.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3d.a build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_Debug CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3d.a libs/BLT/libBLTd.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLTd.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3d.a
FLAGS = -g FLAGS = -g
LINK_FLAGS = -rdynamic LINK_FLAGS = -rdynamic
LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3d.a libs/BLT/libBLTd.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3d.a libs/BLT/libBLTd.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt

View File

@ -439,7 +439,7 @@
{ {
"directoryIndex" : 0, "directoryIndex" : 0,
"id" : "parksnrec::@6890427a1f51a3e7e1df", "id" : "parksnrec::@6890427a1f51a3e7e1df",
"jsonFile" : "target-parksnrec-MinSizeRel-57b36a8fa30503ab5379.json", "jsonFile" : "target-parksnrec-MinSizeRel-932f8bdee0c78317926e.json",
"name" : "parksnrec", "name" : "parksnrec",
"projectIndex" : 0 "projectIndex" : 0
}, },

View File

@ -26,7 +26,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-95d287cddf6237f2971b.json", "jsonFile" : "codemodel-v2-92b0331cd0a60757fafb.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@ -86,7 +86,7 @@
}, },
"codemodel-v2" : "codemodel-v2" :
{ {
"jsonFile" : "codemodel-v2-95d287cddf6237f2971b.json", "jsonFile" : "codemodel-v2-92b0331cd0a60757fafb.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {

View File

@ -183,7 +183,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -314,7 +315,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -332,6 +334,12 @@
"path" : "src/genetic/v2/genetic_program.cpp", "path" : "src/genetic/v2/genetic_program.cpp",
"sourceGroupIndex" : 0 "sourceGroupIndex" : 0
}, },
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/genetic/v3/v3_functions.cpp",
"sourceGroupIndex" : 0
},
{ {
"backtrace" : 1, "backtrace" : 1,
"compileGroupIndex" : 0, "compileGroupIndex" : 0,

View File

@ -63,6 +63,13 @@ build CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o: CXX_COMPILE
OBJECT_DIR = CMakeFiles/parksnrec.dir OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2 OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2
build CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o: CXX_COMPILER__parksnrec_unscanned_MinSizeRel /home/brett/git/parksandrec/src/genetic/v3/v3_functions.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o.d
FLAGS = -Os -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
INCLUDES = -I/home/brett/git/parksandrec/include -I/home/brett/git/parksandrec/libs/glfw/glfw-3.3.8/include -I/home/brett/git/parksandrec/libs/BLT/include -I/home/brett/git/parksandrec/cmake-build-minsizerel/libs/BLT/config -I/home/brett/git/parksandrec/libs/assimp/code/../include -I/home/brett/git/parksandrec/cmake-build-minsizerel/libs/assimp/code/../include
OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v3
build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_MinSizeRel /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_MinSizeRel /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d
FLAGS = -Os -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic FLAGS = -Os -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
@ -197,7 +204,7 @@ build CMakeFiles/parksnrec.dir/src/perlin.cpp.o: CXX_COMPILER__parksnrec_unscann
############################################# #############################################
# Link the executable parksnrec # Link the executable parksnrec
build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_MinSizeRel CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_MinSizeRel CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a
FLAGS = -Os -DNDEBUG FLAGS = -Os -DNDEBUG
LINK_FLAGS = -rdynamic LINK_FLAGS = -rdynamic
LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt

View File

@ -439,7 +439,7 @@
{ {
"directoryIndex" : 0, "directoryIndex" : 0,
"id" : "parksnrec::@6890427a1f51a3e7e1df", "id" : "parksnrec::@6890427a1f51a3e7e1df",
"jsonFile" : "target-parksnrec-Release-8877e02f5bbc9e521318.json", "jsonFile" : "target-parksnrec-Release-08282f941076db653b74.json",
"name" : "parksnrec", "name" : "parksnrec",
"projectIndex" : 0 "projectIndex" : 0
}, },

View File

@ -26,7 +26,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-5362fba8f59353f2c8ef.json", "jsonFile" : "codemodel-v2-54d715001d1602a727de.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@ -86,7 +86,7 @@
}, },
"codemodel-v2" : "codemodel-v2" :
{ {
"jsonFile" : "codemodel-v2-5362fba8f59353f2c8ef.json", "jsonFile" : "codemodel-v2-54d715001d1602a727de.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {

View File

@ -183,7 +183,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -314,7 +315,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -332,6 +334,12 @@
"path" : "src/genetic/v2/genetic_program.cpp", "path" : "src/genetic/v2/genetic_program.cpp",
"sourceGroupIndex" : 0 "sourceGroupIndex" : 0
}, },
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/genetic/v3/v3_functions.cpp",
"sourceGroupIndex" : 0
},
{ {
"backtrace" : 1, "backtrace" : 1,
"compileGroupIndex" : 0, "compileGroupIndex" : 0,

View File

@ -63,6 +63,13 @@ build CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o: CXX_COMPILE
OBJECT_DIR = CMakeFiles/parksnrec.dir OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2 OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2
build CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o: CXX_COMPILER__parksnrec_unscanned_Release /home/brett/git/parksandrec/src/genetic/v3/v3_functions.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o.d
FLAGS = -O3 -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
INCLUDES = -I/home/brett/git/parksandrec/include -I/home/brett/git/parksandrec/libs/glfw/glfw-3.3.8/include -I/home/brett/git/parksandrec/libs/BLT/include -I/home/brett/git/parksandrec/cmake-build-release/libs/BLT/config -I/home/brett/git/parksandrec/libs/assimp/code/../include -I/home/brett/git/parksandrec/cmake-build-release/libs/assimp/code/../include
OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v3
build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_Release /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_Release /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d
FLAGS = -O3 -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic FLAGS = -O3 -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
@ -197,7 +204,7 @@ build CMakeFiles/parksnrec.dir/src/perlin.cpp.o: CXX_COMPILER__parksnrec_unscann
############################################# #############################################
# Link the executable parksnrec # Link the executable parksnrec
build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_Release CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_Release CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a
FLAGS = -O3 -DNDEBUG FLAGS = -O3 -DNDEBUG
LINK_FLAGS = -rdynamic LINK_FLAGS = -rdynamic
LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt

View File

@ -439,7 +439,7 @@
{ {
"directoryIndex" : 0, "directoryIndex" : 0,
"id" : "parksnrec::@6890427a1f51a3e7e1df", "id" : "parksnrec::@6890427a1f51a3e7e1df",
"jsonFile" : "target-parksnrec-RelWithDebInfo-28713ef23989264cdb2a.json", "jsonFile" : "target-parksnrec-RelWithDebInfo-ef69fe0a1e8f73a604e9.json",
"name" : "parksnrec", "name" : "parksnrec",
"projectIndex" : 0 "projectIndex" : 0
}, },

View File

@ -26,7 +26,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-b231240d45d2a0f6e3a6.json", "jsonFile" : "codemodel-v2-367a3e196986a2066eeb.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@ -86,7 +86,7 @@
}, },
"codemodel-v2" : "codemodel-v2" :
{ {
"jsonFile" : "codemodel-v2-b231240d45d2a0f6e3a6.json", "jsonFile" : "codemodel-v2-367a3e196986a2066eeb.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {

View File

@ -183,7 +183,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -314,7 +315,8 @@
16, 16,
17, 17,
18, 18,
19 19,
20
] ]
} }
], ],
@ -332,6 +334,12 @@
"path" : "src/genetic/v2/genetic_program.cpp", "path" : "src/genetic/v2/genetic_program.cpp",
"sourceGroupIndex" : 0 "sourceGroupIndex" : 0
}, },
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "src/genetic/v3/v3_functions.cpp",
"sourceGroupIndex" : 0
},
{ {
"backtrace" : 1, "backtrace" : 1,
"compileGroupIndex" : 0, "compileGroupIndex" : 0,

View File

@ -29,7 +29,7 @@
53467 57227 1689112233313381871 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/MMD/MMDPmxParser.cpp.o b9810e96cd98d561 53467 57227 1689112233313381871 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/MMD/MMDPmxParser.cpp.o b9810e96cd98d561
46398 49941 1689112226027480843 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/Raw/RawLoader.cpp.o 6f9e36ee512a7a9c 46398 49941 1689112226027480843 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/Raw/RawLoader.cpp.o 6f9e36ee512a7a9c
2966 3109 1689112179193236306 libs/glfw/glfw-3.3.8/src/CMakeFiles/glfw.dir/posix_time.c.o 7aa06d28b727ed43 2966 3109 1689112179193236306 libs/glfw/glfw-3.3.8/src/CMakeFiles/glfw.dir/posix_time.c.o 7aa06d28b727ed43
3422 3574 1689629100089446594 parksnrec 73f5327ec08a5e2d 1275 1428 1689641153918697844 parksnrec de34d850636a7acf
24207 28376 1689112204459938425 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/MD5/MD5Loader.cpp.o 4fe672238267dc49 24207 28376 1689112204459938425 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/MD5/MD5Loader.cpp.o 4fe672238267dc49
5232 5842 1689112181926188464 libs/assimp/code/CMakeFiles/assimp.dir/Common/DefaultIOStream.cpp.o 90a5cb9db7e46c7 5232 5842 1689112181926188464 libs/assimp/code/CMakeFiles/assimp.dir/Common/DefaultIOStream.cpp.o 90a5cb9db7e46c7
2990 3122 1689112179206567769 libs/glfw/glfw-3.3.8/src/CMakeFiles/glfw.dir/posix_thread.c.o e053775c0f071049 2990 3122 1689112179206567769 libs/glfw/glfw-3.3.8/src/CMakeFiles/glfw.dir/posix_thread.c.o e053775c0f071049
@ -61,7 +61,7 @@
8392 9054 1689112185142414584 libs/assimp/code/CMakeFiles/assimp.dir/Common/material.cpp.o 8857e24829a22c46 8392 9054 1689112185142414584 libs/assimp/code/CMakeFiles/assimp.dir/Common/material.cpp.o 8857e24829a22c46
5433 7149 1689112183232675178 libs/assimp/code/CMakeFiles/assimp.dir/Common/ZipArchiveIOSystem.cpp.o 89e9c11f8ff8646f 5433 7149 1689112183232675178 libs/assimp/code/CMakeFiles/assimp.dir/Common/ZipArchiveIOSystem.cpp.o 89e9c11f8ff8646f
6 6415 1689545828502574102 CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o 332e2ea208a6ec74 6 6415 1689545828502574102 CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o 332e2ea208a6ec74
7 972 1689627773776677057 CMakeFiles/parksnrec.dir/src/parks/main.cpp.o 6390d2c60c8af1e3 5 1275 1689641153765366301 CMakeFiles/parksnrec.dir/src/parks/main.cpp.o 6390d2c60c8af1e3
62140 65978 1689112242062501320 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/clipper/clipper.cpp.o df8e1743f6ab87d7 62140 65978 1689112242062501320 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/clipper/clipper.cpp.o df8e1743f6ab87d7
22169 24326 1689112200410434519 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/LWO/LWOAnimation.cpp.o f616270e94e28b3a 22169 24326 1689112200410434519 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/LWO/LWOAnimation.cpp.o f616270e94e28b3a
23290 23310 1689112199397227147 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/M3D/M3DWrapper.cpp.o b38d56fdf35446f5 23290 23310 1689112199397227147 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/M3D/M3DWrapper.cpp.o b38d56fdf35446f5
@ -75,7 +75,7 @@
8855 10275 1689112186362249748 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/ComputeUVMappingProcess.cpp.o c32eebe6c1d4d781 8855 10275 1689112186362249748 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/ComputeUVMappingProcess.cpp.o c32eebe6c1d4d781
42171 45124 1689112221211337456 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXProperties.cpp.o 70e965e455d961dd 42171 45124 1689112221211337456 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXProperties.cpp.o 70e965e455d961dd
41921 54432 1689112230517005499 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXConverter.cpp.o af46b599d8b20ec6 41921 54432 1689112230517005499 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXConverter.cpp.o af46b599d8b20ec6
4 3421 1689629099936114247 CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o 875432a17ebda434 6 3674 1689640837515727527 CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o 875432a17ebda434
4247 5231 1689112181316273038 libs/assimp/code/CMakeFiles/assimp.dir/Common/Compression.cpp.o dc1728dda5d286fc 4247 5231 1689112181316273038 libs/assimp/code/CMakeFiles/assimp.dir/Common/Compression.cpp.o dc1728dda5d286fc
61055 61603 1689112237689602961 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/poly2tri/poly2tri/sweep/advancing_front.cc.o 39bab8031ad370cf 61055 61603 1689112237689602961 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/poly2tri/poly2tri/sweep/advancing_front.cc.o 39bab8031ad370cf
8751 9194 1689112185282395635 libs/assimp/code/CMakeFiles/assimp.dir/Common/AssertHandler.cpp.o f36e56fdbaa781ab 8751 9194 1689112185282395635 libs/assimp/code/CMakeFiles/assimp.dir/Common/AssertHandler.cpp.o f36e56fdbaa781ab
@ -122,7 +122,7 @@
639 957 1689545823049331164 CMakeFiles/parksnrec.dir/src/perlin.cpp.o a6d956e657d6d510 639 957 1689545823049331164 CMakeFiles/parksnrec.dir/src/perlin.cpp.o a6d956e657d6d510
3987 4246 1689112180333076604 libs/assimp/contrib/zlib/CMakeFiles/zlibstatic.dir/inffast.c.o 8d397fe8008de2d8 3987 4246 1689112180333076604 libs/assimp/contrib/zlib/CMakeFiles/zlibstatic.dir/inffast.c.o 8d397fe8008de2d8
13443 15317 1689112191404914088 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/ProcessHelper.cpp.o c49acb6e199439cf 13443 15317 1689112191404914088 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/ProcessHelper.cpp.o c49acb6e199439cf
1 136 1689631740919664834 build.ninja b6cf2e37e5f2e5f2 1 136 1689644008205213843 build.ninja b6cf2e37e5f2e5f2
43621 45700 1689112221784607775 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXModel.cpp.o 545fb0431100ef15 43621 45700 1689112221784607775 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXModel.cpp.o 545fb0431100ef15
5 1517 1689112255881190816 libs/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o c2a4d47fc325acbd 5 1517 1689112255881190816 libs/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o c2a4d47fc325acbd
56903 61409 1689112237492956102 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXExportNode.cpp.o e44229b8abbd65f8 56903 61409 1689112237492956102 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXExportNode.cpp.o e44229b8abbd65f8
@ -165,6 +165,7 @@
63462 65953 1689112242042503283 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/zip/src/zip.c.o 7d6284b6542015ff 63462 65953 1689112242042503283 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/zip/src/zip.c.o 7d6284b6542015ff
30659 33800 1689112209885958215 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/Q3BSP/Q3BSPFileImporter.cpp.o 83ac3c1eaa7c2ca4 30659 33800 1689112209885958215 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/Q3BSP/Q3BSPFileImporter.cpp.o 83ac3c1eaa7c2ca4
10168 11945 1689112188032025913 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/FindInstancesProcess.cpp.o accd08630ac5ca8e 10168 11945 1689112188032025913 libs/assimp/code/CMakeFiles/assimp.dir/PostProcessing/FindInstancesProcess.cpp.o accd08630ac5ca8e
5 1234 1689640874765292109 CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o 2e67f68409dce158
57228 62631 1689112238716166610 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/X3D/X3DExporter.cpp.o 215d62513f9b196 57228 62631 1689112238716166610 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/X3D/X3DExporter.cpp.o 215d62513f9b196
60782 60883 1689112236969675494 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/unzip/crypt.c.o 718c47de4573f2dc 60782 60883 1689112236969675494 libs/assimp/code/CMakeFiles/assimp.dir/__/contrib/unzip/crypt.c.o 718c47de4573f2dc
48941 51098 1689112227184023955 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/X3D/X3DImporter_Networking.cpp.o 6ddd7e6ba3e1beba 48941 51098 1689112227184023955 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/X3D/X3DImporter_Networking.cpp.o 6ddd7e6ba3e1beba
@ -240,6 +241,7 @@
3053 3357 1689112179443201223 libs/glfw/glfw-3.3.8/src/CMakeFiles/glfw.dir/glx_context.c.o b55d181e9284c6b 3053 3357 1689112179443201223 libs/glfw/glfw-3.3.8/src/CMakeFiles/glfw.dir/glx_context.c.o b55d181e9284c6b
3375 3526 1689112179613177367 libs/assimp/contrib/zlib/CMakeFiles/zlibstatic.dir/crc32.c.o 48af8809762dbdb 3375 3526 1689112179613177367 libs/assimp/contrib/zlib/CMakeFiles/zlibstatic.dir/crc32.c.o 48af8809762dbdb
42902 45985 1689112222071242975 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXMaterial.cpp.o 83dff2e40e5ea2e0 42902 45985 1689112222071242975 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/FBX/FBXMaterial.cpp.o 83dff2e40e5ea2e0
4 1174 1689640874705292810 CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o 853a9c6bfb0feec5
57485 69713 1689112245798804308 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/glTF/glTFExporter.cpp.o e5dae778eeb47d59 57485 69713 1689112245798804308 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/glTF/glTFExporter.cpp.o e5dae778eeb47d59
36396 45093 1689112221178007786 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/IFC/IFCGeometry.cpp.o 240d09af70a334ae 36396 45093 1689112221178007786 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/IFC/IFCGeometry.cpp.o 240d09af70a334ae
15768 21564 1689112197650779352 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/AC/ACLoader.cpp.o 1562a647d3452312 15768 21564 1689112197650779352 libs/assimp/code/CMakeFiles/assimp.dir/AssetLib/AC/ACLoader.cpp.o 1562a647d3452312

View File

@ -1,3 +1,3 @@
Start testing: Jul 17 18:09 EDT Start testing: Jul 17 21:33 EDT
---------------------------------------------------------- ----------------------------------------------------------
End testing: Jul 17 18:09 EDT End testing: Jul 17 21:33 EDT

View File

@ -63,6 +63,13 @@ build CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o: CXX_COMPILE
OBJECT_DIR = CMakeFiles/parksnrec.dir OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2 OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v2
build CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o: CXX_COMPILER__parksnrec_unscanned_RelWithDebInfo /home/brett/git/parksandrec/src/genetic/v3/v3_functions.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o.d
FLAGS = -O2 -g -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
INCLUDES = -I/home/brett/git/parksandrec/include -I/home/brett/git/parksandrec/libs/glfw/glfw-3.3.8/include -I/home/brett/git/parksandrec/libs/BLT/include -I/home/brett/git/parksandrec/cmake-build-relwithdebinfo/libs/BLT/config -I/home/brett/git/parksandrec/libs/assimp/code/../include -I/home/brett/git/parksandrec/cmake-build-relwithdebinfo/libs/assimp/code/../include
OBJECT_DIR = CMakeFiles/parksnrec.dir
OBJECT_FILE_DIR = CMakeFiles/parksnrec.dir/src/genetic/v3
build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_RelWithDebInfo /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec build CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o: CXX_COMPILER__parksnrec_unscanned_RelWithDebInfo /home/brett/git/parksandrec/src/imgui/ImNodes.cpp || cmake_object_order_depends_target_parksnrec
DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d DEP_FILE = CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o.d
FLAGS = -O2 -g -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic FLAGS = -O2 -g -DNDEBUG -std=gnu++20 -fdiagnostics-color=always -Wall -Wextra -Wpedantic
@ -197,7 +204,7 @@ build CMakeFiles/parksnrec.dir/src/perlin.cpp.o: CXX_COMPILER__parksnrec_unscann
############################################# #############################################
# Link the executable parksnrec # Link the executable parksnrec
build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_RelWithDebInfo CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a build parksnrec: CXX_EXECUTABLE_LINKER__parksnrec_RelWithDebInfo CMakeFiles/parksnrec.dir/src/genetic/v2/functions.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v2/genetic_program.cpp.o CMakeFiles/parksnrec.dir/src/genetic/v3/v3_functions.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodes.cpp.o CMakeFiles/parksnrec.dir/src/imgui/ImNodesEz.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_demo.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_draw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_glfw.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_impl_opengl3.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_spectrum.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_tables.cpp.o CMakeFiles/parksnrec.dir/src/imgui/imgui_widgets.cpp.o CMakeFiles/parksnrec.dir/src/parks/app.cpp.o CMakeFiles/parksnrec.dir/src/parks/main.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/OpenGL.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/engine.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/player.cpp.o CMakeFiles/parksnrec.dir/src/parks/renderer/resources.cpp.o CMakeFiles/parksnrec.dir/src/parks/window.cpp.o CMakeFiles/parksnrec.dir/src/perlin.cpp.o | libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a libs/assimp/lib/libassimp.a /usr/lib/librt.a /usr/lib/libm.so /usr/lib/libX11.so /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a || libs/BLT/libBLT.a libs/assimp/contrib/zlib/libzlibstatic.a libs/assimp/lib/libassimp.a libs/glfw/glfw-3.3.8/src/libglfw3.a
FLAGS = -O2 -g -DNDEBUG FLAGS = -O2 -g -DNDEBUG
LINK_FLAGS = -rdynamic LINK_FLAGS = -rdynamic
LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt LINK_LIBRARIES = libs/glfw/glfw-3.3.8/src/libglfw3.a libs/BLT/libBLT.a -lOpenGL libs/assimp/lib/libassimp.a -Wl,-Bstatic -lrt -Wl,-Bdynamic -lm -ldl -lX11 /usr/lib/libz.so libs/assimp/contrib/zlib/libzlibstatic.a -lrt

Binary file not shown.

View File

@ -31,6 +31,19 @@ namespace parks {
inline static bool chance(double bound = 0.5){ inline static bool chance(double bound = 0.5){
return randomDouble(0, 1) < bound; return randomDouble(0, 1) < bound;
} }
inline static double fast_fmod(double d, double div){
auto reciprocal = 1.0f / div;
return d - div * (int)(d * reciprocal);
}
class floatMod {
public:
double operator()(double x, double y){
return fast_fmod(x, y);
}
};
} }
#endif //PARKSNREC_UTIL_H #endif //PARKSNREC_UTIL_H

View File

@ -14,7 +14,7 @@ namespace parks::genetic {
namespace funcs { namespace funcs {
Parameter add(const std::vector<Parameter>& params) { static Parameter add(const std::vector<Parameter>& params) {
auto p1Type = params[0].getType(); auto p1Type = params[0].getType();
auto p2Type = params[1].getType(); auto p2Type = params[1].getType();
@ -24,7 +24,7 @@ namespace parks::genetic {
params[0].apply(std::plus(), params[1]); params[0].apply(std::plus(), params[1]);
} }
Parameter sub(const std::vector<Parameter>& params) { static Parameter sub(const std::vector<Parameter>& params) {
auto p1Type = params[0].getType(); auto p1Type = params[0].getType();
auto p2Type = params[1].getType(); auto p2Type = params[1].getType();
@ -34,7 +34,7 @@ namespace parks::genetic {
params[0].apply(std::minus(), params[1]); params[0].apply(std::minus(), params[1]);
} }
Parameter multiply(const std::vector<Parameter>& params) { static Parameter multiply(const std::vector<Parameter>& params) {
auto p1Type = params[0].getType(); auto p1Type = params[0].getType();
auto p2Type = params[1].getType(); auto p2Type = params[1].getType();
@ -44,7 +44,7 @@ namespace parks::genetic {
params[0].apply(std::multiplies(), params[1]); params[0].apply(std::multiplies(), params[1]);
} }
Parameter divide(const std::vector<Parameter>& params) { static Parameter divide(const std::vector<Parameter>& params) {
auto p1Type = params[0].getType(); auto p1Type = params[0].getType();
auto p2Type = params[1].getType(); auto p2Type = params[1].getType();
@ -54,15 +54,6 @@ namespace parks::genetic {
params[0].apply(std::divides(), params[1]); params[0].apply(std::divides(), params[1]);
} }
Parameter divide(const std::vector<Parameter>& params) {
auto p1Type = params[0].getType();
auto p2Type = params[1].getType();
if (p2Type == ParameterType::IMAGE && p1Type != ParameterType::IMAGE)
params[1].apply(std::modulus(), params[0]);
else
params[0].apply(std::modulus(), params[1]);
}
} }
} }

View File

@ -2,17 +2,17 @@
// Created by brett on 7/17/23. // Created by brett on 7/17/23.
// //
#ifndef PARKSNREC_UTIL_H #ifndef PARKSNREC_V2UTIL_H
#define PARKSNREC_UTIL_H #define PARKSNREC_V2UTIL_H
namespace parks { namespace parks {
enum class ParameterType { enum class ParameterType {
SCALAR, COLOR, VARIABLE, IMAGE SCALAR, COLOR, VARIABLE, IMAGE
}; };
struct Image { struct Image {
std::shared_ptr<double> image; std::shared_ptr<double> image;
unsigned int width, height; unsigned int width, height;
@ -30,17 +30,20 @@ struct Image {
auto b = image.get()[pos + 2]; auto b = image.get()[pos + 2];
return blt::vec3d{r, g, b}; return blt::vec3d{r, g, b};
} }
}; };
struct Parameter { struct Parameter {
private: private:
ParameterType type; ParameterType type;
std::variant<double, blt::vec3d, unsigned int, Image> value; std::variant<double, blt::vec3d, unsigned int, Image> value;
public: public:
explicit Parameter(double s): value(s) {type = ParameterType::SCALAR;} explicit Parameter(double s): value(s) { type = ParameterType::SCALAR; }
explicit Parameter(blt::vec3d c): value(c) {type = ParameterType::COLOR;}
explicit Parameter(unsigned int v): value(v) {type = ParameterType::VARIABLE;} explicit Parameter(blt::vec3d c): value(c) { type = ParameterType::COLOR; }
explicit Parameter(Image&& i): value(i) {type = ParameterType::IMAGE;}
explicit Parameter(unsigned int v): value(v) { type = ParameterType::VARIABLE; }
explicit Parameter(Image&& i): value(i) { type = ParameterType::IMAGE; }
[[nodiscard]] ParameterType getType() const { [[nodiscard]] ParameterType getType() const {
return type; return type;
@ -62,17 +65,24 @@ struct Parameter {
return Parameter{f(get<double>(), scalar)}; return Parameter{f(get<double>(), scalar)};
else if (type == ParameterType::COLOR) { else if (type == ParameterType::COLOR) {
auto color = get<blt::vec3d>(); auto color = get<blt::vec3d>();
return Parameter{blt::vec3d{f(color.x(), scalar), f(color.y(), scalar), f(color.z(), scalar)}}; return Parameter{blt::vec3d{f(color.x(), scalar), f(color.y(), scalar),
} else if (type == ParameterType::VARIABLE){ f(color.z(), scalar)}};
return Parameter{f((double)get<unsigned int>(), scalar)}; } else if (type == ParameterType::VARIABLE) {
} else if (type == ParameterType::IMAGE){ return Parameter{f((double) get<unsigned int>(), scalar)};
} else if (type == ParameterType::IMAGE) {
auto image = get<Image>(); auto image = get<Image>();
auto newImage = Image{std::shared_ptr<double>(new double[image.width * image.height * CHANNELS]), image.width, image.height}; auto newImage = Image{std::shared_ptr<double>(
new double[image.width * image.height * CHANNELS]
), image.width, image.height};
for (unsigned int i = 0; i < image.width; i++){ for (unsigned int i = 0; i < image.width; i++) {
for (unsigned int j = 0; j < image.height; j++){ for (unsigned int j = 0; j < image.height; j++) {
auto oldColor = image.read(i, j); auto oldColor = image.read(i, j);
newImage.write(i, j, blt::vec3d{f(oldColor.x(), scalar), f(oldColor.y(), scalar), f(oldColor.z(), scalar)}); newImage.write(
i, j, blt::vec3d{f(oldColor.x(), scalar),
f(oldColor.y(), scalar),
f(oldColor.z(), scalar)}
);
} }
} }
@ -83,20 +93,32 @@ struct Parameter {
template<typename Op> template<typename Op>
Parameter apply(Op f, const blt::vec3d& color) const { Parameter apply(Op f, const blt::vec3d& color) const {
if (type == ParameterType::SCALAR) if (type == ParameterType::SCALAR)
return Parameter{blt::vec3d{f(get<double>(), color.x()), f(get<double>(), color.y()), f(get<double>(), color.z())}}; return Parameter{
blt::vec3d{f(get<double>(), color.x()), f(get<double>(), color.y()),
f(get<double>(), color.z())}};
else if (type == ParameterType::COLOR) { else if (type == ParameterType::COLOR) {
auto ourColor = get<blt::vec3d>(); auto ourColor = get<blt::vec3d>();
return Parameter{blt::vec3d{f(ourColor.x(), color.x()), f(ourColor.y(), color.y()), f(ourColor.z(), color.z())}}; return Parameter{
} else if (type == ParameterType::VARIABLE){ blt::vec3d{f(ourColor.x(), color.x()), f(ourColor.y(), color.y()),
return Parameter{blt::vec3d{f(get<unsigned int>(), color.x()), f(get<unsigned int>(), color.y()), f(get<unsigned int>(), color.z())}}; f(ourColor.z(), color.z())}};
} else if (type == ParameterType::IMAGE){ } else if (type == ParameterType::VARIABLE) {
return Parameter{blt::vec3d{f(get<unsigned int>(), color.x()),
f(get<unsigned int>(), color.y()),
f(get<unsigned int>(), color.z())}};
} else if (type == ParameterType::IMAGE) {
auto image = get<Image>(); auto image = get<Image>();
auto newImage = Image{std::shared_ptr<double>(new double[image.width * image.height * CHANNELS]), image.width, image.height}; auto newImage = Image{std::shared_ptr<double>(
new double[image.width * image.height * CHANNELS]
), image.width, image.height};
for (unsigned int i = 0; i < image.width; i++){ for (unsigned int i = 0; i < image.width; i++) {
for (unsigned int j = 0; j < image.height; j++){ for (unsigned int j = 0; j < image.height; j++) {
auto oldColor = image.read(i, j); auto oldColor = image.read(i, j);
newImage.write(i, j, blt::vec3d{f(oldColor.x(), color.x()), f(oldColor.y(), color.y()), f(oldColor.z(), color.z())}); newImage.write(
i, j, blt::vec3d{f(oldColor.x(), color.x()),
f(oldColor.y(), color.y()),
f(oldColor.z(), color.z())}
);
} }
} }
@ -110,17 +132,25 @@ struct Parameter {
return Parameter{f(get<double>(), (double) variable)}; return Parameter{f(get<double>(), (double) variable)};
else if (type == ParameterType::COLOR) { else if (type == ParameterType::COLOR) {
auto color = get<blt::vec3d>(); auto color = get<blt::vec3d>();
return Parameter{blt::vec3d{f(color.x(), (double) variable), f(color.y(), (double)variable), f(color.z(), (double)variable)}}; return Parameter{blt::vec3d{f(color.x(), (double) variable),
} else if (type == ParameterType::VARIABLE){ f(color.y(), (double) variable),
f(color.z(), (double) variable)}};
} else if (type == ParameterType::VARIABLE) {
return Parameter{f(get<unsigned int>(), variable)}; return Parameter{f(get<unsigned int>(), variable)};
} else if (type == ParameterType::IMAGE){ } else if (type == ParameterType::IMAGE) {
auto image = get<Image>(); auto image = get<Image>();
auto newImage = Image{std::shared_ptr<double>(new double[image.width * image.height * CHANNELS]), image.width, image.height}; auto newImage = Image{std::shared_ptr<double>(
new double[image.width * image.height * CHANNELS]
), image.width, image.height};
for (unsigned int i = 0; i < image.width; i++){ for (unsigned int i = 0; i < image.width; i++) {
for (unsigned int j = 0; j < image.height; j++){ for (unsigned int j = 0; j < image.height; j++) {
auto oldColor = image.read(i, j); auto oldColor = image.read(i, j);
newImage.write(i, j, blt::vec3d{f(oldColor.x(), (double)variable), f(oldColor.y(), (double)variable), f(oldColor.z(), (double)variable)}); newImage.write(
i, j, blt::vec3d{f(oldColor.x(), (double) variable),
f(oldColor.y(), (double) variable),
f(oldColor.z(), (double) variable)}
);
} }
} }
@ -130,19 +160,25 @@ struct Parameter {
template<typename Op> template<typename Op>
Parameter apply(Op f, const Image& image) const { Parameter apply(Op f, const Image& image) const {
if (type == ParameterType::IMAGE){ if (type == ParameterType::IMAGE) {
auto ourImage = get<Image>(); auto ourImage = get<Image>();
if (ourImage.width != image.width || ourImage.height != image.height){ if (ourImage.width != image.width || ourImage.height != image.height) {
BLT_ERROR("Unable to apply to images of differing sizes!"); BLT_ERROR("Unable to apply to images of differing sizes!");
throw std::runtime_error("Unable to apply to images of differing sizes!"); throw std::runtime_error("Unable to apply to images of differing sizes!");
} }
auto newImage = Image{std::shared_ptr<double>(new double[ourImage.width * ourImage.height * CHANNELS]), ourImage.width, ourImage.height}; auto newImage = Image{std::shared_ptr<double>(
new double[ourImage.width * ourImage.height * CHANNELS]
), ourImage.width, ourImage.height};
for (unsigned int i = 0; i < ourImage.width; i++){ for (unsigned int i = 0; i < ourImage.width; i++) {
for (unsigned int j = 0; j < ourImage.height; j++){ for (unsigned int j = 0; j < ourImage.height; j++) {
auto oldColor = ourImage.read(i, j); auto oldColor = ourImage.read(i, j);
auto newColor = image.read(i, j); auto newColor = image.read(i, j);
newImage.write(i, j, blt::vec3d{f(oldColor.x(), (double)newColor.x()), f(oldColor.y(), (double)newColor.y()), f(oldColor.z(), (double)newColor.z())}); newImage.write(
i, j, blt::vec3d{f(oldColor.x(), (double) newColor.x()),
f(oldColor.y(), (double) newColor.y()),
f(oldColor.z(), (double) newColor.z())}
);
} }
} }
@ -163,7 +199,7 @@ struct Parameter {
else else
return apply(f, param.get<Image>()); return apply(f, param.get<Image>());
} }
}; };
} }

View File

@ -0,0 +1,110 @@
//
// Created by brett on 7/17/23.
//
#ifndef PARKSNREC_ARGUMENTS_H
#define PARKSNREC_ARGUMENTS_H
#include <genetic/util.h>
namespace parks::genetic {
constexpr double d = 0.4;
constexpr double m = 0.2;
struct Color {
double r, g, b;
explicit Color(double _r, double _g, double _b) {
r = _r;
g = _g;
b = _b;
if (r < 0)
r = std::abs(r);
if (g < 0)
g = std::abs(g);
if (b < 0)
b = std::abs(b);
if (r > 1)
r = r - trunc(r);
if (g > 1)
g = g - trunc(g);
if (b > 1)
b = b - trunc(b);
}
explicit Color(double v): Color(v, v, v) {}
};
inline Color normalize(Color c) {
auto mag = std::sqrt(c.r * c.r + c.g * c.g + c.b * c.b);
if (mag == 0)
return c;
return Color{c.r / mag, c.g / mag, c.b / mag};
}
struct RandomScalar {
inline static Color get() {
return Color{randomDouble(0, 1)};
}
inline static Color get(Color s) {
return Color{s.r + randomDouble(-d, d)};
}
inline static Color get(Color s1, Color s2) {
auto min = std::min(s1.r, s2.r);
auto max = std::max(s1.r, s2.r);
if (min == max)
return Color{min};
return Color{randomDouble(min, max)};
}
};
struct RandomColor {
inline static Color get() {
return normalize(Color{randomDouble(0, 1), randomDouble(0, 1), randomDouble(0, 1)});
}
inline static Color get(Color color) {
return normalize(
Color{color.r + randomDouble(-d, d), color.g + randomDouble(-d, d), color.b +
randomDouble(
-d, d
)}
);
}
inline static Color get(Color p1, Color p2) {
auto minR = std::min(p1.r, p2.r);
auto maxR = std::max(p1.r, p2.r);
auto minG = std::min(p1.g, p2.g);
auto maxG = std::max(p1.g, p2.g);
auto minB = std::min(p1.b, p2.b);
auto maxB = std::max(p1.b, p2.b);
return normalize(
Color{randomDouble(minR, maxR), randomDouble(minG, maxG), randomDouble(minB, maxB)}
);
}
};
struct OperatorArguments {
int numberOfArgs;
Color left, right;
};
class ParameterSet {
private:
std::vector<Color> parameters;
public:
ParameterSet() = default;
const inline Color& operator[](int index){return parameters[index];}
inline size_t size(){return parameters.size();}
void add(Color c) {parameters.push_back(c);}
};
}
#endif //PARKSNREC_ARGUMENTS_H

View File

@ -0,0 +1,126 @@
//
// Created by brett on 7/17/23.
//
#ifndef PARKSNREC_V3_FUNCTIONS_H
#define PARKSNREC_V3_FUNCTIONS_H
#include <functional>
#include <utility>
#include <genetic/util.h>
#include <genetic/v3/arguments.h>
namespace parks::genetic {
inline const ParameterSet EMPTY_SET;
constexpr unsigned char ARGS_SINGLE = 0b00000001;
constexpr unsigned char ARGS_BOTH = 0b00000010;
constexpr unsigned char ARGS_DONT_CARE = 0b01000000;
constexpr unsigned char ARGS_NONE = 0b10000000;
constexpr unsigned char ARGS_VARIABLES = 0b00000100;
constexpr unsigned char ARGS_SCALARS = 0b00001000;
constexpr unsigned char ARGS_COLORS = 0b00010000;
constexpr unsigned char ARGS_FUNCS = 0b00100000;
Color add(OperatorArguments args, const ParameterSet& params);
Color subtract(OperatorArguments args, const ParameterSet& params);
Color multiply(OperatorArguments args, const ParameterSet& params);
Color divide(OperatorArguments args, const ParameterSet& params);
Color mod(OperatorArguments args, const ParameterSet& params);
Color round(OperatorArguments args, const ParameterSet& params);
Color min(OperatorArguments args, const ParameterSet& params);
Color max(OperatorArguments args, const ParameterSet& params);
Color abs(OperatorArguments args, const ParameterSet& params);
Color log(OperatorArguments args, const ParameterSet& params);
Color sin(OperatorArguments args, const ParameterSet& params);
Color cos(OperatorArguments args, const ParameterSet& params);
Color atan(OperatorArguments args, const ParameterSet& params);
Color noise(OperatorArguments args, const ParameterSet& params);
Color colorNoise(OperatorArguments args, const ParameterSet& params);
enum class FunctionID {
ADD, SUBTRACT, MULTIPLY, DIVIDE, MOD, ROUND, MIN, MAX, ABS, LOG, SIN, COS, ATAN, NOISE, COLOR_NOISE
};
class Function {
private:
std::function<Color(OperatorArguments, ParameterSet)> func;
unsigned int requiredScalars;
unsigned int requiredColors;
unsigned char acceptsArgs;
public:
Function(std::function<Color(OperatorArguments, ParameterSet)> func, unsigned int requiredScalars, unsigned int requiredColors, unsigned int acceptsArgs): func(std::move(func)), requiredScalars(requiredScalars), requiredColors(requiredColors), acceptsArgs(acceptsArgs) {
}
// in the case of single argument, it is provided to the left side!
[[nodiscard]] inline bool singleArgument() const {
return acceptsArgs & ARGS_SINGLE;
}
[[nodiscard]] inline bool bothArgument() const {
return acceptsArgs & ARGS_BOTH;
}
[[nodiscard]] inline bool dontCareArgument() const {
return acceptsArgs & ARGS_DONT_CARE;
}
[[nodiscard]] inline bool allowsArgument() const {
return acceptsArgs & ARGS_NONE;
}
[[nodiscard]] inline bool allowedVariables() const {
return acceptsArgs & ARGS_VARIABLES;
}
[[nodiscard]] inline bool allowedScalars() const {
return acceptsArgs & ARGS_SCALARS;
}
[[nodiscard]] inline bool allowedColors() const {
return acceptsArgs & ARGS_COLORS;
}
[[nodiscard]] inline bool allowedFuncs() const {
return acceptsArgs & ARGS_FUNCS;
}
[[nodiscard]] ParameterSet generateRandomParameters() const {
ParameterSet set;
for (unsigned int i = 0; i < requiredScalars; i++)
set.add(RandomScalar::get());
for (unsigned int i = 0; i < requiredColors; i++)
set.add(RandomColor::get());
return set;
}
inline Color call(OperatorArguments args, const ParameterSet& set){
return func(args, set);
}
};
std::unordered_map<FunctionID, Function> functions = {
{FunctionID::ADD, Function{parks::genetic::add, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::SUBTRACT, Function{parks::genetic::subtract, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::MULTIPLY, Function{parks::genetic::multiply, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::DIVIDE, Function{parks::genetic::divide, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::MOD, Function{parks::genetic::mod, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::ROUND, Function{parks::genetic::round, 0, 0, ARGS_SINGLE | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::MIN, Function{parks::genetic::min, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::MAX, Function{parks::genetic::max, 0, 0, ARGS_BOTH | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::ABS, Function{parks::genetic::abs, 0, 0, ARGS_SINGLE | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::LOG, Function{parks::genetic::log, 0, 0, ARGS_SINGLE | ARGS_SCALARS | ARGS_COLORS | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::SIN, Function{parks::genetic::sin, 0, 0, ARGS_SINGLE | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::COS, Function{parks::genetic::cos, 0, 0, ARGS_SINGLE | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::ATAN, Function{parks::genetic::atan, 0, 0, ARGS_SINGLE | ARGS_VARIABLES | ARGS_FUNCS}},
{FunctionID::NOISE, Function{parks::genetic::noise, 3, 0, ARGS_NONE}},
{FunctionID::COLOR_NOISE, Function{parks::genetic::colorNoise, 3, 0, ARGS_NONE}},
};
}
#endif //PARKSNREC_V3_FUNCTIONS_H

View File

@ -0,0 +1,72 @@
//
// Created by brett on 7/17/23.
//
#include <genetic/v3/v3_functions.h>
namespace parks::genetic {
template<typename T>
inline Color applyFunc(T op, Color left, Color right) {
return Color(op(left.r, right.r), op(left.g, right.g), op(left.b, right.b));
}
Color add(OperatorArguments args, const ParameterSet& params) {
return applyFunc(std::plus(), args.left, args.right);
}
Color subtract(OperatorArguments args, const ParameterSet& params) {
return applyFunc(std::minus(), args.left, args.right);
}
Color multiply(OperatorArguments args, const ParameterSet& params) {
return applyFunc(std::multiplies(), args.left, args.right);
}
Color divide(OperatorArguments args, const ParameterSet& params) {
return applyFunc(std::divides(), args.left, args.right);
}
Color mod(OperatorArguments args, const ParameterSet& params) {
return applyFunc(floatMod(), args.left, args.right);
}
Color round(OperatorArguments args, const ParameterSet& params) {
return Color(std::round(args.left.r), std::round(args.left.g), std::round(args.left.b));
}
Color min(OperatorArguments args, const ParameterSet& params) {
return Color(std::min(args.left.r, args.right.r), std::min(args.left.g, args.right.g), std::min(args.left.b, args.right.b));
}
Color max(OperatorArguments args, const ParameterSet& params) {
return Color(std::max(args.left.r, args.right.r), std::max(args.left.g, args.right.g), std::max(args.left.b, args.right.b));
}
Color abs(OperatorArguments args, const ParameterSet& params) {
return Color(std::abs(args.left.r), std::abs(args.left.g), std::abs(args.left.b));
}
Color log(OperatorArguments args, const ParameterSet& params) {
return Color(0, 0, 0);
}
Color sin(OperatorArguments args, const ParameterSet& params) {
return Color(0, 0, 0);
}
Color cos(OperatorArguments args, const ParameterSet& params) {
return Color(0, 0, 0);
}
Color atan(OperatorArguments args, const ParameterSet& params) {
return Color(0, 0, 0);
}
Color noise(OperatorArguments args, const ParameterSet& params) {
return Color(0, 0, 0);
}
Color colorNoise(OperatorArguments args, const ParameterSet& params) {
return Color(0, 0, 0);
}
}

View File

@ -3,11 +3,11 @@
#include <parks/window.h> #include <parks/window.h>
#include <blt/std/logging.h> #include <blt/std/logging.h>
#include "parks/renderer/engine.h" #include "parks/renderer/engine.h"
#include <genetic/util.h>
using namespace parks; using namespace parks;
int main(){ int main(){
Settings settings; Settings settings;
settings.setProperty(Properties::WINDOW_WIDTH, new Properties::Value<int>(1440)); settings.setProperty(Properties::WINDOW_WIDTH, new Properties::Value<int>(1440));
settings.setProperty(Properties::WINDOW_HEIGHT, new Properties::Value<int>(720)); settings.setProperty(Properties::WINDOW_HEIGHT, new Properties::Value<int>(720));