From 683d94a8d7b892caf55253e3ed9a528cc11a67c2 Mon Sep 17 00:00:00 2001 From: ink-soul Date: Fri, 19 Apr 2024 18:08:16 +0800 Subject: [PATCH] fix config file type conversion --- base/camera.hpp | 11 ++++--- base/renderConfig.cpp | 43 ++++++++++++++++++++++++-- base/renderConfig.h | 17 ++++++---- base/vulkanexamplebase.cpp | 15 ++++++++- base/vulkanexamplebase.h | 1 + data/config/config.toml | 4 ++- data/config/fangshai_traj1_matrix.toml | 34 ++++++++++++++++++++ data/config/guanzi.toml | 34 ++++++++++++++++++++ src/render/render.cpp | 15 ++++----- 9 files changed, 152 insertions(+), 22 deletions(-) create mode 100644 data/config/fangshai_traj1_matrix.toml create mode 100644 data/config/guanzi.toml diff --git a/base/camera.hpp b/base/camera.hpp index f7c3a2c..f6880f7 100644 --- a/base/camera.hpp +++ b/base/camera.hpp @@ -22,13 +22,13 @@ private: void updateViewMatrix() { - glm::mat4 rotM = glm::mat4(1.0f); + glm::mat4 rotM = glm::mat4(rotationMatrix); glm::mat4 transM; - + /* rotM = glm::rotate(rotM, glm::radians(rotation.x * (flipY ? -1.0f : 1.0f)), glm::vec3(1.0f, 0.0f, 0.0f)); rotM = glm::rotate(rotM, glm::radians(rotation.y), glm::vec3(0.0f, 1.0f, 0.0f)); rotM = glm::rotate(rotM, glm::radians(rotation.z), glm::vec3(0.0f, 0.0f, 1.0f)); - + */ glm::vec3 translation = position; if (flipY) { translation.y *= -1.0f; @@ -58,6 +58,7 @@ public: float rotationSpeed = 1.0f; float movementSpeed = 1.0f; + glm::mat3 rotationMatrix = glm::mat3(); bool updated = false; bool flipY = false; @@ -114,9 +115,9 @@ public: updateViewMatrix(); } - void setRotation(glm::vec3 rotation) + void setRotation(glm::mat3 rotaionMatrix) { - this->rotation = rotation; + rotaionMatrix = rotaionMatrix; updateViewMatrix(); } diff --git a/base/renderConfig.cpp b/base/renderConfig.cpp index 25d6954..b7aee86 100644 --- a/base/renderConfig.cpp +++ b/base/renderConfig.cpp @@ -2,7 +2,7 @@ -void PlumageConfig::PlumageConfiguration::readConfigurationFromToml(std::string configFilePath) +void PlumageConfig::PlumageConfiguration::readConfigurationFromToml(std::string configFilePath,Settings& settings) { auto config = toml::parse(configFilePath); @@ -17,12 +17,51 @@ void PlumageConfig::PlumageConfiguration::readConfigurationFromToml(std::string settings.startFrameIndex = toml::find(tomlSettings, "startFrameIndex"); settings.endFrameIndex = toml::find(tomlSettings, "endFrameIndex"); settings.videoFrameRate = toml::find(tomlSettings, "videoFrameRate"); + auto& camera = toml::find(tomlSettings, "camera"); + settings.fovX = toml::find(camera, "fovX"); + settings.fovY = toml::find(camera, "fovY"); + std::string cX = toml::find(camera, "cX"); + std::string cY = toml::find(camera, "cY"); + std::vector bottomCenter = toml::find>(camera, "bottomCenter"); + std::vector bottomNormal = toml::find>(camera, "bottomNormal"); + std::vector> cameraTracks = toml::find>>(camera, "cameraTracks"); + std::vector>> cameraAngle = toml::find>>>(camera, "cameraAngle"); + auto& debug = toml::find(tomlSettings, "debug"); + settings.validation = toml::find(debug, "validation"); + settings.vsync = toml::find(debug, "vsync"); + settings.headless = toml::find(debug, "headless"); + settings.outputPNGimage = toml::find(debug, "outputPNGimage"); + settings.debugMode = toml::find(debug, "debugMode"); + //settings.cleanUpImageSequece = toml::find_or(debug, "cleanUpImageSequece"); + + /* + conversion + */ + size_t sz; + settings.cX = std::stof(cX, &sz); + settings.cY = std::stof(cY, &sz); + settings.bottomCenter = glm::vec3(bottomCenter[0], bottomCenter[1], bottomCenter[2]); + settings.bottomNormal = glm::vec3(bottomNormal[0], bottomNormal[1], bottomNormal[2]); + auto cameraTracksAndAngleSize = std::min(cameraTracks.size(), cameraAngle.size()); + settings.cameraTracks.resize(cameraTracksAndAngleSize); + settings.cameraAngle.resize(cameraTracksAndAngleSize); - + for (uint64_t i = 0; i < cameraTracksAndAngleSize; i++) + { + settings.cameraTracks[i] = glm::vec3(cameraTracks[i][0], cameraTracks[i][1], cameraTracks[i][2]); + + settings.cameraAngle[i] = glm::mat3(glm::vec3(cameraAngle[i][0][0], cameraAngle[i][0][1], cameraAngle[i][0][2]), + glm::vec3(cameraAngle[i][1][0], cameraAngle[i][1][1], cameraAngle[i][1][2]), + glm::vec3(cameraAngle[i][2][0], cameraAngle[i][2][1], cameraAngle[i][2][2])); + + } } PlumageConfig::PlumageConfiguration::PlumageConfiguration() { + + readConfigurationFromToml(filePath.configFilePath, settings); + } PlumageConfig::PlumageConfiguration::~PlumageConfiguration() diff --git a/base/renderConfig.h b/base/renderConfig.h index a75df79..3814586 100644 --- a/base/renderConfig.h +++ b/base/renderConfig.h @@ -12,6 +12,7 @@ namespace PlumageConfig { + class PlumageConfiguration { public: @@ -44,13 +45,16 @@ namespace PlumageConfig float fovY = 1.f; float cX = 2.f; float cY = 0.f; - std::vector bottomCenter = { 0.f,0.f,-6.f }; - std::vector bottomNormal = { 0.f,1.0f,0.f }; - std::vector> cameraTracks = { {0.f,0.f,-6.f},{1.f,0.f,-3.f} }; - std::vector> cameraAngle = { {0.f,0.f,0.f},{45.f,0.f,0.f} }; + glm::vec3 bottomCenter = { 0.f,0.f,-6.f }; + //std::vector bottomCenter = { 0.f,0.f,-6.f }; + glm::vec3 bottomNormal = { 0.f,1.0f,0.f }; + std::vector cameraTracks = { {0.f,0.f,-6.f},{1.f,0.f,-3.f} }; + std::vector cameraAngle = { {{0.f,0.f,0.f},{45.f,0.f,0.f},{0.f,0.f,0.f}},{{0.f,0.f,0.f},{45.f,0.f,0.f},{0.f,0.f,0.f}} }; }settings; + + struct RenderSettings { uint32_t width = 1280; @@ -122,13 +126,14 @@ namespace PlumageConfig std::string hdr2ktxBatFilePath = getAssetPath() + "script/hdr2ktxBatFilePath.bat"; std::string hdr2ktxShFilePath = getAssetPath() + "script/hdr2ktxShFilePath.sh"; // 配置文件路径,命令行传入后保存在这 - std::string configFilePath = getAssetPath() + "config/config.toml"; + //std::string configFilePath = getAssetPath() + "config/guanzi.toml"; + std::string configFilePath = getAssetPath() + "config/fangshai_traj1_matrix.toml"; } filePath; void writrConfigurationToJson(); - void readConfigurationFromToml(std::string configFilePath); + void readConfigurationFromToml(std::string configFilePath,Settings& settings); void convertIntToVkSampleCount(uint32_t sampleCount); diff --git a/base/vulkanexamplebase.cpp b/base/vulkanexamplebase.cpp index 6210018..0016c8c 100644 --- a/base/vulkanexamplebase.cpp +++ b/base/vulkanexamplebase.cpp @@ -331,11 +331,24 @@ void VulkanExampleBase::renderFrame() void VulkanExampleBase::renderLoop() { + uint32_t currentFrame = 0; while (!signal.imageSequenceToVideoComplete) { + + camera.setPosition(settings.cameraTracks[currentFrame]); + camera.setRotation(settings.cameraAngle[currentFrame]); + renderFrame(); + if (currentFrame = settings.cameraTracks.size() ) + { + currentFrame = settings.cameraTracks.size()-1; + } + else + { + currentFrame++; + } } - renderingFrameIndex++; + // Flush device to make sure all resources can be freed vkDeviceWaitIdle(device); } diff --git a/base/vulkanexamplebase.h b/base/vulkanexamplebase.h index 7b8d9c0..e66dea5 100644 --- a/base/vulkanexamplebase.h +++ b/base/vulkanexamplebase.h @@ -89,6 +89,7 @@ public: PlumageConfig::PlumageConfiguration setter; PlumageConfig::PlumageConfiguration::Settings settings = setter.settings; PlumageConfig::PlumageConfiguration::FilePath filePath = setter.filePath; + uint32_t selectedPhysicalDeviceIndex = 0; bool prepared = false; diff --git a/data/config/config.toml b/data/config/config.toml index 787bf13..80c0e8a 100644 --- a/data/config/config.toml +++ b/data/config/config.toml @@ -24,12 +24,14 @@ vsync = false headless = false outputPNGimage = false debugMode = true +cleanUpImageSequence = true +configFilePath ="./data/config/config.toml" [FilePath] glTFModelFilePath ="./data/models/DamagedHelmet/DamagedHelmet.gltf" envMapFilePath ="./data/environments/metro_noord_4k_hdr16f_cube.ktx" imageOutputPath ="./data/output/imageSequence" videoOutputPath ="./data/output/video" -configFilePath ="./data/config/config.toml" + [FilePath.ui] uiVertShaderPath ="./data/shaders/ui.vert.spv" uiFragShaderPath ="./data/shaders/ui.frag.spv" diff --git a/data/config/fangshai_traj1_matrix.toml b/data/config/fangshai_traj1_matrix.toml new file mode 100644 index 0000000..3bfa6c6 --- /dev/null +++ b/data/config/fangshai_traj1_matrix.toml @@ -0,0 +1,34 @@ +[settings] +width = 1080 +height = 1920 +multiSampling = false +sampleCount = 4 +rotateModel = true +modelRotateSpeed = 2.0 +startFrameIndex = 1 +endFrameIndex = 200 +videoFrameRate = 24 +selectedPhysicalDeviceIndex = 7 + +[FilePath] +glTFModelFilePath = "./data/models/DamagedHelmet/DamagedHelmet.gltf" +envMapFilePath = "./data/environments/metro_noord_4k_hdr16f_cube.ktx" +imageOutputPath = "./data/output/imageSequence" +videoOutputPath = "./data/output/video" + +[settings.camera] +fovX = 0.5961564931569677 +fovY = 0.9983925732436035 +cX = "540.0" +cY = "960.0" +bottomCenter = [ 0.8016255414553656, 2.905418881244686, 0.9799775989969534,] +bottomNormal = [ -0.10217636823654175, -0.9432735443115234, -0.3159036636352539,] +cameraTracks = [ [ -8.805599879314176, 2.3198651469911074, 2.034065513410067,], [ -8.8379616677196, 2.4183084323341157, 1.7505856207119472,], [ -8.860931448898686, 2.5161144495921968, 1.4659708153649311,], [ -8.874486554450574, 2.613186676034579, 1.1805019778199337,], [ -8.878613607122622, 2.7094293130934366, 0.8944608313545418,], [ -8.873308534012102, 2.804747380905507, 0.6081296640461509,], [ -8.858576570585688, 2.899046812045748, 0.3217910501877128,], [ -8.834432255512668, 2.9922345443605347, 0.03572757142102678,], [ -8.800899416317042, 3.084218612808762, -0.2497784621372277,], [ -8.758011145862627, 3.1749082402202435, -0.5344452905014891,], [ -8.705809769694396, 3.2642139268818147, -0.817991981880404,], [ -8.644346804268283, 3.352047538862748, -1.1001387099225897,], [ -8.573682906110646, 3.438322394992297, -1.3806070298714554,], [ -8.493887811957613, 3.522953352403553, -1.6591201533565605,], [ -8.405040269933334, 3.6058568905591697, -1.935403221550325,], [ -8.307227961835089, 3.6869511936760535, -2.209183576420499,], [ -8.200547416601957, 3.766156231467661, -2.480191029810729,], [ -8.085103915052375, 3.843393838124233, -2.748158130083644,], [ -7.961011385984716, 3.9185877894530083, -3.012820426063337,], [ -7.828392293743295, 3.9916638781023006, -3.273916728016739,], [ -7.687377517360859, 4.062549986795197, -3.5311893654163646,], [ -7.538106221396773, 4.1311761595006, -3.784384441229998,], [ -7.380725718598415, 4.19747467047139, -4.0332520824864275,], [ -7.215391324521269, 4.261380091081552, -4.277546686869883,], [ -7.042266204251224, 4.322829354396342, -4.517027165099888,], [ -6.861521211380339, 4.381761817411725, -4.751457178857253,], [ -6.673334719394968, 4.438119320901708, -4.980605374021481,], [ -6.477892445642671, 4.491846246814471, -5.204245608989341,], [ -6.275387268051612, 4.542889573160668, -5.422157177849333,], [ -6.0660190347833245, 4.591198926339731, -5.634125028191774,], [ -5.849994367006711, 4.63672663085253, -5.839939973339566,], [ -5.627526454987895, 4.6794277563513385, -6.039398898790184,], [ -5.39883484769716, 4.7192601619806585, -6.2323049626651805,], [ -5.164145236140634, 4.756184537965159, -6.418467789969341,], [ -4.923689230630495, 4.7901644444036755, -6.597703660467827,], [ -4.6777041322135835, 4.821166347230998, -6.769835689995862,], [ -4.426432698483894, 4.849159651311941, -6.934694005022057,], [ -4.17012290401015, 4.874116730635049, -7.0921159102930655,], [ -3.909027695614838, 4.896012955576136, -7.241946049394167,], [ -3.6434047427462413, 4.914826717204746, -7.384036558067271,], [ -3.373516183189794, 4.930539448609567, -7.51824721013512,], [ -3.0996283643697335, 4.943135643221721, -7.644445555887567,], [ -2.8220115804963624, 4.952602870117885, -7.762507052793467,], [ -2.5409398058182764, 4.958931786288105, -7.872315188409114,], [ -2.2566904242428834, 4.962116145856217, -7.973761595361945,], [ -1.9695439555919538, 4.962152806243784, -8.06674615829608,], [ -1.6797837787624297, 4.959041731271426, -8.151177112674054,], [ -1.3876958520656744, 4.952785991194537, -8.22697113533738,], [ -1.0935684310211293, 4.943391759673308, -8.294053426736404,], [ -0.7976917838829382, 4.930868307680074, -8.352357784748465,], [ -0.5003579051802053, 4.915227994349974, -8.40182667001137,], [ -0.20186022755365218, 4.896486254783989, -8.442411262707818,], [ 0.09750666782696116, 4.8746615848163515, -8.47407151074466,], [ 0.39744734197890325, 4.849775522761397, -8.496776169279457,], [ 0.6976657896690567, 4.821852628157841, -8.510502831555415,], [ 0.9978657315353635, 4.790920457531488, -8.515237951014107,], [ 1.2977509064787838, 4.757009537200257, -8.510976854664301,], [ 1.597025364037221, 4.720153333148402, -8.497723747693643,], [ 1.8953937564529135, 4.680388217999616, -8.475491709318652,], [ 2.1925616301449935, 4.637753435121654, -8.444302679877097,], [ 2.4882357162996396, 4.592291059897856, -8.404187439175537,], [ 2.782124220290986, 4.544045958203827, -8.355185576113373,], [ 3.073937109647178, 4.49306574213024, -8.297345449613381,], [ 3.3633864002774243, 4.4394007229954395, -8.230724140897298,], [ 3.650186440677503, 4.3831038616942575, -8.15538739715353,], [ 3.934054193833328, 4.324230716431997, -8.071409566652642,], [ 4.214709516544307, 4.26283938789519, -7.978873525374575,], [ 4.491875435890853, 4.198990461913236, -7.877870595220051,], [ 4.765278422573217, 4.132746949667506, -7.768500453886909,], [ 5.03464866085188, 4.064174225506911, -7.650871036500221,], [ 5.299720314823127, 3.9933399624313135, -7.525098429093382,], [ 5.560231790766981, 3.9203140653064428, -7.391306754045188,], [ 5.815925995308618, 3.845168601876235, -7.249628047586045,], [ 6.066550589138487, 3.7679777316406784, -7.1002021294941535,], [ 6.311858236040744, 3.6888176326693305, -6.943176465110264,], [ 6.551606846984265, 3.6077664264227542, -6.778706019807177,], [ 6.785559819035241, 3.524904100656089, -6.606953106057653,], [ 7.013486268855735, 3.440312430480778, -6.428087223251585,], [ 7.235161260557678, 3.3540748976624055, -6.242284890420558,], [ 7.4503660276874, 3.2662766082342816, -6.049729472034898,], [ 7.658888189121736, 3.177004208508053, -5.850610997045041,], [ 7.860521958662535, 3.0863457995642634, -5.645125971345943,], [ 8.055068348122793, 2.9943908503072203, -5.433477183849465,], [ 8.242335363703994, 2.9012301091699806, -5.215873506356193,], [ 8.422138195470767, 2.8069555145566194, -4.992529687424208,], [ 8.594299399736032, 2.7116601041101047, -4.763666140438162,], [ 8.758649074176443, 2.615437922895396, -4.529508726087905,], [ 8.915025025505505, 2.5183839305883087, -4.290288529471233,], [ 9.063272929538758, 2.4205939077617757, -4.046241632040801,], [ 9.203246483493102, 2.3221643613619998, -3.797608878620239,], [ 9.334807550370003, 2.2231924294677277, -3.544635639719366,], [ 9.457826295280007, 2.1237757854267167, -3.2875715693831546,], [ 9.572181313574124, 2.024012541463919, -3.026670358813308,], [ 9.677759750655548, 1.9240011518565607, -2.7621894860056675,], [ 9.774457413353515, 1.8238403157716676, -2.4943899616505423,], [ 9.862178872749391, 1.7236288798618857, -2.2235360715466275,], [ 9.940837558353502, 1.6234657407157864, -1.9498951157828768,], [ 10.010355843539722, 1.5234497472588668, -1.6737371449455591,], [ 10.07066512215363, 1.4236796032015886, -1.3953346936109283,], [ 10.121705876218446, 1.324253769630746, -1.1149625113865276,], [ 10.163427734672148, 1.2252703678402401, -0.8328972917664533,], [ 10.195789523077572, 1.1268270824972304, -0.5494173990683315,], [ 10.218759304256658, 1.0290210652391498, -0.2648025937213168,], [ 10.232314409808545, 0.9319488387967668, 0.020666243823682873,], [ 10.236441462480594, 0.8357062017379111, 0.306707390289069,], [ 10.231136389370073, 0.7403881339258401, 0.5930385575974626,], [ 10.21640442594366, 0.6460887027855975, 0.8793771714559033,], [ 10.19226011087064, 0.552900970470812, 1.1654406502225876,], [ 10.158727271675014, 0.46091690202258373, 1.4509466837808442,], [ 10.115839001220598, 0.3702272746111043, 1.7356135121451002,], [ 10.063637625052369, 0.28092158794953226, 2.0191602035240175,], [ 10.002174659626254, 0.19308797596859884, 2.301306931566205,], [ 9.931510761468619, 0.10681311983904962, 2.581775251515069,], [ 9.851715667315583, 0.022182162427792917, 2.8602883750001773,], [ 9.762868125291305, -0.06072137572782221, 3.136571443193936,], [ 9.66505581719306, -0.14181567884470647, 3.4103517980641125,], [ 9.558375271959926, -0.22102071663631495, 3.681359251454344,], [ 9.442931770410347, -0.29825832329288604, 3.949326351727257,], [ 9.318839241342689, -0.373452274621662, 4.213988647706953,], [ 9.186220149101269, -0.44652836327095313, 4.475084949660351,], [ 9.045205372718831, -0.5174144719638502, 4.732357587059978,], [ 8.895934076754745, -0.5860406446692544, 4.985552662873615,], [ 8.738553573956388, -0.6523391556400431, 5.234420304130041,], [ 8.57321917987924, -0.7162445762502065, 5.478714908513501,], [ 8.400094059609199, -0.7776938395649943, 5.718195386743499,], [ 8.219349066738312, -0.836626302580378, 5.952625400500867,], [ 8.03116257475294, -0.8929838060703614, 6.1817735956650965,], [ 7.835720301000644, -0.9467107319831238, 6.405413830632955,], [ 7.633215123409583, -0.997754058329321, 6.623325399492948,], [ 7.423846890141298, -1.046063411508384, 6.835293249835389,], [ 7.207822222364686, -1.091591116021183, 7.041108194983178,], [ 6.985354310345864, -1.1342922415199927, 7.240567120433803,], [ 6.756662703055139, -1.1741246471493119, 7.4334731843087924,], [ 6.521973091498603, -1.2110490231338122, 7.619636011612958,], [ 6.281517085988469, -1.245028929572329, 7.798871882111441,], [ 6.0355319875715585, -1.2760308323996514, 7.9710039116394755,], [ 5.784260553841863, -1.3040241364805953, 8.135862226665676,], [ 5.527950759368126, -1.3289812158037027, 8.29328413193668,], [ 5.266855550972811, -1.3508774407447892, 8.443114271037782,], [ 5.001232598104215, -1.3696912023733996, 8.585204779710885,], [ 4.731344038547768, -1.3854039337782198, 8.719415431778732,], [ 4.4574562197277015, -1.3980001283903751, 8.845613777531184,], [ 4.179839435854338, -1.4074673552865384, 8.963675274437078,], [ 3.898767661176256, -1.4137962714567571, 9.073483410052724,], [ 3.614518279600857, -1.4169806310248707, 9.174929817005562,], [ 3.3273718109499275, -1.4170172914124362, 9.26791437993969,], [ 3.0376116341203967, -1.4139062164400784, 9.352345334317672,], [ 2.7455237074236414, -1.4076504763631896, 9.428139356980996,], [ 2.4513962863791092, -1.398256244841963, 9.49522164838002,], [ 2.1555196392409117, -1.3857327928487275, 9.553526006392081,], [ 1.8581857605381789, -1.3700924795186278, 9.602994891654983,], [ 1.5596880829116195, -1.3513507399526423, 9.643579484351436,], [ 1.2603211875310063, -1.3295260699850053, 9.675239732388272,], [ 0.960380513379077, -1.3046400079300515, 9.697944390923073,], [ 0.6601620656889172, -1.2767171133264952, 9.711671053199032,], [ 0.3599621238226104, -1.245784942700141, 9.71640617265772,], [ 0.06007694887918347, -1.2118740223689097, 9.712145076307914,], [ -0.23919750867925382, -1.1750178183170543, 9.698891969337256,], [ -0.5375659010949335, -1.1352527031682713, 9.676659930962268,], [ -0.8347337747870199, -1.0926179202903086, 9.64547090152071,], [ -1.130407860941666, -1.0471555450665102, 9.60535566081915,], [ -1.424296364933019, -0.9989104433724798, 9.556353797756985,], [ -1.7161092542892105, -0.9479302272988915, 9.498513671256994,], [ -2.0055585449194444, -0.8942652081640937, 9.431892362540914,], [ -2.292358585319529, -0.8379683468629108, 9.356555618797143,], [ -2.576226338475356, -0.7790952016006505, 9.272577788296257,], [ -2.8568816611863412, -0.7177038730638412, 9.180041747018185,], [ -3.1340475805328833, -0.6538549470818882, 9.079038816863664,], [ -3.407450567215236, -0.5876114348361621, 8.969668675530526,], [ -3.676820805493905, -0.5190387106755654, 8.852039258143837,], [ -3.9418924594651537, -0.4482044475999671, 8.726266650736997,], [ -4.2024039354090155, -0.3751785504750937, 8.592474975688798,], [ -4.458098139950646, -0.30003308704488874, 8.450796269229661,], [ -4.708722733780505, -0.22284221680933491, 8.301370351137772,], [ -4.954030380682774, -0.14368211783798268, 8.144344686753877,], [ -5.193778991626291, -0.06263091159140877, 7.979874241450792,], [ -5.427731963677269, 0.020231414175257534, 7.808121327701266,], [ -5.655658413497763, 0.10482308435056886, 7.629255444895198,], [ -5.877333405199698, 0.1910606171689384, 7.443453112064179,], [ -6.092538172329427, 0.2788589065970659, 7.25089769367851,], [ -6.301060333763763, 0.36813130632329305, 7.051779218688656,], [ -6.502694103304563, 0.458789715267084, 6.846294192989555,], [ -6.697240492764824, 0.5507446645241282, 6.634645405493076,], [ -6.884507508346015, 0.6439054056613629, 6.4170417279998135,], [ -7.064310340112797, 0.738180000274728, 6.193697909067822,], [ -7.236471544378058, 0.8334754107212414, 5.964834362081778,], [ -7.400821218818472, 0.9296975919359515, 5.730676947731517,], [ -7.5571971701475364, 1.0267515842430393, 5.491456751114846,], [ -7.705445074180781, 1.1245416070695675, 5.247409853684423,], [ -7.845418628135131, 1.2229711534693477, 4.998777100263852,], [ -7.976979695012029, 1.3219430853636183, 4.745803861362982,], [ -8.09999843992204, 1.4213597294046312, 4.488739791026767,], [ -8.214353458216156, 1.521122973367429, 4.227838580456921,], [ -8.319931895297572, 1.6211343629747823, 3.9633577076492914,], [ -8.416629557995543, 1.7212951990596799, 3.695558183294154,], [ -8.50435101739142, 1.8215066349694609, 3.424704293190243,], [ -8.58300970299553, 1.9216697741155615, 3.1510633374264883,], [ -8.65252798818175, 2.021685767572481, 2.874905366589171,], [ -8.712837266795656, 2.121455911629755, 2.596502915254552,], [ -8.763878020860476, 2.220881745200602, 2.3161307330301395,],] +cameraAngle = [ [ [ -0.12274069306043571, 0.10217636239393701, 0.9871649878490355,], [ 0.32709365836853155, 0.9432734903930913, -0.05696368120763505,], [ -0.9369869054165775, 0.3159036455781693, -0.14919928213060596,],], [ [ -0.0916725280712132, 0.10217636239392984, 0.9905332596965014,], [ 0.32514298504456524, 0.9432734903931128, -0.0672098325983884,], [ -0.9412110214363951, 0.3159036455781067, -0.1196941929966515,],], [ [ -0.06051389339519683, 0.10217636239392477, 0.9929239949130547,], [ 0.3228714348867724, 0.9432734903931345, -0.07738965599942775,], [ -0.944506275913671, 0.31590364557804396, -0.09007098017780271,],], [ [ -0.029295538832696137, 0.10217636239392183, 0.9943348341340799,], [ 0.32028124964067733, 0.943273490393156, -0.08749310515759993,], [ -0.9468694168327056, 0.31590364557798106, -0.06035887819892952,],], [ [ 0.001951726879842407, 0.10217636239392087, 0.9947643850330251,], [ 0.3173749855058369, 0.9432734903931772, -0.09751020919187106,], [ -0.9482981120604197, 0.31590364557791795, -0.030587209307566646,],], [ [ 0.03319706647424548, 0.1021763623939221, 0.9942122236954495,], [ 0.3141555106131857, 0.9432734903931982, -0.10743108243335164,], [ -0.9487909516478711, 0.31590364557785483, -0.0007853545364839465,],], [ [ 0.06440964458317998, 0.10217636239392529, 0.99267889503737,], [ 0.31062600219454434, 0.9432734903932191, -0.11724593418122742,], [ -0.9483474492216992, 0.31590364557779166, 0.029017275291756885,],], [ [ 0.09555865817084415, 0.10217636239393064, 0.9901659122675006,], [ 0.3067899434470866, 0.9432734903932396, -0.12694507836497035,], [ -0.9469680424641167, 0.3159036455777287, 0.058791268589643605,],], [ [ 0.12661336693175215, 0.10217636239393801, 0.9866757553939127,], [ 0.30265112009585715, 0.9432734903932599, -0.13651894310329185,], [ -0.9446540926809817, 0.3159036455776657, 0.08850724203031086,],], [ [ 0.15754312362761333, 0.10217636239394749, 0.982211868776587,], [ 0.29821361665773455, 0.9432734903932798, -0.14595808015040757,], [ -0.9414078834583701, 0.3159036455776029, 0.11813586954524838,],], [ [ 0.18831740433236746, 0.10217636239395901, 0.9767786577282788,], [ 0.29348181241052446, 0.9432734903932994, -0.15525317422028964,], [ -0.9372326184089803, 0.31590364557754036, 0.14764791126550486,],], [ [ 0.2189058385555299, 0.10217636239397263, 0.9703814841670444,], [ 0.288460377071162, 0.9432734903933189, -0.16439505217970646,], [ -0.9321324180105867, 0.3159036455774782, 0.177014242377826,],], [ [ 0.24927823921411726, 0.10217636239398811, 0.9630266613247225,], [ 0.2831542661872877, 0.9432734903933379, -0.17337469210097564,], [ -0.9261123155396692, 0.3159036455774164, 0.20620588186724978,],], [ [ 0.2794046324235777, 0.10217636239400572, 0.9547214475165907,], [ 0.2775687162467451, 0.9432734903933566, -0.18218323216549914,], [ -0.9191782521042255, 0.3159036455773549, 0.23519402111779458,],], [ [ 0.3092552870783253, 0.10217636239402526, 0.9454740389783464,], [ 0.27170923950982623, 0.9432734903933749, -0.19081197940929095,], [ -0.9113370707806714, 0.31590364557729406, 0.26395005234301605,],], [ [ 0.3388007441926865, 0.10217636239404689, 0.9352935617774786,], [ 0.2655816185693637, 0.9432734903933927, -0.19925241830186932,], [ -0.9025965098606126, 0.3159036455772337, 0.2924455968183735,],], [ [ 0.36801184597330433, 0.10217636239407038, 0.9241900628070161,], [ 0.2591919006440391, 0.9432734903934101, -0.2074962191500454,], [ -0.8929651952141535, 0.3159036455771739, 0.32065253288754764,],], [ [ 0.3968597645943097, 0.10217636239409593, 0.9121744998705344,], [ 0.25254639161053843, 0.9432734903934273, -0.21553524631831697,], [ -0.882452631777279, 0.31590364557711487, 0.3485430237150688,],], [ [ 0.42531603064686085, 0.10217636239412325, 0.8992587308682097,], [ 0.24565164978044376, 0.9432734903934437, -0.22336156625775153,], [ -0.8710691941717057, 0.31590364557705647, 0.37608954475786843,],], [ [ 0.45335256123497764, 0.10217636239415247, 0.8854555020945912,], [ 0.23851447942800266, 0.9432734903934599, -0.23096745533543947,], [ -0.8588261164664678, 0.3159036455769989, 0.40326491092864386,],], [ [ 0.48094168768994294, 0.10217636239418358, 0.8707784356596354,], [ 0.23114192407516218, 0.9432734903934755, -0.23834540745678698,], [ -0.8457354810913287, 0.31590364557694217, 0.43004230342422867,],], [ [ 0.5080561828759187, 0.10217636239421644, 0.8552420160454213,], [ 0.22354125954049472, 0.9432734903934905, -0.2454881414731279,], [ -0.8318102069129714, 0.3159036455768863, 0.4563952961924922,],], [ [ 0.5346692880598329, 0.10217636239425118, 0.8388615758118082,], [ 0.21571998675887352, 0.9432734903935053, -0.2523886083673452,], [ -0.8170640364857229, 0.31590364557683154, 0.48229788201165147,],], [ [ 0.5607547393190171, 0.10217636239428762, 0.8216532804651439,], [ 0.20768582437898625, 0.9432734903935195, -0.2590399982104077,], [ -0.8015115224894037, 0.31590364557677764, 0.5077244981562538,],], [ [ 0.5862867934605358, 0.10217636239432584, 0.8036341125049549,], [ 0.1994467011459891, 0.943273490393533, -0.2654357468819603,], [ -0.7851680133676775, 0.31590364557672485, 0.5326500516245065,],], [ [ 0.6112402534266247, 0.10217636239436569, 0.7848218546643632,], [ 0.1910107480768211, 0.9432734903935459, -0.27156954254833193,], [ -0.7680496381810803, 0.31590364557667316, 0.5570499439020519,],], [ [ 0.6355904931611731, 0.10217636239440722, 0.7652350723607638,], [ 0.18238629043589763, 0.9432734903935582, -0.2774353318915708,], [ -0.7501732906896706, 0.31590364557662265, 0.5809000952377529,],], [ [ 0.6593134819126983, 0.1021763623944503, 0.7448930953740891,], [ 0.17358183951910477, 0.9432734903935701, -0.2830273260833573,], [ -0.7315566126810129, 0.3159036455765733, 0.6041769684075297,],], [ [ 0.6823858079498405, 0.10217636239449494, 0.723815998770732,], [ 0.1646060842542006, 0.9432734903935814, -0.28834000649790015,], [ -0.712217976559945, 0.31590364557652534, 0.6268575919427942,],], [ [ 0.704784701665963, 0.10217636239454105, 0.7020245830919593,], [ 0.15546788262591274, 0.9432734903935921, -0.29336813015817753,], [ -0.6921764672173094, 0.31590364557647854, 0.6489195828005622,],], [ [ 0.7264880580500622, 0.10217636239458866, 0.6795403538263635,], [ 0.1461762529341956, 0.9432734903936021, -0.2981067349101478,], [ -0.671451863195544, 0.31590364557643313, 0.6703411684528646,],], [ [ 0.7474744585018084, 0.10217636239463776, 0.6563855001866112,], [ 0.13674036489427263, 0.9432734903936116, -0.3025511443198231,], [ -0.6500646171697159, 0.3159036455763892, 0.6911012083736635,],], [ [ 0.7677231919691885, 0.10217636239468819, 0.6325828732114314,], [ 0.12716953058724803, 0.9432734903936203, -0.30669697228837406,], [ -0.6280358357632624, 0.3159036455763467, 0.7111792149020629,],], [ [ 0.7872142753878878, 0.10217636239473991, 0.608155963214455,], [ 0.1174731952702171, 0.9432734903936285, -0.3105401273807087,], [ -0.605387258718358, 0.3159036455763056, 0.7305553734612262,],], [ [ 0.8059284734022438, 0.1021763623947929, 0.5831288766021597,], [ 0.10766092805494568, 0.9432734903936358, -0.3140768168632556,], [ -0.5821412374414621, 0.31590364557626605, 0.7492105621130472,],], [ [ 0.8238473173483026, 0.10217636239484716, 0.5575263120837993,], [ 0.09774241246431704, 0.9432734903936427, -0.31730355044696495,], [ -0.5583207129452216, 0.31590364557622813, 0.7671263704292719,],], [ [ 0.8409531234802506, 0.10217636239490258, 0.5313735362967899,], [ 0.08772743687586555, 0.943273490393649, -0.32021714373183346,], [ -0.5339491932084937, 0.3159036455761918, 0.784285117660453,],], [ [ 0.8572290104222255, 0.10217636239495909, 0.504696358871615,], [ 0.07762588486182874, 0.9432734903936545, -0.32281472134955436,], [ -0.5090507299768364, 0.31590364557615713, 0.8006698701847995,],], [ [ 0.8726589158282894, 0.10217636239501666, 0.4775211069608514,], [ 0.06744772543525074, 0.9432734903936592, -0.32509371980118934,], [ -0.48364989502635664, 0.31590364557612405, 0.8162644582197051,],], [ [ 0.8872276122341175, 0.10217636239507522, 0.44987459925745604,], [ 0.05720300321176336, 0.9432734903936634, -0.32705188998706364,], [ -0.4577717559143436, 0.31590364557609274, 0.8310534917794601,],], [ [ 0.9009207220847629, 0.10217636239513472, 0.4217841195279495,], [ 0.04690182849675289, 0.9432734903936668, -0.32868729942638486,], [ -0.431441851240617, 0.31590364557606315, 0.8450223758633982,],], [ [ 0.9137247319236583, 0.10217636239519509, 0.3932773896866236,], [ 0.03655436730769693, 0.9432734903936698, -0.3299983341643978,], [ -0.40468616544400504, 0.3159036455760353, 0.8581573248594911,],], [ [ 0.9256270057288595, 0.10217636239525632, 0.36438254243733903,], [ 0.026170831341517656, 0.9432734903936718, -0.33098370036518937,], [ -0.37753110315882554, 0.31590364557600925, 0.8704453761491685,],], [ [ 0.9366157973833622, 0.10217636239531827, 0.3351280935099135,], [ 0.01576146789685143, 0.9432734903936731, -0.33164242558857504,], [ -0.350003463156674, 0.31590364557598505, 0.8818744028999466,],], [ [ 0.9466802622671874, 0.10217636239538094, 0.305542913518506,], [ 0.005336549761183271, 0.9432734903936739, -0.33197385974980326,], [ -0.3221304118992429, 0.3159036455759627, 0.8924331260332287,],], [ [ 0.9558104679597956, 0.1021763623954443, 0.2756561994697584,], [ -0.005093634927177462, 0.9432734903936739, -0.3319776757611336,], [ -0.29393945672826066, 0.31590364557594225, 0.9021111253554767,],], [ [ 0.9639974040422649, 0.10217636239550816, 0.24549744594882464,], [ -0.015518792832271096, 0.9432734903936733, -0.3316538698546514,], [ -0.2654584187190214, 0.3159036455759236, 0.9108988498417582,],], [ [ 0.9712329909895581, 0.10217636239557254, 0.21509641601171692,], [ -0.025928635578793564, 0.9432734903936718, -0.331002761586005,], [ -0.2367154052242884, 0.31590364557590683, 0.9187876270615276,],], [ [ 0.9775100881441067, 0.1021763623956374, 0.18448311181269655,], [ -0.0363128899055083, 0.9432734903936697, -0.3300249935190574,], [ -0.207738782135669, 0.315903645575892, 0.9257696717373335,],], [ [ 0.982822500762838, 0.10217636239570263, 0.15368774499569965,], [ -0.046661307803743085, 0.943273490393667, -0.3287215305917655,], [ -0.17855714588983965, 0.31590364557587924, 0.9318380934280075,],], [ [ 0.9871649861306916, 0.10217636239576816, 0.12274070687901326,], [ -0.05696367663096775, 0.9432734903936635, -0.32709365916391236,], [ -0.14919929524724215, 0.3159036455758682, 0.9369869033287511,],], [ [ 0.9905332587345931, 0.102176362395834, 0.09167253846263222,], [ -0.06720982918946973, 0.9432734903936594, -0.32514298574763273,], [ -0.1196942028711077, 0.31590364557585937, 0.9412110201814107,],], [ [ 0.9929239944927749, 0.10217636239590001, 0.06051390028789459,], [ -0.0773896537601816, 0.9432734903936546, -0.3228714354219821,], [ -0.09007098673485676, 0.3159036455758522, 0.9445062752891034,],], [ [ 0.9943348340352753, 0.10217636239596614, 0.029295542179138587,], [ -0.08749310408175857, 0.9432734903936489, -0.3202812499331189,], [ -0.0603588813860898, 0.3159036455758474, 0.9468694166302496,],], [ [ 0.9947643850323709, 0.10217636239603234, -0.0019517271027509385,], [ -0.0975102092650563, 0.9432734903936429, -0.3173749854819673,], [ -0.03058720909553324, 0.3159036455758443, 0.9482981120679496,],], [ [ 0.9942122235686524, 0.10217636239609852, -0.03319707026496437,], [ -0.1074310836332261, 0.9432734903936361, -0.31415551020155236,], [ -0.0007853509194093131, 0.3159036455758433, 0.9487909516515349,],], [ [ 0.9926788945613813, 0.10217636239616466, -0.064409651915546,], [ -0.11724593647771465, 0.9432734903936287, -0.31062600132649015,], [ 0.029017282296208764, 0.3159036455758442, 0.9483474490080277,],], [ [ 0.9901659112227166, 0.10217636239623065, -0.09555866899429553,], [ -0.12694508172054036, 0.9432734903936205, -0.3067899420574307,], [ 0.058791278940439146, 0.3159036455758472, 0.9469680418221288,],], [ [ 0.9866757535663447, 0.10217636239629643, -0.126613381171764,], [ -0.1365189474733117, 0.9432734903936117, -0.302651118123545,], [ 0.08850725566339097, 0.315903645575852, 0.9446540914042673,],], [ [ 0.9822118659599818, 0.10217636239636196, -0.15754314118633644,], [ -0.14595808548355177, 0.9432734903936024, -0.29821361404645286,], [ 0.11813588637406847, 0.31590364557585887, 0.9414078813471318,],], [ [ 0.9767786537261685, 0.10217636239642715, -0.18831742508946983,], [ -0.15525318045900846, 0.9432734903935923, -0.29348180910927346,], [ 0.1476479311817699, 0.3159036455758677, 0.9372326152720144,],], [ [ 0.9703814787947082, 0.10217636239649196, -0.21890586236922963,], [ -0.16439505926074657, 0.9432734903935817, -0.2884603730347813,], [ 0.17701426525241118, 0.3159036455758786, 0.9321324136671885,],], [ [ 0.9630266544110446, 0.10217636239655627, -0.2492782659223985,], [ -0.17337469995594965, 0.9432734903935704, -0.28315426137693084,], [ 0.20620590755129897, 0.3159036455758915, 0.926112309821442,],], [ [ 0.9547214389057946, 0.10217636239662005, -0.27940466184558094,], [ -0.18218324072149783, 0.9432734903935586, -0.27756871063029764,], [ 0.23519404944398922, 0.315903645575906, 0.9191782448567801,],], [ [ 0.9454740285315922, 0.10217636239668332, -0.3092553190158959,], [ -0.1908119885895336, 0.9432734903935462, -0.2717092330622649,], [ 0.26395008312699897, 0.31590364557592265, 0.9113370618651981,],], [ [ 0.9352935493743078, 0.10217636239674588, -0.3388007784320725,], [ -0.19925242802638604, 0.9432734903935333, -0.2655816112730528,], [ 0.29244562986031997, 0.3159036455759413, 0.9025964991553153,],], [ [ 0.9241900483466303, 0.1021763623968078, -0.3680118822869845,], [ -0.20749622933638584, 0.9432734903935197, -0.25919189248895985,], [ 0.3206525679738666, 0.3159036455759617, 0.8929651826155273,],], [ [ 0.9121744832728989, 0.10217636239686888, -0.39685980274293814,], [ -0.21553525688227784, 0.9432734903935055, -0.25254638259445267,], [ 0.3485430606202202, 0.31590364557598394, 0.8824526172012256,],], [ [ 0.8992587120749698, 0.1021763623969292, -0.4253160703813084,], [ -0.22336157711411828, 0.9432734903934911, -0.24565163990898667,], [ 0.3760895832462799, 0.315903645576008, 0.8710691775544739,],], [ [ 0.8854554810697924, 0.1021763623969886, -0.4533526022984556,], [ -0.23096746639873394, 0.9432734903934759, -0.2385144687147068,], [ 0.40326495075671054, 0.3159036455760339, 0.8588260977654086,],], [ [ 0.8707784123902435, 0.10217636239704705, -0.48094172982018774,], [ -0.23834541864201542, 0.9432734903934604, -0.23114191254141042,], [ 0.4300423443423793, 0.3159036455760616, 0.8457354602854634,],], [ [ 0.855241990541634, 0.10217636239710444, -0.5080562258074189,], [ -0.24548815269652283, 0.9432734903934441, -0.22354124721540253,], [ 0.45639533794730225, 0.3159036455760912, 0.8318101840033596,],], [ [ 0.8388615481071591, 0.1021763623971608, -0.5346693315260793,], [ -0.25238861954709296, 0.9432734903934276, -0.21571997367910326,], [ 0.48229792434798335, 0.3159036455761223, 0.817064011495637,],], [ [ 0.821653250616395, 0.1021763623972161, -0.5607547830547541,], [ -0.2590400092673577, 0.9432734903934106, -0.20768581058849353,], [ 0.5077245408194082, 0.3159036455761552, 0.8015114954642985,],], [ [ 0.8036340805917804, 0.10217636239727017, -0.5862868372039963,], [ -0.26543575774030687, 0.9432734903933931, -0.19944668669570428,], [ 0.5326500943623615, 0.31590364557618994, 0.7851679843749618,],], [ [ 0.7848218207888227, 0.10217636239732308, -0.6112402969217328,], [ -0.2715695531362666, 0.9432734903933753, -0.1910107330242662,], [ 0.5570499864671802, 0.31590364557622613, 0.7680496073096871,],], [ [ 0.7652350366465777, 0.10217636239737468, -0.6355905361596814,], [ -0.27743534214189397, 0.943273490393357, -0.1823862748447472,], [ 0.5809001373894839, 0.315903645576264, 0.7501732580494356,],], [ [ 0.7448930579657139, 0.10217636239742486, -0.6593135241762582,], [ -0.283027335934049, 0.9432734903933383, -0.17358182345868936,], [ 0.6041770099139508, 0.3159036455763034, 0.7315565784018614,],], [ [ 0.7238159598322484, 0.10217636239747371, -0.6823858492519764,], [ -0.2883400158926422, 0.9432734903933192, -0.16460606779895873,], [ 0.6268576325826716, 0.3159036455763444, 0.7122179407908956,],], [ [ 0.7020245428057825, 0.10217636239752122, -0.7047847417939342,], [ -0.2933681390468221, 0.9432734903933001, -0.1554678658547982,], [ 0.6489196223651559, 0.3159036455763869, 0.6921764301253056,],], [ [ 0.6795403123917834, 0.10217636239756721, -0.726488096806602,], [ -0.29810674324913017, 0.9432734903932803, -0.14617623593004225,], [ 0.6703412067476342, 0.31590364557643086, 0.6714518249641193,],], [ [ 0.6563854578181809, 0.1021763623976116, -0.7474744957067156,], [ -0.3025511520725135, 0.9432734903932602, -0.1367403477431247,], [ 0.6911012452198387, 0.31590364557647604, 0.6500645779975097,],], [ [ 0.6325828301372144, 0.10217636239765455, -0.767723227460766,], [ -0.30669697942536567, 0.94327349039324, -0.12716951337766058,], [ 0.7111792501380709, 0.31590364557652284, 0.6280357958623964,],], [ [ 0.6081559196741456, 0.10217636239769583, -0.7872143090242127,], [ -0.31054013388004, 0.9432734903932194, -0.11747317809253213,], [ 0.7305554069439641, 0.31590364557657075, 0.6053872183126857,],], [ [ 0.5831288328450985, 0.10217636239773548, -0.8059285050622541,], [ -0.31407682271056414, 0.9432734903931987, -0.10766091100055283,], [ 0.7492105937189822, 0.31590364557662, 0.5821411967647122,],], [ [ 0.5575262683668916, 0.10217636239777343, -0.8238473469326995,], [ -0.3173035556355728, 0.9432734903931776, -0.09774239562490139,], [ 0.76712640005537, 0.31590364557667044, 0.5583206722390437,],], [ [ 0.5313734928823587, 0.10217636239780968, -0.8409531509121975,], [ -0.32021714826276104, 0.9432734903931564, -0.08772742034265375,], [ 0.7842851452249153, 0.31590364557672207, 0.5339491527204346,],], [ [ 0.5046963160251956, 0.10217636239784415, -0.8572290356478484,], [ -0.32281472523146554, 0.943273490393135, -0.07762586872483654,], [ 0.8006698956276108, 0.3159036455767749, 0.5090506899582536,],], [ [ 0.4775210649489521, 0.10217636239787688, -0.8726589388169678,], [ -0.32509372305026607, 0.9432734903931135, -0.06744770978253956,], [ 0.816264481502984, 0.3159036455768286, 0.48364985573029373,],], [ [ 0.4498745583453055, 0.10217636239790771, -0.8872276329785654,], [ -0.32705189262681233, 0.9432734903930918, -0.057202988128713717,], [ 0.8310535128876095, 0.3159036455768835, 0.4577717175933858,],], [ [ 0.4217840799772477, 0.10217636239793673, -0.900920740600899,], [ -0.3286873014873764, 0.9432734903930701, -0.046901814065358344,], [ 0.8450223948030569, 0.31590364557693923, 0.43144181414474225,],], [ [ 0.39327735175332074, 0.10217636239796382, -0.9137247482502675,], [ -0.3299983356839424, 0.943273490393048, -0.036554353605888705,], [ 0.8581573416592804, 0.3159036455769959, 0.4046861298184568,],], [ [ 0.36438250636945685, 0.10217636239798905, -0.9256270199270479,], [ -0.33098370138695093, 0.943273490393026, -0.02617081844252172,], [ 0.8704453908592464, 0.3159036455770534, 0.3775310692420175,],], [ [ 0.33512805954543123, 0.10217636239801231, -0.9366158095358117,], [ -0.3316424261621271, 0.943273490393004, -0.01576145586858646,], [ 0.8818744155913651, 0.3159036455771117, 0.35000343117815097,],], [ [ 0.3055428818833295, 0.10217636239803361, -0.9466802724772159,], [ -0.3319738599301314, 0.9432734903929819, -0.005336538665703836,], [ 0.8924331367971045, 0.31590364557717077, 0.32213038207771405,],], [ [ 0.27565617037578805, 0.10217636239805297, -0.9558104763502313,], [ -0.3319776756080872, 0.9432734903929598, 0.005093645034188173,], [ 0.9021111343019805, 0.31590364557723055, 0.2939394292697212,],], [ [ 0.24549741959214424, 0.10217636239807032, -0.9639974107541456,], [ -0.3316538694323531, 0.9432734903929377, 0.015518801901952668,], [ 0.9108988570989351, 0.3159036455772908, 0.26545839381498393,],], [ [ 0.2150963925709147, 0.10217636239808565, -0.9712329961806663,], [ -0.33100276096221876, 0.9432734903929156, 0.025928643569501697,], [ 0.9187876327739546, 0.3159036455773517, 0.23671538305013412,],], [ [ 0.18448309144733321, 0.10217636239809898, -0.9775100919873551,], [ -0.3300249927645239, 0.9432734903928938, 0.036312896783146524,], [ 0.9257696760646305, 0.31590364557741313, 0.2077387628491354,],], [ [ 0.15368772784494167, 0.1021763623981102, -0.9828225034445178,], [ -0.3287215297795101, 0.9432734903928717, 0.04666131354202863,], [ 0.9318380965432126, 0.31590364557747497, 0.17855712962966028,],], [ [ 0.12274069306043583, 0.10217636239811936, -0.9871649878486028,], [ -0.3270936583685316, 0.9432734903928499, 0.05696368121163143,], [ 0.9369869054165775, 0.31590364557753714, 0.14919928213194453,],], [ [ 0.09167252807121308, 0.10217636239812655, -0.9905332596960686,], [ -0.32514298504456524, 0.9432734903928282, 0.06720983260238492,], [ 0.941211021436395, 0.31590364557759965, 0.11969419299798983,],], [ [ 0.06051389339519687, 0.10217636239813162, -0.992923994912622,], [ -0.3228714348867724, 0.9432734903928067, 0.07738965600342422,], [ 0.9445062759136709, 0.3159036455776624, 0.09007098017914118,],], [ [ 0.029295538832695926, 0.10217636239813463, -0.994334834133647,], [ -0.3202812496406773, 0.9432734903927853, 0.08749310516159647,], [ 0.9468694168327056, 0.3159036455777253, 0.060358878200267745,],], [ [ -0.0019517268798420085, 0.1021763623981355, -0.9947643850325921,], [ -0.317374985505837, 0.9432734903927641, 0.0975102091958674,], [ 0.9482981120604197, 0.3159036455777884, 0.030587209308905454,],], [ [ -0.03319706647424536, 0.10217636239813435, -0.9942122236950167,], [ -0.31415551061318575, 0.943273490392743, 0.10743108243734806,], [ 0.9487909516478712, 0.31590364557785156, 0.0007853545378224777,],], [ [ -0.06440964458318017, 0.1021763623981311, -0.992678895036937,], [ -0.3106260021945443, 0.9432734903927222, 0.11724593418522397,], [ 0.9483474492216991, 0.31590364557791467, -0.029017275290418632,],], [ [ -0.09555865817084412, 0.10217636239812578, -0.9901659122670678,], [ -0.30678994344708654, 0.9432734903927017, 0.12694507836896682,], [ 0.9469680424641167, 0.31590364557797773, -0.058791268588305176,],], [ [ -0.12661336693175237, 0.10217636239811839, -0.9866757553934797,], [ -0.3026511200958571, 0.9432734903926815, 0.13651894310728843,], [ 0.9446540926809815, 0.3159036455780407, -0.08850724202897264,],], [ [ -0.15754312362761294, 0.10217636239810893, -0.9822118687761542,], [ -0.29821361665773466, 0.9432734903926615, 0.14595808015440392,], [ 0.9414078834583702, 0.3159036455781035, -0.11813586954390959,],], [ [ -0.18831740433236732, 0.10217636239809745, -0.9767786577278459,], [ -0.2934818124105245, 0.9432734903926417, 0.15525317422428608,], [ 0.9372326184089803, 0.31590364557816597, -0.14764791126416632,],], [ [ -0.21890583855553, 0.10217636239808385, -0.9703814841666114,], [ -0.28846037707116207, 0.9432734903926222, 0.16439505218370287,], [ 0.9321324180105868, 0.31590364557822814, -0.17701424237648766,],], [ [ -0.2492782392141172, 0.1021763623980683, -0.9630266613242896,], [ -0.2831542661872876, 0.9432734903926033, 0.1733746921049721,], [ 0.9261123155396692, 0.31590364557829, -0.2062058818659113,],], [ [ -0.279404632423578, 0.10217636239805071, -0.9547214475161577,], [ -0.27756871624674506, 0.9432734903925848, 0.18218323216949572,], [ 0.9191782521042255, 0.3159036455783514, -0.23519402111645646,],], [ [ -0.309255287078325, 0.1021763623980311, -0.9454740389779135,], [ -0.2717092395098263, 0.9432734903925665, 0.19081197941328737,], [ 0.9113370707806715, 0.31590364557841233, -0.26395005234167734,],], [ [ -0.33880074419268646, 0.10217636239800952, -0.9352935617770458,], [ -0.2655816185693637, 0.9432734903925486, 0.19925241830586576,], [ 0.9025965098606125, 0.3159036455784727, -0.2924455968170351,],], [ [ -0.36801184597330455, 0.10217636239798604, -0.9241900628065832,], [ -0.2591919006440391, 0.9432734903925312, 0.20749621915404198,], [ 0.8929651952141535, 0.31590364557853245, -0.3206525328862094,],], [ [ -0.3968597645943096, 0.1021763623979606, -0.9121744998701015,], [ -0.25254639161053843, 0.943273490392514, 0.21553524632231338,], [ 0.8824526317772788, 0.3159036455785915, -0.34854302371373025,],], [ [ -0.4253160306468611, 0.10217636239793317, -0.8992587308677767,], [ -0.24565164978044374, 0.9432734903924973, 0.223361566261748,], [ 0.8710691941717056, 0.3159036455786499, -0.37608954475653017,],], [ [ -0.45335256123497736, 0.102176362397904, -0.8854555020941586,], [ -0.23851447942800272, 0.9432734903924814, 0.2309674553394359,], [ 0.8588261164664678, 0.3159036455787075, -0.40326491092730526,],], [ [ -0.48094168768994283, 0.10217636239787287, -0.8707784356592027,], [ -0.23114192407516224, 0.9432734903924658, 0.2383454074607834,], [ 0.8457354810913288, 0.3159036455787642, -0.4300423034228902,],], [ [ -0.5080561828759189, 0.1021763623978399, -0.8552420160449883,], [ -0.2235412595404947, 0.9432734903924505, 0.24548814147712442,], [ 0.8318102069129713, 0.31590364557882, -0.456395296191154,],], [ [ -0.5346692880598329, 0.10217636239780525, -0.8388615758113752,], [ -0.21571998675887355, 0.9432734903924358, 0.25238860837134164,], [ 0.817064036485723, 0.31590364557887485, -0.482297882010313,],], [ [ -0.5607547393190176, 0.10217636239776878, -0.8216532804647106,], [ -0.20768582437898614, 0.9432734903924218, 0.2590399982144042,], [ 0.8015115224894035, 0.3159036455789287, -0.5077244981549157,],], [ [ -0.5862867934605355, 0.10217636239773063, -0.8036341125045222,], [ -0.19944670114598922, 0.9432734903924084, 0.2654357468859566,], [ 0.7851680133676777, 0.31590364557898154, -0.5326500516231678,],], [ [ -0.6112402534266248, 0.10217636239769075, -0.7848218546639302,], [ -0.1910107480768211, 0.9432734903923953, 0.2715695425523283,], [ 0.7680496381810804, 0.3159036455790332, -0.5570499439007134,],], [ [ -0.6355904931611732, 0.10217636239764928, -0.765235072360331,], [ -0.1823862904358976, 0.943273490392383, 0.27743533189556724,], [ 0.7501732906896705, 0.3159036455790838, -0.5809000952364146,],], [ [ -0.6593134819126983, 0.10217636239760625, -0.7448930953736563,], [ -0.17358183951910483, 0.943273490392371, 0.2830273260873537,], [ 0.731556612681013, 0.3159036455791331, -0.6041769684061912,],], [ [ -0.6823858079498406, 0.10217636239756155, -0.7238159987702989,], [ -0.1646060842542006, 0.9432734903923596, 0.28834000650189656,], [ 0.7122179765599449, 0.31590364557918116, -0.6268575919414558,],], [ [ -0.7047847016659627, 0.10217636239751533, -0.7020245830915264,], [ -0.1554678826259128, 0.9432734903923491, 0.2933681301621739,], [ 0.6921764672173094, 0.31590364557922784, -0.6489195827992236,],], [ [ -0.7264880580500619, 0.10217636239746779, -0.6795403538259307,], [ -0.14617625293419564, 0.9432734903923391, 0.29810673491414413,], [ 0.6714518631955442, 0.3159036455792732, -0.6703411684515259,],], [ [ -0.7474744585018089, 0.10217636239741873, -0.6563855001861778,], [ -0.13674036489427246, 0.9432734903923295, 0.3025511443238196,], [ 0.6500646171697155, 0.31590364557931716, -0.6911012083723254,],], [ [ -0.767723191969188, 0.10217636239736828, -0.6325828732109988,], [ -0.1271695305872482, 0.9432734903923209, 0.30669697229237036,], [ 0.6280358357632627, 0.31590364557935974, -0.711179214900724,],], [ [ -0.7872142753878879, 0.10217636239731652, -0.6081559632140218,], [ -0.11747319527021699, 0.9432734903923128, 0.3105401273847051,], [ 0.6053872587183577, 0.31590364557940076, -0.7305553734598881,],], [ [ -0.8059284734022436, 0.1021763623972635, -0.583128876601727,], [ -0.10766092805494569, 0.9432734903923052, 0.31407681686725203,], [ 0.5821412374414621, 0.3159036455794404, -0.7492105621117087,],], [ [ -0.8238473173483024, 0.10217636239720933, -0.5575263120833666,], [ -0.0977424124643171, 0.9432734903922985, 0.3173035504509614,], [ 0.5583207129452217, 0.31590364557947825, -0.7671263704279333,],], [ [ -0.8409531234802509, 0.1021763623971539, -0.5313735362963564,], [ -0.08772743687586536, 0.9432734903922922, 0.32021714373583,], [ 0.5339491932084931, 0.31590364557951467, -0.7842851176591148,],], [ [ -0.8572290104222253, 0.10217636239709736, -0.5046963588711824,], [ -0.07762588486182884, 0.9432734903922867, 0.32281472135355066,], [ 0.5090507299768368, 0.3159036455795493, -0.8006698701834608,],], [ [ -0.8726589158282894, 0.10217636239703981, -0.4775211069604185,], [ -0.06744772543525071, 0.9432734903922818, 0.32509371980518575,], [ 0.4836498950263566, 0.31590364557958234, -0.8162644582183667,],], [ [ -0.8872276122341175, 0.10217636239698126, -0.44987459925702317,], [ -0.0572030032117634, 0.9432734903922777, 0.32705188999106005,], [ 0.4577717559143437, 0.31590364557961376, -0.8310534917781215,],], [ [ -0.9009207220847628, 0.10217636239692172, -0.4217841195275168,], [ -0.04690182849675296, 0.9432734903922743, 0.3286872994303814,], [ 0.4314418512406172, 0.31590364557964334, -0.8450223758620599,],], [ [ -0.9137247319236587, 0.10217636239686133, -0.3932773896861902,], [ -0.03655436730769677, 0.9432734903922715, 0.3299983341683942,], [ 0.4046861654440046, 0.3159036455796711, -0.8581573248581528,],], [ [ -0.9256270057288593, 0.10217636239680017, -0.36438254243690654,], [ -0.02617083134151781, 0.9432734903922694, 0.3309837003691859,], [ 0.37753110315882593, 0.3159036455796972, -0.8704453761478299,],], [ [ -0.9366157973833618, 0.10217636239673812, -0.3351280935094814,], [ -0.015761467896851723, 0.943273490392268, 0.3316424255925714,], [ 0.35000346315667474, 0.31590364557972134, -0.8818744028986077,],], [ [ -0.9466802622671872, 0.10217636239667548, -0.30554291351807317,], [ -0.005336549761183298, 0.9432734903922674, 0.3319738597537997,], [ 0.3221304118992429, 0.3159036455797437, -0.8924331260318903,],], [ [ -0.9558104679597955, 0.10217636239661218, -0.27565619946932574,], [ 0.005093634927177379, 0.9432734903922674, 0.33197767576513,], [ 0.2939394567282609, 0.31590364557976425, -0.9021111253541382,],], [ [ -0.9639974040422651, 0.10217636239654825, -0.24549744594839112,], [ 0.015518792832271307, 0.943273490392268, 0.3316538698586477,], [ 0.2654584187190209, 0.31590364557978284, -0.9108988498404199,],], [ [ -0.9712329909895582, 0.10217636239648387, -0.21509641601128346,], [ 0.025928635578793758, 0.9432734903922694, 0.3310027615900014,], [ 0.23671540522428788, 0.3159036455797995, -0.9187876270601893,],], [ [ -0.9775100881441066, 0.10217636239641902, -0.18448311181226437,], [ 0.03631288990550805, 0.9432734903922715, 0.33002499352305387,], [ 0.20773878213566968, 0.3159036455798144, -0.9257696717359949,],], [ [ -0.982822500762838, 0.10217636239635378, -0.1536877449952668,], [ 0.046661307803743064, 0.9432734903922741, 0.3287215305957619,], [ 0.17855714588983976, 0.3159036455798272, -0.9318380934266689,],], [ [ -0.9871649861306917, 0.10217636239628823, -0.12274070687858049,], [ 0.056963676630967706, 0.9432734903922777, 0.32709365916790895,], [ 0.14919929524724232, 0.3159036455798382, -0.9369869033274127,],], [ [ -0.9905332587345931, 0.1021763623962224, -0.09167253846219874,], [ 0.06720982918946992, 0.9432734903922818, 0.32514298575162903,], [ 0.11969420287110712, 0.31590364557984707, -0.9412110201800723,],], [ [ -0.9929239944927751, 0.10217636239615639, -0.060513900287461155,], [ 0.07738965376018177, 0.9432734903922866, 0.3228714354259787,], [ 0.0900709867348563, 0.31590364557985406, -0.9445062752877649,],], [ [ -0.9943348340352752, 0.10217636239609028, -0.02929554217870647,], [ 0.08749310408175831, 0.9432734903922921, 0.32028124993711543,], [ 0.06035888138609053, 0.31590364557985906, -0.9468694166289112,],], [ [ -0.9947643850323709, 0.10217636239602407, 0.0019517271031837108,], [ 0.09751020926505626, 0.9432734903922984, 0.3173749854859637,], [ 0.03058720909553336, 0.31590364557986206, -0.9482981120666112,],], [ [ -0.9942122235686525, 0.10217636239595786, 0.03319707026539715,], [ 0.10743108363322607, 0.943273490392305, 0.3141555102055488,], [ 0.0007853509194094241, 0.3159036455798631, -0.9487909516501966,],], [ [ -0.9926788945613813, 0.10217636239589176, 0.06440965191597947,], [ 0.11724593647771483, 0.9432734903923127, 0.3106260013304866,], [ -0.0290172822962093, 0.31590364557986217, -0.9483474490066893,],], [ [ -0.9901659112227166, 0.10217636239582581, 0.09555866899472902,], [ 0.12694508172054056, 0.9432734903923208, 0.30678994206142707,], [ -0.05879127894043971, 0.3159036455798593, -0.9469680418207904,],], [ [ -0.9866757535663448, 0.10217636239576, 0.1266133811721961,], [ 0.13651894747331147, 0.9432734903923295, 0.3026511181275416,], [ -0.08850725566339018, 0.31590364557985434, -0.9446540914029289,],], [ [ -0.9822118659599819, 0.10217636239569444, 0.15754314118676926,], [ 0.14595808548355174, 0.9432734903923389, 0.2982136140504494,], [ -0.11813588637406841, 0.3159036455798474, -0.9414078813457935,],], [ [ -0.9767786537261683, 0.10217636239562927, 0.18831742508990262,], [ 0.1552531804590084, 0.9432734903923489, 0.29348180911327,], [ -0.14764793118176978, 0.31590364557983863, -0.937232615270676,],], [ [ -0.970381478794708, 0.10217636239556445, 0.21890586236966308,], [ 0.1643950592607467, 0.9432734903923594, 0.28846037303877764,], [ -0.17701426525241173, 0.3159036455798278, -0.9321324136658499,],], [ [ -0.9630266544110444, 0.10217636239550011, 0.2492782659228319,], [ 0.17337469995594978, 0.9432734903923706, 0.2831542613809271,], [ -0.20620590755129947, 0.31590364557981515, -0.9261123098201034,],], [ [ -0.9547214389057949, 0.10217636239543636, 0.27940466184601304,], [ 0.1821832407214976, 0.9432734903923826, 0.2775687106342941,], [ -0.23519404944398842, 0.31590364557980033, -0.9191782448554419,],], [ [ -0.9454740285315922, 0.10217636239537307, 0.3092553190163288,], [ 0.19081198858953358, 0.9432734903923949, 0.27170923306626144,], [ -0.2639500831269988, 0.3159036455797838, -0.91133706186386,],], [ [ -0.9352935493743076, 0.10217636239531043, 0.3388007784325054,], [ 0.19925242802638607, 0.9432734903924078, 0.26558161127704916,], [ -0.2924456298603201, 0.3159036455797653, -0.9025964991539767,],], [ [ -0.9241900483466299, 0.10217636239524856, 0.36801188228741827,], [ 0.20749622933638603, 0.9432734903924215, 0.25919189249295616,], [ -0.3206525679738674, 0.3159036455797449, -0.8929651826141887,],], [ [ -0.9121744832728986, 0.10217636239518747, 0.39685980274337135,], [ 0.2155352568822779, 0.9432734903924357, 0.25254638259844897,], [ -0.34854306062022056, 0.31590364557972267, -0.882452617199887,],], [ [ -0.8992587120749702, 0.10217636239512719, 0.42531607038174046,], [ 0.22336157711411805, 0.9432734903924502, 0.24565163991298336,], [ -0.3760895832462791, 0.3159036455796985, -0.8710691775531357,],], [ [ -0.8854554810697924, 0.10217636239506779, 0.4533526022988884,], [ 0.23096746639873386, 0.9432734903924654, 0.23851446871870335,], [ -0.40326495075671037, 0.3159036455796725, -0.8588260977640704,],], [ [ -0.8707784123902435, 0.10217636239500937, 0.48094172982062056,], [ 0.2383454186420154, 0.943273490392481, 0.23114191254540692,], [ -0.4300423443423792, 0.3159036455796448, -0.8457354602841249,],], [ [ -0.8552419905416336, 0.10217636239495191, 0.5080562258078526,], [ 0.24548815269652305, 0.9432734903924971, 0.2235412472193988,], [ -0.45639533794730297, 0.31590364557961537, -0.8318101840020209,],], [ [ -0.8388615481071591, 0.10217636239489555, 0.5346693315265122,], [ 0.25238861954709296, 0.9432734903925136, 0.21571997368309967,], [ -0.48229792434798335, 0.315903645579584, -0.8170640114942986,],], [ [ -0.8216532506163956, 0.10217636239484026, 0.5607547830551861,], [ 0.25904000926735743, 0.9432734903925306, 0.20768581059249033,], [ -0.5077245408194072, 0.31590364557955114, -0.8015114954629605,],], [ [ -0.8036340805917802, 0.10217636239478621, 0.5862868372044294,], [ 0.2654357577403069, 0.943273490392548, 0.19944668669970061,], [ -0.5326500943623618, 0.31590364557951645, -0.7851679843736232,],], [ [ -0.7848218207888228, 0.10217636239473335, 0.6112402969221655,], [ 0.2715695531362665, 0.943273490392566, 0.19101073302826277,], [ -0.55704998646718, 0.31590364557948025, -0.7680496073083488,],], [ [ -0.7652350366465775, 0.10217636239468182, 0.6355905361601145,], [ 0.277435342141894, 0.9432734903925842, 0.1823862748487437,], [ -0.5809001373894839, 0.3159036455794424, -0.7501732580480971,],], [ [ -0.7448930579657139, 0.10217636239463154, 0.6593135241766913,], [ 0.28302733593404905, 0.943273490392603, 0.1735818234626858,], [ -0.604177009913951, 0.3159036455794029, -0.731556578400523,],], [ [ -0.7238159598322492, 0.1021763623945826, 0.6823858492524085,], [ 0.28834001589264197, 0.9432734903926219, 0.16460606780295547,], [ -0.6268576325826708, 0.31590364557936196, -0.7122179407895579,],], [ [ -0.7020245428057824, 0.10217636239453526, 0.7047847417943672,], [ 0.29336813904682213, 0.9432734903926413, 0.15546786585879457,], [ -0.6489196223651559, 0.3159036455793195, -0.6921764301239671,],], [ [ -0.6795403123917835, 0.10217636239448921, 0.7264880968070346,], [ 0.2981067432491302, 0.9432734903926608, 0.1461762359340387,], [ -0.6703412067476343, 0.3159036455792756, -0.6714518249627809,],], [ [ -0.6563854578181807, 0.10217636239444475, 0.7474744957071489,], [ 0.3025511520725136, 0.943273490392681, 0.13674034774712113,], [ -0.691101245219839, 0.31590364557923034, -0.6500645779961711,],], [ [ -0.6325828301372141, 0.10217636239440188, 0.7677232274611993,], [ 0.3066969794253657, 0.9432734903927011, 0.12716951338165683,], [ -0.7111792501380713, 0.3159036455791836, -0.6280357958610577,],], [ [ -0.6081559196741465, 0.10217636239436054, 0.7872143090246452,], [ 0.3105401338800398, 0.9432734903927217, 0.11747317809652892,], [ -0.7305554069439635, 0.31590364557913564, -0.6053872183113481,],], [ [ -0.5831288328450983, 0.10217636239432093, 0.8059285050626871,], [ 0.31407682271056414, 0.9432734903927426, 0.10766091100454919,], [ -0.7492105937189824, 0.3159036455790864, -0.5821411967633736,],], [ [ -0.5575262683668917, 0.10217636239428296, 0.8238473469331323,], [ 0.31730355563557266, 0.9432734903927636, 0.0977423956288979,], [ -0.7671264000553699, 0.31590364557903594, -0.5583206722377055,],], [ [ -0.5313734928823585, 0.10217636239424673, 0.8409531509126307,], [ 0.32021714826276115, 0.9432734903927847, 0.08772742034665011,], [ -0.7842851452249157, 0.31590364557898426, -0.533949152719096,],], [ [ -0.5046963160251953, 0.10217636239421221, 0.8572290356482816,], [ 0.3228147252314655, 0.9432734903928063, 0.07762586872883284,], [ -0.800669895627611, 0.3159036455789315, -0.5090506899569149,],], [ [ -0.4775210649489531, 0.10217636239417957, 0.8726589388174002,], [ 0.32509372305026607, 0.9432734903928277, 0.06744770978653636,], [ -0.8162644815029837, 0.31590364557887773, -0.4836498557289561,],], [ [ -0.44987455834530515, 0.10217636239414872, 0.8872276329789983,], [ 0.3270518926268124, 0.9432734903928495, 0.05720298813271006,], [ -0.8310535128876098, 0.3159036455788229, -0.45777171759204704,],], [ [ -0.42178407997724776, 0.10217636239411967, 0.9009207406013316,], [ 0.32868730148737635, 0.9432734903928711, 0.04690181406935486,], [ -0.8450223948030566, 0.3159036455787671, -0.43144181414340393,],], [ [ -0.3932773517533203, 0.10217636239409258, 0.9137247482507006,], [ 0.32999833568394243, 0.9432734903928932, 0.03655435360988501,], [ -0.8581573416592806, 0.3159036455787105, -0.404686129817118,],], [ [ -0.36438250636945646, 0.10217636239406738, 0.925627019927481,], [ 0.330983701386951, 0.9432734903929153, 0.02617081844651803,], [ -0.8704453908592467, 0.31590364557865297, -0.37753106924067875,],], [ [ -0.3351280595454323, 0.1021763623940441, 0.9366158095362441,], [ 0.3316424261621272, 0.9432734903929372, 0.015761455872583287,], [ -0.8818744155913647, 0.3159036455785947, -0.35000343117681354,],], [ [ -0.3055428818833292, 0.10217636239402271, 0.9466802724776486,], [ 0.33197385993013134, 0.9432734903929593, 0.0053365386697002,], [ -0.8924331367971043, 0.31590364557853556, -0.3221303820763753,],], [ [ -0.2756561703757881, 0.10217636239400342, 0.9558104763506643,], [ 0.3319776756080872, 0.9432734903929815, -0.005093645030191715,], [ -0.9021111343019806, 0.3159036455784759, -0.2939394292683829,],], [ [ -0.24549741959214394, 0.10217636239398609, 0.9639974107545786,], [ 0.3316538694323531, 0.9432734903930036, -0.015518801897956349,], [ -0.9108988570989353, 0.3159036455784155, -0.2654583938136452,],], [ [ -0.21509639257091442, 0.10217636239397078, 0.9712329961810993,], [ 0.33100276096221876, 0.9432734903930254, -0.025928643565505356,], [ -0.9187876327739546, 0.31590364557835465, -0.23671538304879547,],], [ [ -0.1844830914473342, 0.10217636239395746, 0.9775100919877876,], [ 0.3300249927645239, 0.9432734903930474, -0.03631289677914974,], [ -0.9257696760646302, 0.3159036455782932, -0.20773876284779788,],], [ [ -0.15368772784494136, 0.10217636239394622, 0.9828225034449508,], [ 0.3287215297795101, 0.9432734903930695, -0.0466613135380323,], [ -0.9318380965432127, 0.3159036455782315, -0.17855712962832157,],],] + +[settings.debug] +validation = true +vsync = false +headless = false +outputPNGimage = false +debugMode = true diff --git a/data/config/guanzi.toml b/data/config/guanzi.toml new file mode 100644 index 0000000..c2168f2 --- /dev/null +++ b/data/config/guanzi.toml @@ -0,0 +1,34 @@ +[settings] +width = 1080 +height = 1920 +multiSampling = false +sampleCount = 4 +rotateModel = true +modelRotateSpeed = 2.0 +startFrameIndex = 1 +endFrameIndex = 200 +videoFrameRate = 24 +selectedPhysicalDeviceIndex = 7 + +[FilePath] +glTFModelFilePath = "./data/models/DamagedHelmet/DamagedHelmet.gltf" +envMapFilePath = "./data/environments/metro_noord_4k_hdr16f_cube.ktx" +imageOutputPath = "./data/output/imageSequence" +videoOutputPath = "./data/output/video" + +[settings.camera] +fovX = 0.5784446053126124 +fovY = 0.9680798875655894 +cX = "540.0" +cY = "960.0" +bottomCenter = [ 0.23035474127416322, 2.442199663956136, 2.6189243557529744,] +bottomNormal = [ -0.04030591994524002, -0.6499098539352417, -0.7589418292045593,] +cameraTracks = [ [ 1.5500030027803846, 6.25940369298379, -1.642647682663964,], [ 1.7273324238430727, 6.220441236594798, -1.6187003151687651,], [ 1.9031566544860343, 6.177300979259375, -1.5910954050522363,], [ 2.077302177421142, 6.13002549520312, -1.55986019502788,], [ 2.2495971320421027, 6.078661439621165, -1.5250255104769204,], [ 2.419871484030127, 6.0232595026351055, -1.4866257290273635,], [ 2.587957193157275, 5.963874359267993, -1.4446987466274392,], [ 2.753688379121871, 5.900564615486677, -1.3992859401468716,], [ 2.916901485252337, 5.833392750364788, -1.3504321265429016,], [ 3.07743543991788, 5.7624250544234465, -1.2981855186313647,], [ 3.2351318154867426, 5.6877315642105115, -1.242597677506458,], [ 3.3898349846751543, 5.60938599318297, -1.1837234616561727,], [ 3.5413922741326656, 5.52746565896065, -1.121620972823581,], [ 3.6896541151123134, 5.442051407023066, -1.0563514986674378,], [ 3.834474191076923, 5.353227530924696, -0.9879794522786569,], [ 3.975709582095854, 5.261081689107409, -0.9165723086123642,], [ 4.113220905889729, 5.165704818392179, -0.8422005378982703,], [ 4.246872455383904, 5.06719104423541, -0.7649375360950585,], [ 4.3765323326349765, 4.9656375878384855, -0.684859552457432,], [ 4.502072578998126, 4.8611446702021714, -0.6020456142873102,], [ 4.623369301406852, 4.7538154132205905, -0.5165774489434181,], [ 4.740302794640463, 4.643755737912366, -0.42853940318625394,], [ 4.852757659458694, 4.531074259889361, -0.3380183599380172,], [ 4.960622916486807, 4.415882182166186, -0.24510365253965705,], [ 5.063792115738848, 4.298293185416244, -0.1498869765896469,], [ 5.162163441670921, 4.178423315782638, -0.05246229945149977,], [ 5.255639813660847, 4.056390870354629, 0.04707423248067191,], [ 5.344128981815009, 3.9323162804227, 0.14862438866704228,], [ 5.427543618007868, 3.806321992627406, 0.25208795136375445,], [ 5.505801402064272, 3.6785323481193273, 0.35736281452573404,], [ 5.578825102999533, 3.5490734598493625, 0.46434508457302853,], [ 5.646542655237085, 3.4180730881104733, 0.5729291829212267,], [ 5.708887229728513, 3.2856605144536983, 0.6830079501747776,], [ 5.765797299905744, 3.151966414102875, 0.7944727518803697,], [ 5.817216702400347, 3.017122726993962, 0.9072135857360317,], [ 5.86309469247, 2.881262527566264, 1.0211191901501109,], [ 5.903385994077423, 2.744519893434013, 1.1360771540430425,], [ 5.938050844572356, 2.607029773067961, 1.251974027783506,], [ 5.967055033932499, 2.4689278526175222, 1.3686954351495213,], [ 5.990369938524672, 2.3303504220049387, 1.4861261862039619,], [ 6.007972549352884, 2.191434240423568, 1.6041503909731234,], [ 6.019845494765437, 2.0523164013730755, 1.7226515738161354,], [ 6.025977057598647, 1.9131341973647056, 1.8415127883723512,], [ 6.026361186740271, 1.7740249844301408, 1.9606167329732949,], [ 6.0209975031012215, 1.6351260465676913, 2.0798458664052357,], [ 6.009891299989685, 1.4965744602595554, 2.199082523908185,], [ 5.993053537887265, 1.3585069591938819, 2.318209033296805,], [ 5.970500833632309, 1.2210597993251324, 2.437107831088644,], [ 5.942255444021096, 1.0843686244058988, 2.5556615785251107,], [ 5.908345243843063, 0.9485683321229027, 2.673753277370651,], [ 5.868803698371759, 0.81379294096926, 2.791266385375886,], [ 5.823669830338657, 0.680175457984407, 2.9080849312907473,], [ 5.772988181422426, 0.547847747492218, 3.024093629314089,], [ 5.716808768291675, 0.4169404009668273, 3.1391779928668635,], [ 5.655187033244545, 0.2875826081546228, 3.2532244475765464,], [ 5.588183789493844, 0.15990202957955435, 3.366120443361334,], [ 5.515865161151753, 0.03402467055761166, 3.4777545655034867,], [ 5.438302517973314, -0.08992524315520747, 3.5880166446022,], [ 5.355572404923089, -0.21182538795872538, 3.6967978652975084,], [ 5.267756466634537, -0.3315554631272014, 3.8039908736578987,], [ 5.174941366836595, -0.4489973095316302, 3.909489883125688,], [ 5.077218702827066, -0.5640350262485405, 4.013190778915583,], [ 4.974684915077126, -0.6765550849402007, 4.114991220763398,], [ 4.867441192056227, -0.7864464418933972, 4.214790743923548,], [ 4.755593370371304, -0.8936006476061584, 4.3124908583156145,], [ 4.639251830318806, -0.9979119538143305, 4.40799514572217,], [ 4.518531386952682, -1.0992774178523428, 4.501209354941917,], [ 4.393551176775774, -1.1975970042451927, 4.592041494804246,], [ 4.264434540166487, -1.2927736834313759, 4.680401924953407,], [ 4.131308899656715, -1.3847135275193538, 4.766203444312727,], [ 3.994305634181187, -1.473325802983045, 4.849361377141541,], [ 3.8535599494223214, -1.5585230602048579, 4.929793656599927,], [ 3.7092107443785407, -1.6402212197779034, 5.007420905738769,], [ 3.561400474287735, -1.7183396554822203, 5.082166515835214,], [ 3.410275010041138, -1.7928012738531205, 5.153956721996243,], [ 3.2559834942263537, -1.8635325902631357, 5.222720675955715,], [ 3.098678193941655, -1.9304638014424622, 5.288390515993046,], [ 2.9385143505267273, -1.993528854366368, 5.3509014339045295,], [ 2.7756500263582, -2.052665511441556, 5.410191738961227,], [ 2.6102459488611873, -2.107815411927145, 5.466202918790248,], [ 2.4424653518906925, -2.1589241295296855, 5.5188796971194165,], [ 2.2724738146395334, -2.205941226115336, 5.568170088328266,], [ 2.1004390982316523, -2.2488203014862056, 5.614025448751573,], [ 1.9265309801621355, -2.2875190391717592, 5.656400524684784,], [ 1.7509210867473444, -2.3219992481900547, 5.695253497043958,], [ 1.573782723750429, -2.352226900737639, 5.730546022636155,], [ 1.3952907053494994, -2.3781721657708768, 5.762243271999533,], [ 1.215621181617117, -2.3998094384455873, 5.790313963775822,], [ 1.0349514646814364, -2.417117365385943, 5.814730395581259,], [ 0.8534598537405605, -2.4300788657576615, 5.835468471345481,], [ 0.6713254591027309, -2.4386811481247417, 5.852507725091449,], [ 0.48872802542610816, -2.4429157230730496, 5.865831341132888,], [ 0.30584775433247824, -2.4427784115883586, 5.8754261706693445,], [ 0.12286512657000254, -2.4382693491805263, 5.881282744762465,], [ -0.060039276099469796, -2.429392985749765, 5.883395283680692,], [ -0.2426849491128305, -2.4161580811951215, 5.881761702603164,], [ -0.42489164324188955, -2.398577696769525, 5.876383613677178,], [ -0.6064795424776195, -2.3766691821898966, 5.8672663244272005,], [ -0.787269441486853, -2.3504541585150793, 5.854418832516979,], [ -0.9670829224662895, -2.3199584968084626, 5.837853816869929,], [ -1.1457425312193563, -2.2852122926063636, 5.817587625156578,], [ -1.3230719522820458, -2.2462498362173706, 5.793640257661379,], [ -1.4988961829250065, -2.203109578881947, 5.766035347544849,], [ -1.6730417058601157, -2.155834094825692, 5.7348001375204944,], [ -1.845336660481073, -2.104470039243737, 5.699965452969534,], [ -2.0156110124690994, -2.0490681022576784, 5.661565671519977,], [ -2.1836967215962484, -1.9896829588905658, 5.619638689120054,], [ -2.3494279075608437, -1.9263732151092487, 5.574225882639485,], [ -2.512641013691311, -1.8592013499873603, 5.525372069035516,], [ -2.67317496835685, -1.7882336540460193, 5.473125461123978,], [ -2.8308713439257147, -1.713540163833085, 5.417537619999072,], [ -2.9855745131141274, -1.6351945928055418, 5.358663404148786,], [ -3.1371318025716377, -1.5532742585832227, 5.296560915316196,], [ -3.2853936435512874, -1.4678600066456386, 5.231291441160052,], [ -3.4302137195158933, -1.3790361305472703, 5.162919394771271,], [ -3.571449110534826, -1.2868902887299818, 5.091512251104978,], [ -3.7089604343287013, -1.19151341801475, 5.017140480390884,], [ -3.8426119838228754, -1.0929996438579832, 4.939877478587673,], [ -3.972271861073949, -0.9914461874610578, 4.859799494950045,], [ -4.097812107437097, -0.886953269824745, 4.776985556779924,], [ -4.219108829845823, -0.7796240128431638, 4.691517391436032,], [ -4.336042323079436, -0.6695643375349378, 4.603479345678867,], [ -4.448497187897667, -0.5568828595119336, 4.512958302430631,], [ -4.556362444925781, -0.44169078178875804, 4.42004359503227,], [ -4.659531644177819, -0.3241017850388185, 4.324826919082262,], [ -4.757902970109893, -0.20423191540521096, 4.227402241944114,], [ -4.85137934209982, -0.08219946997720115, 4.1278657100119425,], [ -4.939868510253982, 0.0418751199547282, 4.0263155538255715,], [ -5.0232831464468415, 0.1678694077500229, 3.922851991128858,], [ -5.101540930503244, 0.2956590522581002, 3.81757712796688,], [ -5.174564631438504, 0.42511794052806445, 3.7105948579195855,], [ -5.24228218367606, 0.5561183122669567, 3.6020107595713844,], [ -5.304626758167485, 0.6885308859237266, 3.491931992317839,], [ -5.3615368283447165, 0.8222249862745543, 3.3804671906122428,], [ -5.412956230839319, 0.9570686733834652, 3.267726356756582,], [ -5.458834220908972, 1.092928872811163, 3.1538207523425035,], [ -5.499125522516396, 1.2296715069434168, 3.0388627884495696,], [ -5.533790373011327, 1.3671616273094653, 2.922965914709109,], [ -5.562794562371471, 1.5052635477599055, 2.8062445073430924,], [ -5.586109466963643, 1.6438409783724883, 2.6888137562886523,], [ -5.603712077791856, 1.782757159953859, 2.570789551519491,], [ -5.615585023204408, 1.9218749990043542, 2.4522883686764763,], [ -5.621716586037619, 2.06105720301272, 2.333427154120264,], [ -5.6221007151792435, 2.200166415947283, 2.2143232095193217,], [ -5.616737031540194, 2.339065353809736, 2.095094076087378,], [ -5.605630828428658, 2.4776169401178714, 1.9758574185844293,], [ -5.588793066326238, 2.615684441183548, 1.8567309091958075,], [ -5.566240362071281, 2.753131601052297, 1.7378321114039679,], [ -5.537994972460069, 2.889822775971525, 1.6192783639675061,], [ -5.504084772282036, 3.0256230682545247, 1.5011866651219636,], [ -5.464543226810732, 3.160398459408167, 1.3836735571167282,], [ -5.419409358777628, 3.2940159423930226, 1.2668550112018646,], [ -5.368727709861398, 3.4263436528852123, 1.1508463131785232,], [ -5.312548296730649, 3.5572509994105967, 1.035761949625753,], [ -5.250926561683519, 3.6866087922228044, 0.9217154949160682,], [ -5.183923317932817, 3.814289370797873, 0.8088194991312806,], [ -5.111604689590726, 3.9401667298198175, 0.6971853769891255,], [ -5.034042046412285, 4.064116643532637, 0.5869232978904116,], [ -4.951311933362064, 4.1860167883361505, 0.47814207719510804,], [ -4.863495995073509, 4.305746863504628, 0.3709490688347159,], [ -4.770680895275568, 4.423188709909057, 0.2654500593669263,], [ -4.672958231266037, 4.53822642662597, 0.16174916357702906,], [ -4.570424443516097, 4.6507464853176295, 0.05994872172921459,], [ -4.463180720495203, 4.760637842270822, -0.03985080143093181,], [ -4.351332898810277, 4.867792047983586, -0.13755091582300025,], [ -4.234991358757779, 4.972103354191757, -0.23305520322955578,], [ -4.114270915391652, 5.073468818229772, -0.3262694124493057,], [ -3.989290705214745, 5.17178840462262, -0.4171015523116326,], [ -3.860174068605464, 5.2669650838088, -0.5054619824607904,], [ -3.7270484280956886, 5.35890492789678, -0.5912635018201126,], [ -3.5900451626201604, 5.447517203360473, -0.6744214346489269,], [ -3.4492994778612904, 5.532714460582286, -0.7548537141073157,], [ -3.304950272817512, 5.614412620155332, -0.8324809632461553,], [ -3.1571400027267127, 5.692531055859646, -0.9072265733425968,], [ -3.0060145384801094, 5.76699267423055, -0.9790167795036299,], [ -2.8517230226653276, 5.837723990640564, -1.0477807334631017,], [ -2.6944177223806265, 5.904655201819891, -1.1134505735004323,], [ -2.534253878965698, 5.967720254743796, -1.1759614914119167,], [ -2.3713895547971777, 6.026856911818982, -1.235251796468611,], [ -2.205985477300158, 6.082006812304571, -1.2912629762976338,], [ -2.038204880329666, 6.133115529907114, -1.3439397546268033,], [ -1.8682133430785046, 6.180132626492763, -1.3932301458356522,], [ -1.6961786266706227, 6.223011701863633, -1.439085506258959,], [ -1.522270508601114, 6.2617104395491845, -1.4814605821921687,], [ -1.3466606151863152, 6.296190648567483, -1.5203135545513449,], [ -1.1695222521894024, 6.3264183011150665, -1.555606080143541,], [ -0.9910302337884701, 6.352363566148304, -1.5873033295069183,], [ -0.8113607100560875, 6.374000838823015, -1.6153740212832084,], [ -0.6306909931204147, 6.39130876576337, -1.6397904530886447,], [ -0.4491993821795309, 6.404270266135089, -1.6605285288528675,], [ -0.26706498754170394, 6.412872548502168, -1.677567782598835,], [ -0.08446755386507832, 6.417107123450476, -1.6908913986402734,], [ 0.09841271722855158, 6.416969811965785, -1.7004862281767306,], [ 0.2813953449910193, 6.412460749557955, -1.7063428022698515,], [ 0.4642997476604994, 6.403584386127192, -1.7084553411880787,], [ 0.6469454206738572, 6.39034948157255, -1.7068217601105502,], [ 0.8291521148029188, 6.3727690971469535, -1.7014436711845646,], [ 1.010740014038649, 6.350860582567323, -1.6923263819345864,], [ 1.191529913047875, 6.324645558892508, -1.6794788900243651,], [ 1.3713433940273188, 6.29414989718589, -1.6629138743773153,],] +cameraAngle = [ [ 0.0, 0.0, 0.0,], [ 1.1396552846225488e-12, -1.8000000676082264, -7.314787712745111e-11,], [ 4.612726840476078e-12, -3.6000001327724003, -1.464407650039506e-10,], [ 1.0374774768916813e-11, -5.400000195235367, -2.2002187913272486e-10,], [ 1.8511753044220277e-11, -7.200000254750596, -2.940490939748906e-10,], [ 2.9018257038048834e-11, -9.000000311083221, -3.686561628202737e-10,], [ 4.1966896797231217e-11, -10.800000364010911, -4.4401196218387825e-10,], [ 5.745581828903269e-11, -12.600000413324778, -5.202797306021172e-10,], [ 7.550262818047687e-11, -14.400000458830222, -5.976283449831585e-10,], [ 9.624370020456863e-11, -16.200000500347635, -6.762321772399053e-10,], [ 1.1978254372839004e-10, -18.000000537713174, -7.56287359701775e-10,], [ 1.4625473979684083e-10, -19.800000570779407, -8.379879745834161e-10,], [ 1.7581518429767403e-10, -21.600000599415775, -9.215652734511315e-10,], [ 2.085828754953862e-10, -23.400000623509317, -1.007242890130761e-9,], [ 2.4482529076506874e-10, -25.200000642964888, -1.0952917389049092e-9,], [ 2.8473568341668403e-10, -27.000000657705783, -1.1859787917685252e-9,], [ 3.285597077894048e-10, -28.800000667673757, -1.2796235702775643e-9,], [ 3.7657755539437384e-10, -30.600000672829516, -1.3765477258979141e-9,], [ 4.2915118424861727e-10, -32.400000673152704, -1.4771466075744986e-9,], [ 4.866473712272877e-10, -34.20000066864202, -1.581840871553478e-9,], [ 5.494772045667949e-10, -36.00000065931531, -1.691109194072643e-9,], [ 6.18153625184513e-10, -37.80000064520929, -1.8054765059029194e-9,], [ 6.932526514151072e-10, -39.60000062637975, -1.9255656778661253e-9,], [ 7.754155717786925e-10, -41.400000602900946, -2.052067611408948e-9,], [ 8.654105365141108e-10, -43.200000574865534, -2.185766676348862e-9,], [ 9.641265340810479e-10, -45.00000054238415, -2.327610439957578e-9,], [ 1.0726146350908006e-9, -46.800000505585025, -2.478653131054385e-9,], [ 1.1920725000832154e-9, -48.60000046461333, -2.6401498349635606e-9,], [ 1.3239682959510527e-9, -50.40000041963079, -2.81358889241435e-9,], [ 1.4700518558074391e-9, -52.200000370814955, -3.000742832122044e-9,], [ 1.6323497260741945e-9, -54.00000031835844, -3.2036719533788026e-9,], [ 1.8134514182745814e-9, -55.80000026246828, -3.4249865158600102e-9,], [ 2.0163441696871064e-9, -57.600000203365056, -3.6677164134370303e-9,], [ 2.2449213477520777e-9, -59.400000141282014, -3.935762876848032e-9,], [ 2.503945906019923e-9, -61.20000007646417, -4.233920208288893e-9,], [ 2.7993848852791003e-9, -63.000000009167316, -4.568183229846234e-9,], [ 3.1390912375766945e-9, -64.7999999396571, -4.946420015483246e-9,], [ 3.5331898748310366e-9, -66.59999986820775, -5.378766819009935e-9,], [ 3.995255837640048e-9, -68.39999979510132, -5.878847536105839e-9,], [ 4.543805512178259e-9, -70.1999997206263, -6.465184778269309e-9,], [ 5.204683274068617e-9, -71.99999964507658, -7.16363471240756e-9,], [ 6.015329488916142e-9, -73.79999956875038, -8.011666071965498e-9,], [ 7.031886883284737e-9, -75.59999949194889, -9.065450784405664e-9,], [ 8.34251127834227e-9, -77.39999941497527, -1.0413143642614826e-8,], [ 1.0094215448091844e-8, -79.19999933813318, -1.2201778202216829e-8,], [ 1.2551486550553106e-8, -80.99999926172597, -1.4695892850108163e-8,], [ 1.6243754313607924e-8, -82.79999918605519, -1.8424927825280702e-8,], [ 2.240576095347534e-8, -84.5999991114194, -2.462359989951603e-8,], [ 3.4741834896562287e-8, -86.39999903811324, -3.699626294365853e-8,], [ 7.17743561635895e-8, -88.19999896642595, -7.406539875617875e-8,], [ -2.3276062492073567e-9, -89.99999889663805, 0.0,], [ 179.99999992357002, -88.20000117096771, -179.99999992593416,], [ 179.99999996060305, -86.40000123613193, -179.99999996300377,], [ 179.99999997293904, -84.60000129859485, -179.9999999753764,], [ 179.99999997910098, -82.80000135811007, -179.999999981575,], [ 179.99999998279338, -81.00000141444269, -179.99999998530413,], [ 179.99999998525064, -79.20000146737038, -179.99999998779825,], [ 179.99999998700233, -77.40000151668428, -179.99999998958685,], [ 179.99999998831288, -75.60000156218972, -179.99999999093453,], [ 179.99999998932947, -73.80000160370713, -179.99999999198832,], [ 179.9999999901401, -72.00000164107269, -179.99999999283634,], [ 179.99999999080103, -70.20000167413889, -179.99999999353483,], [ 179.9999999913495, -68.40000170277528, -179.9999999941211,], [ 179.99999999181156, -66.6000017268688, -179.9999999946212,], [ 179.9999999922057, -64.80000174632438, -179.99999999505357,], [ 179.99999999254538, -63.00000176106529, -179.9999999954318,], [ 179.99999999284083, -61.2000017710333, -179.99999999576607,], [ 179.99999999309986, -59.40000177618903, -179.99999999606422,], [ 179.99999999332843, -57.60000177651218, -179.99999999633226,], [ 179.99999999353136, -55.800001772001536, -179.999999996575,], [ 179.99999999371244, -54.00000176267481, -179.99999999679628,], [ 179.99999999387472, -52.20000174856886, -179.99999999699926,], [ 179.9999999940208, -50.40000172973928, -179.9999999971864,], [ 179.99999999415272, -48.600001706260464, -179.99999999735982,], [ 179.99999999427217, -46.80000167822509, -179.99999999752134,], [ 179.99999999438066, -45.000001645743716, -179.9999999976724,], [ 179.99999999447937, -43.200001608944525, -179.99999999781423,], [ 179.99999999456938, -41.400001567972865, -179.99999999794792,], [ 179.99999999465152, -39.60000152299031, -179.99999999807443,], [ 179.99999999472664, -37.800001474174515, -179.9999999981945,], [ 179.9999999947953, -36.00000142171798, -179.99999999830888,], [ 179.99999999485817, -34.20000136582781, -179.99999999841813,], [ 179.99999999491564, -32.40000130672461, -179.99999999852284,], [ 179.99999999496822, -30.600001244641543, -179.99999999862345,], [ 179.99999999501622, -28.800001179823735, -179.99999999872037,], [ 179.99999999506005, -27.00000111252687, -179.99999999881405,], [ 179.99999999509996, -25.20000104301661, -179.9999999989047,], [ 179.9999999951362, -23.400000971567277, -179.99999999899276,], [ 179.999999995169, -21.600000898460827, -179.99999999907843,], [ 179.99999999519852, -19.80000082398582, -179.99999999916201,], [ 179.999999995225, -18.00000074843612, -179.99999999924373,], [ 179.99999999524854, -16.2000006721099, -179.99999999932376,], [ 179.99999999526926, -14.400000595308434, -179.99999999940235,], [ 179.99999999528734, -12.600000518334747, -179.9999999994797,], [ 179.99999999530283, -10.800000441492708, -179.99999999955597,], [ 179.99999999531582, -9.00000036508549, -179.99999999963134,], [ 179.99999999532628, -7.200000289414673, -179.99999999970595,], [ 179.9999999953344, -5.400000214778896, -179.99999999977996,], [ 179.99999999534018, -3.6000001414727185, -179.99999999985357,], [ 179.99999999534364, -1.8000000697854688, -179.99999999992684,], [ 179.99999999534478, 0.0, 180.0,], [ 179.99999999534364, 1.8000000676082393, 179.99999999992684,], [ 179.99999999534018, 3.6000001327724003, 179.99999999985357,], [ 179.99999999533443, 5.400000195235393, 179.99999999978,], [ 179.99999999532628, 7.200000254750583, 179.99999999970595,], [ 179.9999999953158, 9.000000311083221, 179.99999999963137,], [ 179.9999999953028, 10.800000364010923, 179.999999999556,], [ 179.99999999528734, 12.600000413324791, 179.9999999994797,], [ 179.9999999952693, 14.400000458830235, 179.99999999940238,], [ 179.99999999524854, 16.20000050034762, 179.99999999932376,], [ 179.999999995225, 18.000000537713174, 179.99999999924373,], [ 179.99999999519852, 19.800000570779407, 179.99999999916201,], [ 179.999999995169, 21.600000599415775, 179.99999999907843,], [ 179.9999999951362, 23.400000623509317, 179.99999999899276,], [ 179.99999999509996, 25.200000642964888, 179.9999999989047,], [ 179.99999999506005, 27.00000065770576, 179.99999999881405,], [ 179.99999999501625, 28.800000667673785, 179.9999999987204,], [ 179.99999999496822, 30.60000067282953, 179.99999999862345,], [ 179.99999999491567, 32.40000067315271, 179.99999999852287,], [ 179.99999999485814, 34.20000066864202, 179.99999999841816,], [ 179.9999999947953, 36.00000065931527, 179.99999999830888,], [ 179.99999999472664, 37.80000064520932, 179.9999999981945,], [ 179.99999999465155, 39.60000062637977, 179.99999999807443,], [ 179.99999999456938, 41.40000060290098, 179.99999999794792,], [ 179.9999999944794, 43.20000057486553, 179.99999999781426,], [ 179.99999999438066, 45.000000542384164, 179.9999999976724,], [ 179.9999999942722, 46.80000050558503, 179.99999999752134,], [ 179.99999999415272, 48.600000464613345, 179.99999999735982,], [ 179.9999999940208, 50.40000041963083, 179.9999999971864,], [ 179.99999999387472, 52.200000370814976, 179.99999999699926,], [ 179.99999999371246, 54.00000031835844, 179.99999999679633,], [ 179.99999999353136, 55.800000262468316, 179.999999996575,], [ 179.99999999332843, 57.60000020336503, 179.99999999633226,], [ 179.99999999309986, 59.40000014128204, 179.99999999606425,], [ 179.99999999284088, 61.20000007646416, 179.99999999576613,], [ 179.99999999254538, 63.00000000916735, 179.9999999954318,], [ 179.99999999220572, 64.79999993965713, 179.9999999950536,], [ 179.9999999918116, 66.59999986820772, 179.99999999462122,], [ 179.99999999134954, 68.39999979510134, 179.99999999412114,], [ 179.99999999080097, 70.1999997206263, 179.99999999353483,], [ 179.99999999014014, 71.99999964507658, 179.99999999283636,], [ 179.9999999893294, 73.79999956875044, 179.99999999198832,], [ 179.9999999883129, 75.59999949194889, 179.99999999093455,], [ 179.99999998700224, 77.39999941497523, 179.99999998958683,], [ 179.9999999852506, 79.1999993381332, 179.99999998779825,], [ 179.99999998279324, 80.99999926172599, 179.99999998530404,], [ 179.999999979101, 82.7999991860552, 179.99999998157506,], [ 179.99999997293904, 84.59999911141944, 179.9999999753764,], [ 179.9999999606029, 86.3999990381132, 179.99999996300363,], [ 179.99999992357, 88.19999896642597, 179.99999992593413,], [ -2.3276151303181915e-9, 89.99999889663805, 0.0,], [ 7.177468661953278e-8, 88.20000117096771, 7.406572032093512e-8,], [ 3.474187432209101e-8, 86.40000123613189, 3.699632781021398e-8,], [ 2.240572070339617e-8, 84.6000012985949, 2.462354903264555e-8,], [ 1.6243686818040752e-8, 82.8000013581101, 1.8424850996543242e-8,], [ 1.2551505504262275e-8, 81.00000141444269, 1.4695924406408746e-8,], [ 1.0094162507296909e-8, 79.20000146737036, 1.2201742985922289e-8,], [ 8.342524540906553e-9, 77.40000151668424, 1.0413166800106654e-8,], [ 7.0318832090663765e-9, 75.60000156218975, 9.06543208755421e-9,], [ 6.015349746750902e-9, 73.80000160370716, 8.011685472884273e-9,], [ 5.204670230497651e-9, 72.0000016410727, 7.163629348394133e-9,], [ 4.543791776286552e-9, 70.20000167413886, 6.465163616953228e-9,], [ 3.995292278149373e-9, 68.40000170277526, 5.878883970633444e-9,], [ 3.533213031055088e-9, 66.60000172686887, 5.378785949790533e-9,], [ 3.139092981346108e-9, 64.8000017463244, 4.946413687163495e-9,], [ 2.7993981899301405e-9, 63.00000176106531, 4.568191468542258e-9,], [ 2.5039176900913398e-9, 61.20000177103326, 4.233903595490702e-9,], [ 2.2449325381434003e-9, 59.40000177618903, 3.935783970070716e-9,], [ 2.016356269613632e-9, 57.60000177651226, 3.6677267502896843e-9,], [ 1.813420609037209e-9, 55.80000177200155, 3.4249630532520807e-9,], [ 1.632361575033125e-9, 54.00000176267483, 3.2036780318735884e-9,], [ 1.4700498986515549e-9, 52.20000174856882, 3.000741908670564e-9,], [ 1.324002092935759e-9, 50.400001729739266, 2.8136083414391605e-9,], [ 1.1920742631954092e-9, 48.60000170626052, 2.640154146606156e-9,], [ 1.0726151965406474e-9, 46.80000167822509, 2.4786568615508345e-9,], [ 9.64143650701948e-10, 45.00000164574372, 2.3276106632456293e-9,], [ 8.654103185145727e-10, 43.20000160894453, 2.1857768679759893e-9,], [ 7.754168400715444e-10, 41.40000156797284, 2.052068103717722e-9,], [ 6.932506121850626e-10, 39.6000015229904, 1.925564954546631e-9,], [ 6.181577535244908e-10, 37.800001474174515, 1.8054762473906158e-9,], [ 5.494837882902892e-10, 36.00000142171799, 1.6911046520995125e-9,], [ 4.866388852334244e-10, 34.20000136582782, 1.5818382668423341e-9,], [ 4.2915564386873423e-10, 32.4000013067246, 1.4771462519271994e-9,], [ 3.765747653552838e-10, 30.600001244641607, 1.3765420202519596e-9,], [ 3.285425534444469e-10, 28.80000117982372, 1.279615885008308e-9,], [ 2.847348387460312e-10, 27.000001112526885, 1.1859769557758895e-9,], [ 2.4482217016978336e-10, 25.200001043016584, 1.0952877840356232e-9,], [ 2.0859539292118303e-10, 23.400000971567266, 1.007245483632248e-9,], [ 1.758016522866541e-10, 21.60000089846089, 9.215659309063738e-10,], [ 1.46256094720085e-10, 19.80000082398581, 8.379882117017236e-10,], [ 1.19779059803571e-10, 18.000000748436143, 7.562860032926348e-10,], [ 9.624698032427762e-11, 16.200000672109876, 6.762326443586091e-10,], [ 7.549921948492607e-11, 14.400000595308422, 5.976287160030013e-10,], [ 5.744590156847459e-11, 12.600000518334811, 5.202818357701123e-10,], [ 4.197256536239957e-11, 10.800000441492708, 4.440148941275927e-10,], [ 2.9022477202089583e-11, 9.000000365085503, 3.6865689378044706e-10,], [ 1.8511551175247366e-11, 7.200000289414647, 2.940443010207834e-10,], [ 1.0370668193220982e-11, 5.400000214778883, 2.200244715533041e-10,], [ 4.613921328141424e-12, 3.600000141472782, 1.464408025429388e-10,], [ 1.1520714321380717e-12, 1.8000000697854688, 7.314727693915686e-11,],] + +[settings.debug] +validation = true +vsync = false +headless = false +outputPNGimage = false +debugMode = true diff --git a/src/render/render.cpp b/src/render/render.cpp index a2f327b..6187d39 100644 --- a/src/render/render.cpp +++ b/src/render/render.cpp @@ -203,8 +203,8 @@ PlumageRender::PlumageRender() models.scene.loadFromFile(filename, vulkanDevice, queue); auto tFileLoad = std::chrono::duration(std::chrono::high_resolution_clock::now() - tStart).count(); std::cout << "Loading took " << tFileLoad << " ms" << std::endl; - camera.setPosition({ 0.0f, 0.0f, -2.0f }); - camera.setRotation({ 0.0f, 0.0f, 0.0f }); + camera.setPosition(settings.cameraTracks[0]); + camera.setRotation(settings.cameraAngle[0]); } void PlumageRender::loadEnvironment(std::string filename) @@ -1495,7 +1495,7 @@ PlumageRender::PlumageRender() float scale = (1.0f / modelSize ) * 0.5f; glm::vec3 translate = -glm::vec3(models.scene.aabb[3][0], models.scene.aabb[3][1], models.scene.aabb[3][2]); translate += -0.5f * glm::vec3(models.scene.aabb[0][0], models.scene.aabb[1][1], models.scene.aabb[2][2]); - + translate += -0.5f * settings.bottomCenter; //camera.setPosition(glm::vec3(0, 0, -modelSize - 2)); shaderDataScene.model = glm::mat4(1.0f); @@ -1990,8 +1990,7 @@ PlumageRender::PlumageRender() //outputImageSequeue(swapChainImage,filePath.imageSequenceFilePath); - outputImageSequence(); - imageSequenceToVideo(); + VK_CHECK_RESULT(vkWaitForFences(device, 1, &waitFences[frameIndex], VK_TRUE, UINT64_MAX)); @@ -2029,7 +2028,9 @@ PlumageRender::PlumageRender() submitInfo.pCommandBuffers = &commandBuffers[currentBuffer]; submitInfo.commandBufferCount = 1; VK_CHECK_RESULT(vkQueueSubmit(queue, 1, &submitInfo, waitFences[frameIndex])); - + + outputImageSequence(); + imageSequenceToVideo(); //鏄剧ず闃熷垪 /* VkResult present = swapChain.queuePresent(queue, currentBuffer, renderCompleteSemaphores[frameIndex]); @@ -2302,7 +2303,7 @@ PlumageRender::PlumageRender() for (int32_t i = 0; i < argc; i++) { PlumageRender::args.push_back(argv[i]); }; PlumageConfig::PlumageConfiguration config; //config.writrConfigurationToJson(); - //config.readConfigurationFromJson(config.filePath.configFilePath); + //config.readConfigurationFromToml(config.filePath.configFilePath,config.settings); plumageRender = new PlumageRender(); std::cout << "start to init vulkan" << std::endl; plumageRender->initVulkan();