diff --git a/base/camera.hpp b/base/camera.hpp index 1a96713..a62449d 100644 --- a/base/camera.hpp +++ b/base/camera.hpp @@ -41,7 +41,7 @@ private: } else { - matrices.view = transM * rotM; + matrices.view = LookAt(position, to, up, true, true); } viewPos = glm::vec4(position, 0.0f) * glm::vec4(-1.0f, 1.0f, -1.0f, 1.0f); @@ -55,7 +55,11 @@ public: glm::vec3 rotation = glm::vec3(); glm::vec3 position = glm::vec3(); glm::vec4 viewPos = glm::vec4(); - glm::mat3 rotationMatrix = glm::mat3(); + glm::vec3 from = glm::vec3(); + glm::vec3 to = glm::vec3(); + glm::vec3 up = glm::vec3(); + glm::mat4 rotationMatrix = glm::mat4(); + float rotationSpeed = 1.0f; float movementSpeed = 1.0f; @@ -90,6 +94,151 @@ public: return zfar; } + void setTo(glm::vec3 to) + { + this->to = to; + } + + void setUp(glm::vec3 up) + { + this->up = up; + } + /* + 方案来源: + https://zhuanlan.zhihu.com/p/635801612 + */ + + glm::mat4 GetProjectionMatrixFromClip(float zleft, float zright, float zbottom, float ztop, float znear, float zfar, bool zPositive) + { + if (zPositive) + { + float A = -(zfar + znear) / (znear - zfar); + float B = 2 * (zfar * znear) / (znear - zfar); + glm::mat4 T = glm::mat4( + 2 * znear / (zright - zleft), 0, -(zright + zleft) / (zright - zleft), 0, + 0, 2 * znear / (ztop - zbottom), -(ztop + zbottom) / (ztop - zbottom), 0, + 0, 0, A, B, + 0, 0, 1, 0); + T = glm::transpose(T); // let's transpose it back to column major + return T; + } + else + { + float A = (zfar + znear) / (znear - zfar); + float B = 2 * (zfar * znear) / (znear - zfar); + glm::mat4 T = glm::mat4( + 2 * znear / (zright - zleft), 0, (zright + zleft) / (zright - zleft), 0, + 0, 2 * znear / (ztop - zbottom), (ztop + zbottom) / (ztop - zbottom), 0, + 0, 0, A, B, + 0, 0, -1, 0); + T = glm::transpose(T); // let's transpose it back to column major + return T; + } + } + + void setProjectionMatrix(float fx, float fy, float u0, float v0, float znear, float zfar, float viewWidth, float viewHeight, bool zPositive, bool rightHand) + { + float l = -u0 / fx * znear; + float r = (viewWidth - u0) / fx * znear; + float t = -v0 / fy * znear; + float b = (viewHeight - v0) / fy * znear; + glm::mat4 perspective = glm::mat4(); + if (rightHand) + { + if (zPositive) + { // right hand system and z positive, usually used in 3d reconstruction/SFM/SLAM + perspective = GetProjectionMatrixFromClip(l, r, b, t, znear, zfar, zPositive); + } + else + { // right hand system, z negative, usually used in OpenGL + perspective = GetProjectionMatrixFromClip(l, r, -b, -t, znear, zfar, zPositive); + } + } + else + { + if (zPositive) + { // left hand system, z positive + perspective = GetProjectionMatrixFromClip(l, r, -b, -t, znear, zfar, zPositive); + } + else + { // left hand system, z negative + perspective = GetProjectionMatrixFromClip(l, r, b, t, znear, zfar, zPositive); + } + } + matrices.perspective = perspective; + } + + glm::mat4 LookAt(const glm::vec3& from, const glm::vec3& to, const glm::vec3& up, bool zPositive, bool rightHand) + { + this->from = from; + this->to = to; + this->up = up; + // we stands on "from" and look at "to" + // if zPositive = true, the destination is in the area of the positive half-axis of z, otherwise it is negative + // if rightHand = true, the coordinate system is right-handed, otherwise it is left-handed + glm::vec3 zAxis = glm::normalize(to - from); + glm::vec3 yAxis = glm::normalize(up); + glm::vec3 xAxis; + + if (rightHand) + { + if (zPositive) + { // rightHand = true and zPositive = true, usually used in 3d reconstruction + yAxis = -yAxis; + } + else + { // rightHand = true and zPositive = false, usually used in OpenGL + zAxis = -zAxis; + } + } + else + { // left-hand + if (!zPositive) + { + zAxis = -zAxis; + yAxis = -yAxis; + } + } + + xAxis = glm::normalize(glm::cross(yAxis, zAxis)); + yAxis = glm::normalize(glm::cross(zAxis, xAxis)); + + // glm matrix is column major, so if you set like this, you will notice that the matrix is transposed when you use it. + glm::mat3 R = glm::mat3( + xAxis.x, xAxis.y, xAxis.z, + yAxis.x, yAxis.y, yAxis.z, + zAxis.x, zAxis.y, zAxis.z + ); + R = glm::transpose(R); // Let's transpose it back + glm::vec3 t = -R * from; // t = -R * from; + + glm::mat4 m = glm::mat4( + xAxis.x, xAxis.y, xAxis.z, t.x, + yAxis.x, yAxis.y, yAxis.z, t.y, + zAxis.x, zAxis.y, zAxis.z, t.z, + 0, 0, 0, 1); + m = glm::transpose(m); // Let's transpose it back + return m; + } + + /* + GDC2007方案:Koshy George + */ + void setPerspective(float fx, float fy, float cx, float cy, float znear, float zfar) + { + this->znear = znear; + this->zfar = zfar; + float A = -(zfar + znear) / (znear - zfar); + float B = 2 * (zfar * znear) / (znear - zfar); + glm::mat4 persepctive = glm::mat4(glm::vec4(fx / cx, 0, 0, 0), + glm::vec4(0, fy / cy, 0, 0), + glm::vec4(0, 0, A, B), + glm::vec4(0, 0, 1, 0)); + matrices.perspective = persepctive; + + } + + void setPerspective(float fov, float aspect, float znear, float zfar) { this->fov = fov; diff --git a/base/renderConfig.cpp b/base/renderConfig.cpp index 81899fc..8dc2264 100644 --- a/base/renderConfig.cpp +++ b/base/renderConfig.cpp @@ -18,14 +18,17 @@ void PlumageConfig::PlumageConfiguration::readConfigurationFromToml(std::string 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"); + settings.calibrationWidth = toml::find(camera, "cam_width"); + settings.calibrationHeight = toml::find(camera, "cam_height"); + std::string fX = toml::find(camera, "fx"); + std::string fY = toml::find(camera, "fy"); 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"); @@ -38,6 +41,8 @@ void PlumageConfig::PlumageConfiguration::readConfigurationFromToml(std::string conversion */ size_t sz; + settings.fX = std::stof(fX, &sz); + settings.fY = std::stof(fY, &sz); settings.cX = std::stof(cX, &sz); settings.cY = std::stof(cY, &sz); settings.bottomCenter = glm::vec3(bottomCenter[0], -bottomCenter[1], -bottomCenter[2]); @@ -55,6 +60,12 @@ void PlumageConfig::PlumageConfiguration::readConfigurationFromToml(std::string glm::vec3(cameraAngle[i][2][0], cameraAngle[i][2][1], cameraAngle[i][2][2])); } + float ratioX = settings.width / settings.calibrationWidth; + float ratioY = settings.height / settings.calibrationWidth; + settings.fX = settings.fX * ratioX; + settings.fY = settings.fY * ratioY; + settings.cX = settings.cX * ratioX; + settings.cY = settings.cY * ratioY; } PlumageConfig::PlumageConfiguration::PlumageConfiguration() diff --git a/base/renderConfig.h b/base/renderConfig.h index 3814586..d55770b 100644 --- a/base/renderConfig.h +++ b/base/renderConfig.h @@ -40,11 +40,14 @@ namespace PlumageConfig uint32_t videoFrameRate = 25; // 视频帧率 uint32_t selectedPhysicalDeviceIndex = 7; - + float fX = 565.5f; + float fY = 516.3f; float fovX = 1.f; float fovY = 1.f; - float cX = 2.f; - float cY = 0.f; + float cX = 328.2f; + float cY = 238.8f; + int calibrationWidth = 640.0f; + int calibrationHeight = 480.0f; 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 }; @@ -127,7 +130,7 @@ namespace PlumageConfig std::string hdr2ktxShFilePath = getAssetPath() + "script/hdr2ktxShFilePath.sh"; // 配置文件路径,命令行传入后保存在这 //std::string configFilePath = getAssetPath() + "config/guanzi.toml"; - std::string configFilePath = getAssetPath() + "config/fangshai_traj1_matrix.toml"; + std::string configFilePath = getAssetPath() + "config/yukino_traj1_matrix.toml"; } filePath; diff --git a/data/config/fangshai_traj1_matrix.toml b/data/config/fangshai_traj1_matrix.toml index 3bfa6c6..b122815 100644 --- a/data/config/fangshai_traj1_matrix.toml +++ b/data/config/fangshai_traj1_matrix.toml @@ -11,7 +11,7 @@ videoFrameRate = 24 selectedPhysicalDeviceIndex = 7 [FilePath] -glTFModelFilePath = "./data/models/DamagedHelmet/DamagedHelmet.gltf" +glTFModelFilePath = "./data/models/kettle.glb" envMapFilePath = "./data/environments/metro_noord_4k_hdr16f_cube.ktx" imageOutputPath = "./data/output/imageSequence" videoOutputPath = "./data/output/video" diff --git a/data/config/yukino_traj1_matrix.toml b/data/config/yukino_traj1_matrix.toml new file mode 100644 index 0000000..839e177 --- /dev/null +++ b/data/config/yukino_traj1_matrix.toml @@ -0,0 +1,38 @@ +[settings] +width = 1080 +height = 720 +multiSampling = false +sampleCount = 4 +rotateModel = false +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 = 1.0 +fovY = 1.0 +cX = "360.0" +cY = "640.0" +bottomCenter = [ -0.20879337125178765, 2.3087555899516596, 2.473949654089369,] +bottomNormal = [ -0.011641082353889942, -0.7463688850402832, -0.6654307246208191,] +cameraTracks = [ [ -3.705986797046532, 1.1843115623358687, -8.36887870193848,], [ -3.4736110010816126, 1.2510175652581217, -8.447763533765812,], [ -3.2381062236977414, 1.3128047630183273, -8.521186011271864,], [ -2.99970487967736, 1.3696121791119555, -8.589073675335742,], [ -2.7586422423644748, 1.4213837514777645, -8.651359529029186,], [ -2.515156211478267, 1.4680683878242855, -8.707982103734471,], [ -2.2694870783347976, 1.5096200160517517, -8.758885519806482,], [ -2.021877288708485, 1.5459976297196898, -8.804019541719203,], [ -1.7725712035673973, 1.5771653285153302, -8.843339627642102,], [ -1.5218148579184825, 1.6030923536828876, -8.876806973397546,], [ -1.2698557180007137, 1.6237531183787257, -8.904388550755833,], [ -1.0169424370657945, 1.639127232922497, -8.926057140030078,], [ -0.7633246099874174, 1.6491995249192835, -8.941791356938747,], [ -0.5092525269412583, 1.6539600542329285, -8.951575673709364,], [ -0.2549769263987881, 1.6534041227957446, -8.955400434402554,], [ -0.0007487476786774971, 1.6475322792449416, -8.953261864441279,], [ 0.2531811167000181, 1.6363503183811894, -8.945162074335899,], [ 0.5065620686184785, 1.6198692754498438, -8.93110905760135,], [ 0.7591440516682143, 1.5981054152504985, -8.911116682868505,], [ 1.0106777979265478, 1.5710802160855883, -8.885204680197521,], [ 1.2609150739539596, 1.538820348563896, -8.853398621606637,], [ 1.509608925770523, 1.5013576492798852, -8.815729895835691,], [ 1.7565139225696678, 1.458729089394823, -8.772235677369219,], [ 2.0013863989287533, 1.410976738150707, -8.722958889749723,], [ 2.243984695277428, 1.3581477213530042, -8.66794816321733,], [ 2.4840693963864404, 1.3002941748631676, -8.607257786717602,], [ 2.721403567641575, 1.2374731931468432, -8.540947654324903,], [ 2.9557529888695053, 1.169746772928513, -8.469083206134185,], [ 3.1868863854848244, 1.0971817520082232, -8.391735363679516,], [ 3.4145756567301504, 1.0198497433007414, -8.308980459943076,], [ 3.6385961007840186, 0.9378270641622563, -8.220900164023737,], [ 3.858726636514467, 0.8511946610743577, -8.127581400539505,], [ 4.074750021659411, 0.7600380297596364, -8.029116263843427,], [ 4.28645306721853, 0.6644471308077289, -7.925601927137588,], [ 4.493626847845081, 0.5645163008950685, -7.817140546574874,], [ 4.696066908029971, 0.46034415968598713, -7.703839160443201,], [ 4.893573463874688, 0.35203351250700105, -7.585809583531637,], [ 5.085951600253865, 0.2396912488903729, -7.463168296782713,], [ 5.273011463172995, 0.12342823708704631, -7.336036332339786,], [ 5.454568447131384, 0.003359214653069216, -7.204539154102934,], [ 5.630443377305504, -0.12039732478252607, -7.068806533911232,], [ 5.800462686372913, -0.2477192484566242, -6.928972423473608,], [ 5.964458585802241, -0.37848090500232107, -6.78517482217469,], [ 6.122269231440218, -0.5125532484516532, -6.637555640886061,], [ 6.273738883232307, -0.6498039655883849, -6.486260561917379,], [ 6.418718058919341, -0.7900976065251819, -6.331438895245506,], [ 6.557063681558468, -0.9332957183762977, -6.173243431163601,], [ 6.68863922072281, -1.0792569818938507, -6.011830289495545,], [ 6.8133148272405215, -1.227837350932869, -5.847358765524516,], [ 6.930967461340236, -1.3788901946074343, -5.679991172787789,], [ 7.041481014076472, -1.5322664419976695, -5.50989268289286,], [ 7.144746421915142, -1.6878147292647416, -5.3372311625130155,], [ 7.240661774366092, -1.8453815490286885, -5.162177007723194,], [ 7.329132414556457, -2.0048114018616787, -4.984902975839624,], [ 7.410071032645557, -2.165946949747163, -4.8055840149292255,], [ 7.483397751989173, -2.328629171353507, -4.624397091156978,], [ 7.54904020796816, -2.4926975189688525, -4.441521014141678,], [ 7.606933619403573, -2.6579900769423106, -4.257136260492446,], [ 7.657020852487884, -2.824343721475179, -4.07142479570009,], [ 7.69925247716914, -2.991594281604417, -3.8845698945591467,], [ 7.73358681593247, -3.159576701219584, -3.696755960297776,], [ 7.7599899849307485, -3.3281252019532848, -3.50816834259404,], [ 7.778435927423868, -3.4970734467843996, -3.318993154658157,], [ 7.788906439493592, -3.6662547041926525, -3.1294170895612177,], [ 7.791391188008629, -3.835502012702479, -2.9396272359916815,], [ 7.78588772082218, -4.004648345653854, -2.7498108936214147,], [ 7.77240146919192, -4.173526776037443, -2.5601553882635293,], [ 7.750945742419989, -4.341970641231397, -2.3708478870044263,], [ 7.721541714718334, -4.509813707477241, -2.182075213492479,], [ 7.6842184043123005, -4.676890333932528, -1.994023663565645,], [ 7.639012644803165, -4.843035636138356, -1.806878821399961,], [ 7.585969048817806, -5.008085648740412, -1.6208253763603722,], [ 7.5251399639814265, -5.1718774873029885, -1.436046940734628,], [ 7.4565854212567775, -5.334249509056251, -1.2527258685301212,], [ 7.380373075700839, -5.495041472418137, -1.0710430755125013,], [ 7.296578139697445, -5.654094695133466, -0.8911778606636382,], [ 7.2052833087317465, -5.811252210874143, -0.713307729235201,], [ 7.106578679779749, -5.966358924145983, -0.5376082175723916,], [ 7.000561662393472, -6.119261763349254, -0.3642527198807586,], [ 6.88733688256949, -6.269809831841841, -0.1934123171070644,], [ 6.767016079495688, -6.4178545568560335, -0.025255608103029376,], [ 6.6397179952782, -6.563249836121901, 0.14005145676136466,], [ 6.505568257757265, -6.7058521820525865, 0.3023457393708539,], [ 6.364699256527716, -6.845520863349252, 0.46146707486253535,], [ 6.217250012286455, -6.9821180438858566, 0.6172584296892246,], [ 6.063366039635777, -7.115508918736794, 0.7695660565926336,], [ 5.903199203478053, -7.24556184721306, 0.9182396463333266,], [ 5.736907569143398, -7.372148482775724, 1.0631324760278071,], [ 5.564655246398263, -7.4951438996984825, 1.2041015539462967,], [ 5.386612227488929, -7.614426716354243, 1.3410077606282853,], [ 5.202954219379656, -7.729879215004161, 1.4737159861766707,], [ 5.013862470351154, -7.841387457970815, 1.602095263594893,], [ 4.819523591130391, -7.948841400080949, 1.7260188980355555,], [ 4.620129370728337, -8.052134997266776, 1.845364591832952,], [ 4.415876587167381, -8.151166311218654, 1.9600145651960776,], [ 4.206966813285149, -8.245837609985918, 2.0698556724430905,], [ 3.9936062178064855, -8.336055464426481, 2.1747795136624117,], [ 3.7760053618797933, -8.421730840410143, 2.274682541690363,], [ 3.5543789912785972, -8.502779186684531, 2.3694661642997255,], [ 3.328945824473414, -8.579120518316948, 2.4590368414983432,], [ 3.099928336782991, -8.650679495629875, 2.5433061778418256,], [ 2.8675525408180693, -8.717385498552128, 2.6221910096691596,], [ 2.6320477634342, -8.779172696312335, 2.695613487175212,], [ 2.3936464194138165, -8.835980112405963, 2.763501151239089,], [ 2.152583782100936, -8.887751684771771, 2.825787004932534,], [ 1.909097751214726, -8.934436321118293, 2.8824095796378173,], [ 1.6634286180712539, -8.97598794934576, 2.933312995709829,], [ 1.4158188284449431, -9.012365563013697, 2.9784470176225497,], [ 1.1665127433038536, -9.043533261809339, 3.0177671035454505,], [ 0.9157563976549433, -9.069460286976895, 3.0512344493008934,], [ 0.6637972577371728, -9.090121051672734, 3.078816026659181,], [ 0.41088397680225186, -9.105495166216507, 3.100484615933427,], [ 0.15726614972387604, -9.11556745821329, 3.1162188328420934,], [ -0.0968059333222856, -9.120327987526935, 3.126003149612711,], [ -0.35108153386475094, -9.119772056089753, 3.1298279103059006,], [ -0.6053097125848642, -9.11390021253895, 3.127689340344625,], [ -0.8592395769635611, -9.102718251675196, 3.119589550239245,], [ -1.1126205288820197, -9.086237208743851, 3.105536533504696,], [ -1.365202511931758, -9.064473348544507, 3.0855441587718526,], [ -1.6167362581900866, -9.037448149379596, 3.0596321561008692,], [ -1.8669735342175002, -9.005188281857903, 3.0278260975099847,], [ -2.115667386034066, -8.967725582573893, 2.990157371739038,], [ -2.362572382833209, -8.92509702268883, 2.9466631532725645,], [ -2.6074448591922974, -8.877344671444712, 2.8973863656530705,], [ -2.8500431555409675, -8.824515654647012, 2.8423756391206787,], [ -3.090127856649982, -8.766662108157178, 2.7816852626209503,], [ -3.3274620279051184, -8.70384112644085, 2.715375130228249,], [ -3.561811449133046, -8.63611470622252, 2.6435106820375323,], [ -3.792944845748368, -8.563549685302231, 2.566162839582862,], [ -4.020634116993692, -8.486217676594748, 2.4834079358464236,], [ -4.244654561047559, -8.404194997456264, 2.3953276399270846,], [ -4.464785096778014, -8.317562594368365, 2.3020088764428506,], [ -4.68080848192295, -8.226405963053645, 2.2035437397467783,], [ -4.892511527482075, -8.130815064101734, 2.1000294030409346,], [ -5.099685308108622, -8.030884234189076, 1.991568022478221,], [ -5.302125368293513, -7.926712092979995, 1.8782666363465481,], [ -5.499631924138233, -7.818401445801006, 1.760237059434982,], [ -5.692010060517406, -7.706059182184382, 1.6375957726860628,], [ -5.879069923436537, -7.589796170381054, 1.5104638082431332,], [ -6.0606269073949255, -7.4697271479470775, 1.3789666300062826,], [ -6.236501837569045, -7.3459706085114815, 1.243234009814579,], [ -6.406521146636457, -7.2186486848373805, 1.1033998993769532,], [ -6.570517046065781, -7.0878870282916875, 0.9596022980780392,], [ -6.728327691703756, -6.9538146848423565, 0.8119831167894125,], [ -6.879797343495849, -6.816563967705623, 0.660688037820726,], [ -7.024776519182882, -6.676270326768826, 0.5058663711488538,], [ -7.1631221418220115, -6.533072214917707, 0.34767090706694576,], [ -7.294697680986354, -6.387110951400154, 0.18625776539888872,], [ -7.419373287504061, -6.238530582361141, 0.02178624142786751,], [ -7.537025921603777, -6.087477738686574, -0.14558135130886368,], [ -7.647539474340013, -5.934101491296339, -0.31567984120379133,], [ -7.750804882178685, -5.778553204029263, -0.4883413615836403,], [ -7.846720234629636, -5.620986384265317, -0.663395516373462,], [ -7.935190874819997, -5.461556531432333, -0.8406695482570241,], [ -8.0161294929091, -5.300420983546845, -1.019988509167426,], [ -8.089456212252715, -5.137738761940501, -1.2011754329396738,], [ -8.155098668231703, -4.973670414325153, -1.3840515099549777,], [ -8.212992079667115, -4.808377856351694, -1.5684362636042095,], [ -8.263079312751426, -4.642024211818833, -1.7541477283965576,], [ -8.305310937432683, -4.474773651689591, -1.9410026295375054,], [ -8.339645276196013, -4.306791232074424, -2.128816563798876,], [ -8.366048445194293, -4.1382427313407195, -2.3174041815026154,], [ -8.384494387687411, -3.969294486509605, -2.506579369438499,], [ -8.394964899757134, -3.800113229101359, -2.6961554345354304,], [ -8.397449648272172, -3.6308659205915292, -2.88594528810497,], [ -8.391946181085723, -3.4617195876401534, -3.0757616304752373,], [ -8.378459929455461, -3.292841157256561, -3.2654171358331276,], [ -8.35700420268353, -3.1243972920626093, -3.454724637092228,], [ -8.327600174981876, -2.956554225816772, -3.6434973106041673,], [ -8.290276864575844, -2.7894775993614793, -3.8315488605310066,], [ -8.245071105066708, -2.623332297155652, -4.018693702696691,], [ -8.192027509081347, -2.458282284553592, -4.204747147736284,], [ -8.13119842424497, -2.2944904459910176, -4.389525583362026,], [ -8.062643881520323, -2.1321184242377615, -4.572846655566526,], [ -7.986431535964381, -1.971326460875869, -4.754529448584153,], [ -7.902636599960988, -1.812273238160542, -4.934394663433014,], [ -7.8113417689952875, -1.6551157224198636, -5.112264794861453,], [ -7.712637140043289, -1.5000090091480232, -5.287964306524262,], [ -7.6066201226570165, -1.3471061699447582, -5.461319804215888,], [ -7.493395342833029, -1.1965581014521658, -5.632160206989589,], [ -7.373074539759231, -1.0485133764379737, -5.800316915993623,], [ -7.2457764555417405, -0.9031180971721049, -5.965623980858019,], [ -7.111626718020805, -0.7605157512414186, -6.1279182634675085,], [ -6.970757716791263, -0.6208470699447599, -6.287039598959183,], [ -6.8233084725499955, -0.4842498894081498, -6.442830953785879,], [ -6.6694244998993195, -0.35085901455721347, -6.5951385806892855,], [ -6.509257663741593, -0.2208060860809471, -6.7438121704299805,], [ -6.342966029406938, -0.09421945051828226, -6.888705000124462,], [ -6.170713706661811, 0.028775966404471255, -7.0296740780429445,], [ -5.992670687752469, 0.14805878306023673, -7.166580284724939,], [ -5.809012679643199, 0.2635112817101526, -7.299288510273324,], [ -5.619920930614693, 0.37501952467680855, -7.427667787691546,], [ -5.425582051393931, 0.48247346678694325, -7.55159142213221,], [ -5.226187830991885, 0.5857670639727649, -7.6709371159296,], [ -5.0219350474309215, 0.6847983779246496, -7.785587089292732,], [ -4.813025273548692, 0.7794696766919101, -7.8954281965397435,], [ -4.599664678070025, 0.8696875311324752, -8.000352037759065,], [ -4.382063822143333, 0.9553629071161387, -8.100255065787016,], [ -4.160437451542147, 1.0364112533905216, -8.195038688396375,], [ -3.9350042847369533, 1.1127525850229403, -8.284609365594996,],] +cameraAngle = [ [ [ 0.9072772018155284, 0.26805607328426584, -0.32402780843811113,], [ 0.2718823199458732, -0.9617182020722993, -0.0343235182298339,], [ -0.32082406887051795, -0.05695648670910266, -0.9454247063913238,],], [ [ 0.9200337173711051, 0.24915323948729923, -0.3024245726677812,], [ 0.25266722985963597, -0.967144466924982, -0.02812207409580693,], [ -0.29949495797986897, -0.05053952264690155, -0.9527583779716974,],], [ [ 0.9318822706737956, 0.22999587557553142, -0.2805304454459359,], [ 0.23320278766494634, -0.9721706067970448, -0.02237791556789362,], [ -0.2778702816588137, -0.04456689913052622, -0.959584231880006,],], [ [ 0.9428111686244711, 0.21060288755825826, -0.25836703363448393,], [ 0.2135082024189397, -0.9767916614907307, -0.017096711438484243,], [ -0.25597138085495413, -0.03904451042465971, -0.9658955318195166,],], [ [ 0.9528096257131681, 0.19099341397800335, -0.2359562098469957,], [ 0.19360291030259447, -0.981003070578664, -0.012283673619811005,], [ -0.23381986714284567, -0.03397780646627323, -0.9716860492962953,],], [ [ 0.9618677746631441, 0.17118680702305109, -0.21332009086305884,], [ 0.17350655543954424, -0.9848006779044789, -0.00794355200040591,], [ -0.21143760139595644, -0.02937178748614854, -0.9769500697660004,],], [ [ 0.9699766761687438, 0.15120261342913185, -0.1904810158016709,], [ 0.15323897050967253, -0.9881807356844788, -0.004080629757520523,], [ -0.18884667221259574, -0.02523099907420969, -0.9816823982734668,],], [ [ 0.9771283277174664, 0.13106055518910725, -0.16746152407520562,], [ 0.13282015717662127, -0.9911399082062808, -0.0006987191301355797,], [ -0.16606937411710004, -0.021559527693531776, -0.9858783645795187,],], [ [ 0.9833156714875261, 0.11078051008969278, -0.14428433314571365,], [ 0.11227026634853017, -0.993675275120791, 0.0021988423432702715,], [ -0.14312818555779255, -0.018360996647457342, -0.9895338277699486,],], [ [ 0.988532601313113, 0.09038249209442659, -0.12097231610550717,], [ 0.0916095782914872, -0.995784334324263, 0.004609195118478748,], [ -0.12004574672342923, -0.015638562503799497, -0.9926451803421144,],], [ [ 0.9927739687104796, 0.06988663159224436, -0.0975484791041544,], [ 0.07085848261531527, -0.9974650044275974, 0.006529960467564471,], [ -0.09684483720002217, -0.013394911979658686, -0.9952093517651242,],], [ [ 0.9960355879589032, 0.049313155531153, -0.0740359386441618,], [ 0.05003745815144861, -0.998715626810441, 0.007959242826421147,], [ -0.07354835349009388, -0.011632259289932532, -0.9972238115100883,],], [ [ 0.9983142402315153, 0.028682367456609667, -0.05045789876775014,], [ 0.029167052742755988, -0.9995349672580615, 0.008895631665459541,], [ -0.05017928641654635, -0.010352343962130259, -0.9986865715474581,],], [ [ 0.9996076767719133, 0.008014627474305638, -0.026837628157238058,], [ 0.008267862965256568, -0.999922217179381, 0.009338202881635616,], [ -0.026760698433445466, -0.009556429119653119, -0.9995961883089768,],], [ [ 0.999914621113428, -0.012669667842869475, -0.0031984371716329385,], [ -0.012639486198259104, -0.9998769944049676, 0.009286519710431238,], [ -0.0033157008661128923, -0.009245300235231377, -0.9999517641123131,],], [ [ 0.9992347703388493, -0.03335010558385284, 0.020436345157907806,], [ -0.033534361712642236, -0.9993993435641942, 0.008740633156890045,], [ 0.020132568897012357, -0.009419264355750839, -0.999752948046968,],], [ [ 0.9975687953793699, -0.05400627664455853, 0.04404339415104372,], [ -0.0543961428527466, -0.9984897360411952, 0.007701081945281909,], [ 0.04356097023823465, -0.010078149799232688, -0.9989999363205825,],], [ [ 0.9949183403524545, -0.07461779586926968, 0.06759941249692351,], [ -0.07520424155363997, -0.9971490695096641, 0.006168891987445302,], [ 0.06694638214764845, -0.01122130632426542, -0.9976934720653023,],], [ [ 0.9912860209392826, -0.09516432216839686, 0.09108115324584788,], [ -0.09593812272858443, -0.9953786670469505, 0.004145575370333868,], [ 0.09026572604083527, -0.012847605771723312, -0.9958348446043929,],], [ [ 0.9866754218033698, -0.115625578592746, 0.11446544275123015,], [ -0.11657732453473134, -0.9931802758283304, 0.0016331288637644998,], [ 0.11349598853468944, -0.014955443178135965, -0.9934258881798276,],], [ [ 0.9810910930529149, -0.13598137234448665, 0.13772920353921572,], [ -0.13710147856653346, -0.9905560654027394, -0.0013659680501594278,], [ 0.136614244158898, -0.01754273835961124, -0.9904689801421038,],], [ [ 0.9745385457503645, -0.15621161470506958, 0.16084947708338887,], [ -0.157490329956943, -0.9875086255516718, -0.004848755624004467,], [ 0.1595976779806585, -0.020606937964748447, -0.9869670386040756,],], [ [ 0.9670242464736241, -0.17629634086042842, 0.18380344646209232,], [ -0.17772375736655965, -0.9840409637333539, -0.008811796765929296,], [ 0.18242360812030836, -0.024145017994514836, -0.9829235195611166,],], [ [ 0.9585556109342874, -0.19621572960389874, 0.20656845887599778,], [ -0.1977817928410002, -0.9801565021147217, -0.013251180431689314,], [ 0.20506950813564356, -0.02815348678659884, -0.9783424134804551,],], [ [ 0.9491409966591794, -0.21595012289740995, 0.2291220480037068,], [ -0.21764464151689333, -0.9758590741941238, -0.018162525484376,], [ 0.22751302925283726, -0.032628388461294816, -0.9732282413630506,],], [ [ 0.9387896947424377, -0.23548004527164482, 0.2514419561733175,], [ -0.2372927011570511, -0.9711529210180901, -0.023540985018082505,], [ 0.24973202242201703, -0.0375653068255174, -0.967586050281893,],], [ [ 0.9275119206762702, -0.2547862230460212, 0.27350615632807845,], [ -0.25670658149553915, -0.9660426869958957, -0.029381251141226916,], [ 0.2717045601757362, -0.04295936973109432, -0.9614214084011323,],], [ [ 0.9153188042694408, -0.27384960334952757, 0.2952928737644505,], [ -0.27586712337355296, -0.9605334153160519, -0.035677560214815544,], [ 0.2934089582687656, -0.04880525388303273, -0.9547403994809535,],], [ [ 0.9022223786634318, -0.2926513729236389, 0.31678060762112376,], [ -0.29475541764721486, -0.9546305429692489, -0.042423698540472274,], [ 0.3148237970778498, -0.05509719009301755, -0.9475496168736172,],], [ [ 0.8882355684571228, -0.3111729766887614, 0.3379481520977847,], [ -0.3133528238486353, -0.9483398953826613, -0.04961300849262433,], [ 0.33592794274031157, -0.061828968972954715, -0.9398561570165954,],], [ [ 0.8733721769517077, -0.3293961360558754, 0.3587746173826882,], [ -0.33164098858181557, -0.9416676806709124, -0.05723839508879031,], [ 0.35670056801063704, -0.0689939470629386, -0.9316676124292211,],], [ [ 0.8576468725284344, -0.3473028669653138, 0.3792394502683876,], [ -0.34960186363524537, -0.9346204835093719, -0.06529233299148757,], [ 0.37712117281446644, -0.07658505338759983, -0.9229920642197633,],], [ [ 0.8410751741726177, -0.36487549763486515, 0.3993224544352724,], [ -0.36721772379331213, -0.9272052586358314, -0.07376687393484731,], [ 0.3971696044796976, -0.08459479643435812, -0.9138380741103261,],], [ [ 0.8236734361582053, -0.38209668599969215, 0.41900381038289786,], [ -0.3844711843289507, -0.9194293239869756, -0.08265365456860926,], [ 0.41682607762474366, -0.09301527154669612, -0.9042146759874369,],], [ [ 0.8054588319080151, -0.39894943682685363, 0.43826409498943897,], [ -0.4013452181602675, -0.9113003534764171, -0.09194390471175526,], [ 0.4360711936843144, -0.10183816872515633, -0.8941313669866658,],], [ [ 0.7864493370455752, -0.41541711848753493, 0.4570843006799606,], [ -0.4178231726542063, -0.9028263694214286, -0.10162845600763333,], [ 0.4548859600534498, -0.11105478082836166, -0.8835980981200763,],], [ [ 0.7666637116552841, -0.43148347937044385, 0.4754458541845948,], [ -0.4338887860606766, -0.8940157346258406, -0.11169775097203499,], [ 0.47325180883091794, -0.12065601216596732, -0.8726252644557515,],], [ [ 0.7461214817684123, -0.447132663920164, 0.4933306348681041,], [ -0.44952620356092127, -0.8848771441269253, -0.12214185242529184,], [ 0.49115061514347513, -0.1306323874750604, -0.8612236948590951,],], [ [ 0.7248429200932005, -0.46234922828464664, 0.5107209926127512,], [ -0.46471999291429106, -0.8754196166144033, -0.132950453299086,], [ 0.5085647150329086, -0.1409740612711532, -0.849404641306023,],], [ [ 0.7028490260080896, -0.47711815555639286, 0.527599765236818,], [ -0.4794551596879781, -0.8656524855300509, -0.14411288680829484,], [ 0.5254769228882036, -0.1516708275645342, -0.8371797677786021,],], [ [ 0.6801615048378108, -0.49142487059228956, 0.543950295431592,], [ -0.49371716205468685, -0.8555853898566845, -0.15561813697783206,], [ 0.5418705484056417, -0.16271212993239528, -0.8245611387540843,],], [ [ 0.6568027464327998, -0.5052552543974704, 0.5597564472001004,], [ -0.5074919251436313, -0.8452282646056167, -0.16745484951409534,], [ 0.5577294130600807, -0.17408707193678938, -0.8115612072987058,],], [ [ 0.6327958030730709, -0.5185956580590105, 0.5750026217813698,], [ -0.5207658549307016, -0.8345913310119717, -0.1796113430102928,], [ 0.5730378660711722, -0.18578442787813887, -0.7981928027779941,],], [ [ 0.6081643667183558, -0.531432916215702, 0.5896737730444995,], [ -0.5335258516540892, -0.8236850864475331, -0.19207562047458945,], [ 0.5877807998487531, -0.19779265387368278, -0.7844691181957169,],], [ [ 0.582932745626964, -0.5437543600506181, 0.6037554223373501,], [ -0.5457593227421331, -0.812520294061086, -0.2048353811696958,], [ 0.6019436649021712, -0.21009989924992628, -0.7704036971739644,],], [ [ 0.557125840366432, -0.5555478297936468, 0.6172336727752029,], [ -0.5574541952406287, -0.8011079721564673, -0.21787803275221607,], [ 0.6155124841988341, -0.22269401823785498, -0.7560104205872151,],], [ [ 0.5307691192396441, -0.5668016867216514, 0.6300952229552795,], [ -0.5685989277273347, -0.7894593833188179, -0.23119070369977454,], [ 0.6284738669578058, -0.2355625819593649, -0.7413034928635773,],], [ [ 0.5038885931506715, -0.5775048246444209, 0.6423273800835939,], [ -0.5791825217019209, -0.7775860232997593, -0.24476025601365536,], [ 0.6408150218648446, -0.2486928906930851, -0.7262974279667221,],], [ [ 0.4765107899351344, -0.5876466808650711, 0.6539180725011808,], [ -0.5891945324401173, -0.7654996096724681, -0.25857329818442276,], [ 0.652523769695837, -0.2620719864074837, -0.7110070350723471,],], [ [ 0.44866272818042346, -0.5972172466040837, 0.6648558615973365,], [ -0.5986250793013522, -0.753212070267844, -0.2726161984077218,], [ 0.6635885553361731, -0.2756866655488904, -0.6954474039533004,],], [ [ 0.42037189056161284, -0.6062070768766952, 0.6751299530981187,], [ -0.6074648554797065, -0.7407355314031818, -0.2868750980372208,], [ 0.6739984591841992, -0.28952349207181516, -0.6796338900877935,],], [ [ 0.3916661967193802, -0.6146072998138883, 0.6847302077189651,], [ -0.6157051371885649, -0.7280823059149668, -0.30133592526141856,], [ 0.6837432079274984, -0.3035688106987047, -0.6635820995053948,],], [ [ 0.36257397570670385, -0.622409625417788, 0.6936471511709128,], [ -0.6233377922698952, -0.7152648810076009, -0.31598440899081615,], [ 0.6928131846813594, -0.3178087603960457, -0.6473078733857649,],], [ [ 0.33312393803152107, -0.6296063537428236, 0.7018719835105528,], [ -0.6303552882196657, -0.7022959059300533, -0.3308060929417531,], [ 0.701199438479434, -0.3322292880535247, -0.6308272724253245,],], [ [ 0.303345147322946, -0.63619038249458, 0.7093965878244836,], [ -0.6367506996214747, -0.6891881794925971, -0.34578634990300344,], [ 0.7088936931072126, -0.34681616235273643, -0.6141565609872922,],], [ [ 0.2732669916490029, -0.642155214038844, 0.7162135382397,], [ -0.6425177149810612, -0.6759546374359494, -0.36091039617105786,], [ 0.7158883552696046, -0.3615549878117582, -0.5973121910507267,],], [ [ 0.24291915451418242, -0.6474949618139263, 0.7223161072520098,], [ -0.6476506429549513, -0.6626083396652815, -0.3761633061398427,], [ 0.7221765220845614, -0.37643121899173154, -0.5803107859744174,],], [ [ 0.2123315855654458, -0.6522043561399319, 0.7276982723652439,], [ -0.6521444179670902, -0.6491624573616984, -0.3915300270304771,], [ 0.7277519878953468, -0.39143017485142606, -0.5631691240916472,],], [ [ 0.18153447103557893, -0.6562787494192469, 0.7323547220347131,], [ -0.6559946052079227, -0.6356302599839028, -0.40699539374653587,], [ 0.7326092503947341, -0.40653705323562506, -0.5459041221520134,],], [ [ 0.15055820395307382, -0.6597141207231095, 0.7362808609090413,], [ -0.6591974050109844, -0.6220251021728763, -0.42254414384015176,], [ 0.7367435160550846, -0.4217369454830311, -0.5285328186266527,],], [ [ 0.11943335414792676, -0.6625070797597393, 0.739472814365206,], [ -0.6617496566026879, -0.6083604105724966, -0.43816093257419475,], [ 0.7401507048589501, -0.43701485113927857, -0.5110723568933402,],], [ [ 0.08819063808296165, -0.6646548702201087, 0.7419274323323074,], [ -0.6636488412216002, -0.5946496705790993, -0.45383034806565753,], [ 0.74282745432553, -0.4523556927605301, -0.4935399683180619,],], [ [ 0.05686088854044709, -0.6661553724980562, 0.7436422924002958,], [ -0.6648930846041375, -0.5809064130330608, -0.46953692649530593,], [ 0.7447711228290113, -0.46774433079305083, -0.47595295524975456,],], [ [ 0.025475024193919622, -0.6670071057820561, 0.7446157022105862,], [ -0.6654811588342201, -0.5671442008655322, -0.48526516736858466,], [ 0.7459797922055146, -0.4831655785140763, -0.45832867394499255,],], [ [ -0.005935980904750272, -0.66720922951658, 0.7448467011262049,], [ -0.6654124835550655, -0.5533766157135082, -0.5009995488127149,], [ 0.7464522696460759, -0.4986042170192264, -0.44068451743947856,],], [ [ -0.037341127892947704, -0.6667615442316107, 0.744335061179816,], [ -0.6646871265419222, -0.5396172445164331, -0.5167245428948917,], [ 0.7461880888737942, -0.5140450102416807, -0.4230378983832359,],], [ [ -0.0687094236893851, -0.6656644917394864, 0.7430812872986937,], [ -0.6633058036351782, -0.5258796661075759, -0.5324246309464606,], [ 0.745187510603984, -0.5294727199882877, -0.4054062318564447,],], [ [ -0.10000991158046657, -0.6639191546988842, 0.7410866168064205,], [ -0.661269878033914, -0.512177437813404, -0.5480843188779525,], [ 0.7434515222868804, -0.5448721209777719, -0.3878069181828819,],], [ [ -0.13121170177076447, -0.6615272555463706, 0.7383530182017995,], [ -0.6585813589505916, -0.49852408207418336, -0.5636881524698607,], [ 0.7409818371331459, -0.5602280158662006, -0.3702573257579221,],], [ [ -0.16228400186745576, -0.6584911547965759, 0.734883189216188,], [ -0.6552428996282129, -0.4849330730990025, -0.5792207326240741,], [ 0.7377808924231471, -0.575525250244878, -0.3527747739080492,],], [ [ -0.19319614726863632, -0.6548138487126672, 0.7306805541511691,], [ -0.6512577947218997, -0.4714178235683971, -0.5946667305609112,], [ 0.7338518471016635, -0.5907487275958704, -0.3353765157987913,],], [ [ -0.22391763142552043, -0.6504989663494205, 0.7257492604991895,], [ -0.6466299770474823, -0.4579916713976926, -0.6100109029467593,], [ 0.7291985786604067, -0.6058834241903995, -0.31807972140795016,],], [ [ -0.2544181359486659, -0.6455507659718103, 0.7200941748504951,], [ -0.6413640137003026, -0.44466786657412893, -0.6252381069373898,], [ 0.7238256793114239, -0.6209144039154043, -0.30090146058092504,],], [ [ -0.28466756052850944, -0.6399741308526484, 0.7137208780904092,], [ -0.6354651015480653, -0.43145955808075853, -0.6403333151221039,], [ 0.7177384514551622, -0.6358268330136388, -0.28385868618485494,],], [ [ -0.3146360526406886, -0.6337745644534225, 0.7066356598916874,], [ -0.6289390621021816, -0.4183797809200201, -0.6552816303539603,], [ 0.7109429024476677, -0.6506059947227589, -0.266968217378203,],], [ [ -0.34429403700683514, -0.6269581849930848, 0.6988455125073874,], [ -0.6217923357726672, -0.405441443249793, -0.6700683004514506,], [ 0.7034457386720788, -0.6652373037989541, -0.2502467230122932,],], [ [ -0.37361224478175825, -0.619531719410157, 0.6903581238703794,], [ -0.6140319755122672, -0.3926573136446322, -0.684678732757111,], [ 0.6952543589202718, -0.6797063209107853, -0.23371070518118425,],], [ [ -0.4025617424382254, -0.6115024967241044, 0.6811818700063049,], [ -0.6056656398560756, -0.3800400084947494, -0.6990985085387047,], [ 0.686376847091181, -0.6939987668890324, -0.21737648293610817,],], [ [ -0.43111396032082966, -0.6028784408025321, 0.6713258067674726,], [ -0.5967015853635205, -0.36760197955517715, -0.7133133972187655,], [ 0.6768219642130058, -0.7081005368184825, -0.20126017618054912,],], [ [ -0.45924072084076, -0.5936680625413407, 0.6607996608958497,], [ -0.5871486584701742, -0.3553555016574083, -0.727309370418453,], [ 0.6665991397971753, -0.7219977139577538, -0.18537768976185756,],], [ [ -0.4869142662836609, -0.5838804514655586, 0.6496138204239652,], [ -0.5770162867574266, -0.34331266059562837, -0.7410726158018675,], [ 0.655718462532599, -0.7356765834734217, -0.16974469777509452,],], [ [ -0.5141072862031263, -0.5735252667591388, 0.6377793244232015,], [ -0.5663144696486406, -0.3314853411995062, -0.7545895507071548,], [ 0.6441906703293953, -0.7491236459748855, -0.15437662809460143,],], [ [ -0.540792944372802, -0.5626127277325734, 0.6253078521095898,], [ -0.555053768540969, -0.3198852156053049, -0.7678468355509553,], [ 0.6320271397219139, -0.7623256308366266, -0.13928864714855763,],], [ [ -0.5669449052704996, -0.5511536037377273, 0.6122117113178582,], [ -0.543245296382569, -0.30852373173689185, -0.7808313869929648,], [ 0.619239874641515, -0.7752695092947088, -0.12449564495154955,],], [ [ -0.5925373600681737, -0.5391592035398538, 0.5985038263551119,], [ -0.5309007067055062, -0.2974121020080168, -0.7935303908476141,], [ 0.6058414945701833, -0.7879425073045898, -0.1100122204099295,],], [ [ -0.6175450521021314, -0.5266413641572673, 0.5841977252461262,], [ -0.5180321821251632, -0.2865612922570035, -0.8059313147301312,], [ 0.5918452220866681, -0.8003321181475654, -0.09585266691445664,],], [ [ -0.6419433017983159, -0.5136124391796992, 0.5693075263828469,], [ -0.5046524223175111, -0.2759820109247811, -0.8180219204244972,], [ 0.5772648698174389, -0.812426114773395, -0.08203095823444768,],], [ [ -0.6657080310280895, -0.5000852865768531, 0.5538479245912643,], [ -0.4907746314860979, -0.2656846984869277, -0.829790275961098,], [ 0.5621148268053325, -0.8242125618669354, -0.06856073472735048,],], [ [ -0.6888157868704614, -0.4860732560091981, 0.5378341766294176,], [ -0.47641250533113066, -0.2556795171501624, -0.841224767392149,], [ 0.5464100443093468, -0.8356798276268708, -0.055455289877353334,],], [ [ -0.7112437647573155, -0.47159017565352124, 0.5212820861308408,], [ -0.4615802175335097, -0.24597634082345166, -0.8523141102532699,], [ 0.5301660210495939, -0.8468165952449126, -0.042727557176318036,],], [ [ -0.7329698309788029, -0.45665033855623544, 0.5042079880083028,], [ -0.44629240576714596, -0.23658474537362456, -0.8630473606999041,], [ 0.5133987879119685, -0.8576118740741484, -0.030390097359975263,],], [ [ -0.7539725445266745, -0.4412684885279177, 0.4866287323332427,], [ -0.4305641572533779, -0.22751399917512155, -0.8734139263075849,], [ 0.4961248921276379, -0.8680550104755054, -0.01845508601198859,],], [ [ -0.7742311782540126, -0.42545980559299074, 0.46856166770680047,], [ -0.41441099387173125, -0.21877305396319313, -0.8834035765253964,], [ 0.4783613809429515, -0.8781356983316373, -0.006934301548113161,],], [ [ -0.7937257393304671, -0.40923989100890934, 0.450024624138857,], [ -0.39784885684172216, -0.21037053599958358, -0.8930064527723094,], [ 0.4601257847958952, -0.8878439892178489, 0.004160886407690509,],], [ [ -0.8124369889728128, -0.39262475186963963, 0.4310358954519839,], [ -0.38089409099082217, -0.20231473755941534, -0.9022130781664275,], [ 0.4414361000156931, -0.8971703022200238, 0.014819528243712753,],], [ [ -0.8303464614313609, -0.37563078530861477, 0.41161422122765723,], [ -0.3635634286241013, -0.1946136087476744, -0.9110143668775456,], [ 0.4223107710626209, -0.906105433389868, 0.025031105166455098,],], [ [ -0.8474364822134745, -0.3582747623167722, 0.3917787683125671,], [ -0.3458739730114822, -0.18727474965337734, -0.9194016330937842,], [ 0.40276867232557223, -0.9146405648281324, 0.034785539581420714,],], [ [ -0.8636901855262162, -0.34057381119162633, 0.3715491119032589,], [ -0.3278431815088865, -0.18030540284915833, -0.9273665995934585,], [ 0.3828290894953272, -0.9227672733868562, 0.044073205038499146,],], [ [ -0.8790915309209097, -0.3225454006337183, 0.35094521622778274,], [ -0.3094888483299394, -0.17371244624368185, -0.9349014059137165,], [ 0.3625117005319122, -0.9304775389820381, 0.05288493573212614,],], [ [ -0.8936253191231794, -0.3042073225071271, 0.32998741484341554,], [ -0.29082908698523535, -0.16750238629393463, -0.9419986161078857,], [ 0.3418365562448377, -0.9377637525085314, 0.06121203554684064,],], [ [ -0.9072772070328614, -0.2855776742810457, 0.30869639056989184,], [ -0.27188231240648675, -0.16168135158409488, -0.9486512260838764,], [ 0.32082406050536755, -0.9446187233493573, 0.06904628663931854,],], [ [ -0.9200337218789677, -0.26667484116976126, 0.2870931550779592,], [ -0.25266722277320924, -0.1562550867773169, -0.9548526705163926,], [ 0.2994949501103616, -0.9510356864720145, 0.07637995754840565,],], [ [ -0.9318822745157416, -0.24751747798865725, 0.2651990281533899,], [ -0.23320278105986716, -0.15122894694640068, -0.9605968293261364,], [ 0.2778702743175519, -0.9570083091047942, 0.08320581082515295,],], [ [ -0.9428111718466828, -0.2281244907441455, 0.24303561665691897,], [ -0.2135081963216957, -0.1466078922889403, -0.9658780337196051,], [ 0.25597137407245524, -0.9625306969865007, 0.08951711017532019,],], [ [ -0.9528096283642733, -0.20851501797570055, 0.2206247932008745,], [ -0.1936029047376699, -0.1423964832321688, -0.9706910717835244,], [ 0.23381986094742266, -0.9675974001834151, 0.09530762710729916,],], [ [ -0.961867776794025, -0.18870841186840182, 0.19798867456353492,], [ -0.1735065504293214, -0.13859887593232914, -0.9750311936283947,], [ 0.21143759581360427, -0.9722034184677609, 0.10057164707889833,],], [ [ -0.9699766778323352, -0.16872421915463517, 0.17514959986253031,], [ -0.153238966074345, -0.13521881817301512, -0.9788941160760742,], [ 0.18884666726689023, -0.9763442062523604, 0.10530397513691832,],], [ [ -0.9771283289685475, -0.14858216182378872, 0.1521301085088128,], [ -0.13282015333411434, -0.1322596456665281, -0.9822760268867743,], [ 0.16606936982910495, -0.9800156770766139, 0.10949994104395698,],], [ [ -0.9833156723825045, -0.12830211765898927, 0.1289529179629611,], [ -0.11227026311442881, -0.12972427876190176, -0.9851735885212927,], [ 0.1431281819459754, -0.9832142076393747, 0.11315540388738171,],], [ [ -0.9885326019098009, -0.10790410062008747, 0.10564090131577436,], [ -0.09160957567897604, -0.12761521956284305, -0.9875839414347751,], [ 0.1200457438035897, -0.9859366413747372, 0.11626675616592,],], [ [ -0.9927739690678667, -0.08740824109224339, 0.08221706471526843,], [ -0.07085848063512486, -0.12593454945843408, -0.9895047068987508,], [ 0.09684483498522792, -0.9881802915672127, 0.1188309273498381,],], [ [ -0.996035588136924, -0.06683476601961938, 0.05870452466236854,], [ -0.050037456811814464, -0.12468392706903278, -0.9909339893486598,], [ 0.07354835199063067, -0.9899429440032123, 0.12084538691119096,],], [ [ -0.9983142402908115, -0.04620397894377171, 0.03512648519768908,], [ -0.029167052049385953, -0.12386458660939681, -0.9918703782545538,], [ 0.05017928563987714, -0.9912228591562277, 0.12230814682115368,],], [ [ -0.9996076767735957, -0.02553623996644972, 0.011506215001923073,], [ -0.008267862921307344, -0.12347733667065144, -0.9923129495131248,], [ 0.026760698384180014, -0.992018773903548, 0.12321776351197282,],], [ [ -0.9999146211188346, -0.004851945656577744, -0.012132975567557814,], [ 0.01263948559219281, -0.12352255942229762, -0.9922612663596869,], [ 0.0033157015459912703, -0.9923299027728182, 0.12357333930159588,],], [ [ -0.9992347704093032, 0.015828491078757972, -0.03576775748123982,], [ 0.03353436045853227, -0.12400021023505224, -0.9917153797992144,], [ -0.02013256748912904, -0.9921559387172122, 0.12337452327957804,],], [ [ -0.997568795575938, 0.036484661139439635, -0.05937480606042287,], [ 0.05439614095512163, -0.12490981772489144, -0.9906758285560039,], [ -0.04356096810635761, -0.991497053418453, 0.1226215116533891,],], [ [ -0.9949183407357055, 0.05709617937369685, -0.08293082399588918,], [ 0.07520423901956817, -0.12625048421825258, -0.989143638542019,], [ -0.06694637929864596, -0.9903538971173806, 0.12131504755477959,],], [ [ -0.9912860215690484, 0.0776427046958496, -0.10641256433955983,], [ 0.09593811956764627, -0.12802088663793684, -0.9871203218444348,], [ -0.09026572248440638, -0.9887275979722371, 0.1194564203063967,],], [ [ -0.9866754227385098, 0.09810396016055865, -0.1297968534464465,], [ 0.11657732075898043, -0.13021927780883802, -0.9846078752333857,], [ -0.11349598428332422, -0.9866197609452997, 0.11704746414937499,],], [ [ -0.9810910943510833, 0.1184597529737819, -0.1530606138442685,], [ 0.13710147419045088, -0.13284348818220837, -0.9816087781913875,], [ -0.13661423922783025, -0.9840324662189628, 0.11409055643315585,],], [ [ -0.9745385474677825, 0.13868999442067345, -0.17618088700814935,], [ 0.15749032499737853, -0.13589092797676033, -0.978125990466379,], [ -0.159597672387804, -0.9809682671428308, 0.1105886152693246,],], [ [ -0.9670242486648585, 0.15877471969077275, -0.19913485601793218,], [ 0.17772375184266548, -0.13935858973449006, -0.9741629491507982,], [ -0.18242360188619425, -0.9774301877138494, 0.10654509665177783,],], [ [ -0.9585556136520349, 0.17869410758090942, -0.22189986807574552,], [ 0.1977817867741563, -0.14324305128870138, -0.969723565289575,], [ -0.20506950128332846, -0.9734217195919581, 0.10196399104606547,],], [ [ -0.9491409999540592, 0.19842850005637985, -0.244453456861595,], [ 0.21764463493062158, -0.14754047914129928, -0.9648122200203895,], [ -0.22751302180781846, -0.9689468186542185, 0.0968498194512722,],], [ [ -0.938789698662791, 0.2179584216510962, -0.26677336470492924,], [ 0.23729269407692438, -0.1522466322460226, -0.9594337602500026,], [ -0.24973201441213222, -0.964009901090807, 0.09120762893832544,],], [ [ -0.9275119252679692, 0.23726459868755254, -0.2888375645502841,], [ 0.25670657394907886, -0.15735686619387743, -0.9535934938709305,], [ -0.27170455163105184, -0.9586158390467356, 0.08504298766913275,],], [ [ -0.9153188095757094, 0.2563279782976488, -0.3106242816953408,], [ 0.27586711539012054, -0.16286613779664594, -0.9472971845231769,], [ -0.29340894922145827, -0.9527699558135971, 0.07836197940146562,],], [ [ -0.9022223847246728, 0.2751297472255976, -0.33211201527994016,], [ 0.29475540925789706, -0.1687690100639423, -0.9405510459061999,], [ -0.3148237875620806, -0.9464780205760804, 0.07117119748500957,],], [ [ -0.8882355753107603, 0.2936513503943543, -0.3532795595048415,], [ 0.3133528150861199, -0.1750596575689055, -0.9333617356467221,], [ -0.3359279327920896, -0.9397462427184424, 0.06347773835450998,],], [ [ -0.8733721846320379, 0.3118745092172533, -0.3741060245592937,], [ 0.3316409794802637, -0.18173187219723416, -0.9257363487284376,], [ -0.35670055766767844, -0.9325812656965534, 0.05528919452643233,],], [ [ -0.8576468810664909, 0.32978123963677575, -0.39457085723676033,], [ 0.34960185423015644, -0.18877906927388857, -0.9176824104901002,], [ -0.3771211621160457, -0.9249901604815675, 0.04661364710604919,],], [ [ -0.8410751835960503, 0.3473538698726418, -0.41465386121845066,], [ 0.3672177141213821, -0.19619429406141087, -0.9092078691989042,], [ -0.39716959346649017, -0.9169804185816862, 0.037459657812351076,],], [ [ -0.8236734464911674, 0.3645750578617286, -0.43433521700465333,], [ 0.3844711744279309, -0.20397022862345718, -0.900321088206481,], [ -0.4168260663386703, -0.9085599446488997, 0.02783626052864468,],], [ [ -0.8054588431710726, 0.38142780837257534, -0.4535955014741783,], [ 0.4013452080688113, -0.21209919904675653, -0.8910308376952658,], [ -0.43607118216837015, -0.8997370486780114, 0.017752952387189675,],], [ [ -0.7864493492556223, 0.397895489777617, -0.4724157070526323,], [ 0.4178231624117196, -0.22057318301438122, -0.8813462860233621,], [ -0.454885948351538, -0.8905204378056321, 0.0072196843966573845,],], [ [ -0.7666637248254777, 0.4139618504665702, -0.4907772604705897,], [ 0.4338887757071614, -0.22938381772284513, -0.8712769906764628,], [ -0.4732517969876762, -0.880919207717249, -0.0037531483783263112,],], [ [ -0.7461214959081209, 0.42961103488478286, -0.5086620410931543,], [ 0.4495261931368169, -0.2385224081352199, -0.8608328888357466,], [ -0.49115060320409754, -0.8709428336708452, -0.015154717075867052,],], [ [ -0.7248429352079654, 0.4448275991807269, -0.5260523988028302,], [ 0.46471998246031654, -0.24797993556212675, -0.8500242875710591,], [ -0.50856470304297, -0.8606011611459248, -0.026973769723598065,],], [ [ -0.7028490420996043, 0.45959652644717297, -0.5429311714180368,], [ 0.47945514924497, -0.2577470665621272, -0.8388618536690663,], [ -0.525476910893478, -0.8499043961271829, -0.03919864234302501,],], [ [ -0.6801615219039141, 0.47390324154102886, -0.5592817016300967,], [ 0.49371715166343794, -0.2678141621527375, -0.8273566031064048,], [ -0.5418705364519214, -0.8388630950323971, -0.051817270460479486,],], [ [ -0.6568027644674839, 0.4877336254672001, -0.5750878534419692,], [ 0.5074919148447309, -0.27817128732297197, -0.8155198901782279,], [ -0.5577294011929972, -0.8274881542944899, -0.06481720101330549,],], [ [ -0.6327958220665065, 0.5010740293122832, -0.590334028092509,], [ 0.5207658447643735, -0.2888082208380251, -0.8033633962928749,], [ -0.5730378543360137, -0.8157907996080415, -0.07818560463953628,],], [ [ -0.6081643866569293, 0.5139112877143468, -0.6050051794505424,], [ 0.5335258416600349, -0.2997144653264235, -0.7908991184437163,], [ -0.5877807882902881, -0.8037825748508598, -0.09190928833893543,],], [ [ -0.5829327664933301, 0.526232731855496, -0.6190868288635563,], [ 0.5457593129593744, -0.31087925763968305, -0.7781393573695596,], [ -0.6019436535644714, -0.7914753306915518, -0.10597470849289706,],], [ [ -0.5571258621395864, 0.5380262019644095, -0.6325650794463564,], [ 0.5574541857073525, -0.32229157947425413, -0.765096705415298,], [ -0.6155124731250987, -0.7788812128943302, -0.12036798423036664,],], [ [ -0.5307691418950018, 0.5492800593165073, -0.6454266297955932,], [ 0.5685989184807441, -0.33394016824527356, -0.751784034104773,], [ -0.6284738561901931, -0.7660126503325989, -0.1350749111265886,],], [ [ -0.5038886166601675, 0.5599831977199038, -0.6576587871166125,], [ 0.5791825127780872, -0.34581352820138195, -0.7382144814381338,], [ -0.6408150114443042, -0.7528823427231529, -0.15008097522115607,],], [ [ -0.47651081426733316, 0.5701250544758182, -0.6692494797496884,], [ 0.589194523873838, -0.3578999417696514, -0.7244014389262087,], [ -0.6525237596619488, -0.7395032480930869, -0.16537136734153784,],], [ [ -0.44866275330064, 0.5796956208026207, -0.6801872690832675,], [ 0.5986250711260142, -0.37018748111941574, -0.7103585383746978,], [ -0.6635885457269917, -0.7258885699917904, -0.18093099771794197,],], [ [ -0.4203719164320542, 0.5886854517132272, -0.6904613608424702,], [ 0.6074648477271531, -0.38266401993359583, -0.6960996384312286,], [ -0.6739984500361027, -0.7120517444606497, -0.19674451087508643,],], [ [ -0.3916662232992915, 0.5970856753361027, -0.7000616157417142,], [ 0.6157051298889716, -0.39531724537590635, -0.6816388109085412,], [ -0.6837431992750451, -0.6980064267733037, -0.21279630078619896,],], [ [ -0.3625740029525316, 0.6048880016706664, -0.7089785594909379,], [ 0.6233377854516495, -0.4081346702421259, -0.6669903268973131,], [ -0.6928131765571517, -0.6837664779595581, -0.22907052627426777,],], [ [ -0.33312396589708404, 0.6120847307684631, -0.7172033921455587,], [ 0.6303552819092549, -0.42110364528344746, -0.6521686426823173,], [ -0.701199430913989, -0.6693459511262396, -0.24555112664536416,],], [ [ -0.3033451757596146, 0.6186687603320292, -0.7247279967909331,], [ 0.636750693843383, -0.4342113716897421, -0.6371883854758206,], [ -0.7088936861288432, -0.6547590775884995, -0.26222183753859707,],], [ [ -0.2732670206058958, 0.624633592723947, -0.7315449475527469,], [ 0.6425177097576714, -0.4474449137204147, -0.6220643389823012,], [ -0.7158883489043061, -0.6400202528252562, -0.2790662069770567,],], [ [ -0.2429191839383641, 0.6299733413791819, -0.7376475169254404,], [ 0.6476506383064572, -0.4607912114703969, -0.6068114288087219,], [ -0.72217651635591, -0.6251440222726221, -0.29606761160391987,],], [ [ -0.21233161540213766, 0.6346827366143654, -0.7430296824114221,], [ 0.6521444139114164, -0.474237093758665, -0.5914447077347724,], [ -0.7277519828244056, -0.6101450669693521, -0.31320927308767693,],], [ [ -0.18153450122837494, 0.6387571308282955, -0.7476861324645315,], [ 0.6559946017606544, -0.4877692911265765, -0.5759793408576018,], [ -0.7326092459999706, -0.5950381890684672, -0.3304742746803049,],], [ [ -0.1505582344441594, 0.6421925030885222, -0.7516122717318791,], [ 0.6591974021853062, -0.5013744489331899, -0.5604305906257115,], [ -0.7367435123522984, -0.5798382972293556, -0.34784557791203846,],], [ [ -0.11943338487831301, 0.64498546309949, -0.7548042255888908,], [ 0.6617496544093302, -0.5150391405346441, -0.5448138017767787,], [ -0.7401507018612093, -0.5645603919047735, -0.3653060394062597,],], [ [ -0.08819066899271381, 0.6471332545483267, -0.7572588439630852,], [ 0.6636488396687988, -0.5287498805345996, -0.5291443861942631,], [ -0.7428274520431204, -0.5492195505372486, -0.3828384277979267,],], [ [ -0.056860919568923515, 0.6486337578249698, -0.7589737044428054,], [ 0.6648930836976, -0.5424931380926538, -0.5134378076977592,], [ -0.7447711212693955, -0.5338309126795144, -0.4004254407388272,],], [ [ -0.02547505528001124, 0.6494854921139518, -0.7599471146678421,], [ 0.6654811585771037, -0.5562553502776075, -0.49770956678208633,], [ -0.7459797913733026, -0.5184096650536467, -0.41804972197288887,],], [ [ 0.005935949822383348, 0.6496876168557784, -0.7601781139995847,], [ 0.6654124839479644, -0.5700229354523989, -0.481975185320189,], [ -0.7464522695430073, -0.5029710265636479, -0.4356938784646898,],], [ [ 0.03734109687562838, 0.6492399325764567, -0.7596664744690547,], [ 0.6646871275828646, -0.5837823066774926, -0.46625019124494366,], [ -0.7461880894987305, -0.4875302332762798, -0.4533404975642598,],], [ [ 0.0687093927981804, 0.6481428810843565, -0.7584127010018853,], [ 0.6633058053196357, -0.59751988511951, -0.4505501032249766,], [ -0.7451875119529143, -0.47210252338494996, -0.47097216419124804,],], [ [ 0.10000988087594441, 0.6463975450342079, -0.7564180309200255,], [ 0.661269880354818, -0.6112221134518515, -0.43489041534963324,], [ -0.7434515243529358, -0.4567031221715054, -0.4885714780214815,],], [ [ 0.13121167131275585, 0.6440056468586689, -0.7536844327206585,], [ 0.6585813618983622, -0.6248754692341011, -0.41928658183819845,], [ -0.7409818399066279, -0.44134722698076334, -0.5061210706589669,],], [ [ 0.16228397171482226, 0.6409695470685136, -0.750214604133542,], [ 0.6552429031907958, -0.6384664782570015, -0.4037540017884642,], [ -0.7377808958915649, -0.4260499922226103, -0.5236036227763837,],], [ [ 0.19319611747903087, 0.6372922419231224, -0.746011969458687,], [ 0.6512577988848145, -0.6519817278398273, -0.3883080039797015,], [ -0.7338518512497839, -0.41082651441647966, -0.5410018812071462,],], [ [ 0.2239176020551654, 0.632977360473567, -0.7410806761869996,], [ 0.6466299817938791, -0.6654078800670479, -0.37296383174501646,], [ -0.729198583470314, -0.3956918172929449, -0.5582986759721846,],], [ [ 0.2544181070521267, 0.6280291609812163, -0.7354255909072257,], [ 0.6413640190110289, -0.6787316849511993, -0.3577366279280421,], [ -0.7238256847625907, -0.3806608369671557, -0.5754769372246218,],], [ [ 0.2846675321584822, 0.6224525267153886, -0.7290522945032324,], [ 0.6354651074017418, -0.6919399935089902, -0.3426414199387918,], [ -0.7177384575245305, -0.3657484071987289, -0.5925197120956402,],], [ [ 0.3146360248477945, 0.6162529611342028, -0.7219670766463695,], [ 0.6289390684752852, -0.7050197707377288, -0.3276931049234339,], [ -0.7109429091097389, -0.35096924475265207, -0.6094101814249041,],], [ [ 0.3442940098394141, 0.6094365824533837, -0.7141769295883462,], [ 0.621792342639626, -0.7179581084792663, -0.31290643506262394,], [ -0.7034457458990162, -0.33633793487564595, -0.6261316763590247,],], [ [ 0.3736122182856835, 0.6020101176083761, -0.7056895412607445,], [ 0.6140319828455597, -0.7307422381587666, -0.29829600301289105,], [ -0.6952543666820088, -0.32186891690230923, -0.6426676948017017,],], [ [ 0.40256171665671997, 0.5939808956157336, -0.6965132876879849,], [ 0.60566564762634, -0.7433595433857247, -0.2838762275054624,], [ -0.6863768553555407, -0.30757647000526217, -0.6590019176992895,],], [ [ 0.4311139352942956, 0.5853568403403243, -0.6866572247212273,], [ 0.596701593539671, -0.755797572404803, -0.2696613391167223,], [ -0.6768219729458282, -0.29347469910334456, -0.6751182251457281,],], [ [ 0.4592406966066232, 0.5761464626754983, -0.6761310791013634,], [ 0.5871486670195215, -0.7680440503841971, -0.25566536622436,], [ -0.6665991489624498, -0.2795775209417738, -0.6910007122909423,],], [ [ 0.48691424287621654, 0.5663588521439311, -0.6649452388599302,], [ 0.5770162956458105, -0.7800868915293967, -0.24190212116306423,], [ -0.6557184720926102, -0.26589865035801136, -0.706633705037002,],], [ [ 0.5141072636534088, 0.556003667927428, -0.6531107430673996,], [ 0.566314478840562, -0.7919142110104055, -0.22838518659341653,], [ -0.644190680244869, -0.25245158674687207, -0.7220017755065697,],], [ [ 0.5407929227084598, 0.5450911293345467, -0.6406392709389818,], [ 0.5550537779997308, -0.8035143366906246, -0.2151279020974527,], [ -0.6320271499521736, -0.23924960073825416, -0.7370897572683522,],], [ [ 0.566944884515686, 0.5336320057154422, -0.627543130308674,], [ 0.5432453060704217, -0.8148758206458467, -0.20214335101410472,], [ -0.6192398851446417, -0.22630572110062078, -0.7518827603045429,],], [ [ 0.5925373402434566, 0.5216376058338827, -0.613835245482943,], [ 0.5309007165837946, -0.8259874504619813, -0.18944434752752434,], [ -0.6058415053031804, -0.2136327218831676, -0.7663661857054795,],], [ [ 0.6175450332244032, 0.5091197667069363, -0.5995291444860252,], [ 0.5180321921544825, -0.8368382603003582, -0.1770434240210328,], [ -0.5918452330056329, -0.20124310980936636, -0.7805257400770094,],], [ [ 0.6419432838807351, 0.4960908419233243, -0.5846389457094227,], [ 0.504652432457859, -0.847417541719705, -0.16495281870916415,], [ -0.5772648808777336, -0.18914911193431394, -0.7943474496463598,],], [ [ 0.6657080140800233, 0.48256368945198513, -0.5691793439787846,], [ 0.49077464169703444, -0.8577148542440985, -0.15318446356002324,], [ -0.5621148379617628, -0.17736266357808433, -0.8078176740525725,],], [ [ 0.6888157708974506, 0.46855165895286954, -0.55316559605191,], [ 0.47641251557193826, -0.8677200356664787, -0.14174997251986585,], [ -0.5464100555163391, -0.16589539654697724, -0.8209231198079101,],], [ [ 0.7112437497610555, 0.4540685786024924, -0.5366135055621926,], [ 0.4615802277633502, -0.8774232120775421, -0.13066063005152834,], [ -0.5301660322613725, -0.15475862765429557, -0.8336508534169401,],], [ [ 0.7329698169571311, 0.4391287414472475, -0.5195394074223688,], [ 0.44629241594522745, -0.8868148076101249, -0.1199273799980187,], [ -0.513398799082742, -0.14396334755198473, -0.845988314140346,],], [ [ 0.7539725314735841, 0.4237468912979397, -0.5019601517039448,], [ 0.4305641673391112, -0.8958855538894615, -0.10956081478225123,], [ -0.496124903211775, -0.13352020988414046, -0.8579233263908856,],], [ [ 0.7742311661596732, 0.40793820817946946, -0.48389308700823186,], [ 0.4144110038248919, -0.9046264991799817, -0.09957116495359547,], [ -0.47836139189516313, -0.12343952077310769, -0.8694441117492415,],], [ [ 0.7937257281812643, 0.39171829335001673, -0.4653560433453853,], [ 0.39784886662260976, -0.9130290172196309, -0.08996828909154515,], [ -0.46012579557141403, -0.11373122864853441, -0.8805393005879226,],], [ [ 0.8124369787514045, 0.3751031539045134, -0.44636731453834855,], [ 0.3808941005604138, -0.9210848157329876, -0.08076166407647635,], [ -0.4414361105704464, -0.10440491442942329, -0.8911979432917367,],], [ [ 0.8303464521167406, 0.3581091869776041, -0.42694564016907477,], [ 0.36356343794421064, -0.9287859446147759, -0.07196037573710005,], [ -0.42231078135341016, -0.09546978206887206, -0.9014095210637584,],], [ [ 0.8474364737810581, 0.34075316356166846, -0.4071101870848244,], [ 0.34587398204490577, -0.9361248037757033, -0.06357310988382744,], [ -0.40276868231023877, -0.08693464947082831, -0.9111639563061404,],], [ [ 0.8636901779479385, 0.3230522119558957, -0.3868805304828113,], [ 0.3278431902195533, -0.9430941506428723, -0.05560814373691148,], [ -0.3828290991329214, -0.07880793978783039, -0.9204516225655064,],], [ [ 0.8790915241653331, 0.3050238008627238, -0.3662766345918467,], [ 0.30948885668305254, -0.9496871073073702, -0.04807333775781199,], [ -0.3625117097828548, -0.07109767310831705, -0.9292633540331255,],], [ [ 0.8936253131556213, 0.28668572214834226, -0.3453188329700553,], [ 0.2908290949474065, -0.9558971673119776, -0.04097612789185432,], [ -0.3418365650710728, -0.06381145854171272, -0.9375904545904835,],],] +fx = "1563.540461099237" +fy = "1592.8295679063556" +cam_width = 720 +cam_height = 1280 + +[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 a138a2d..38c01e2 100644 --- a/src/render/render.cpp +++ b/src/render/render.cpp @@ -1492,10 +1492,10 @@ PlumageRender::PlumageRender() float modelSize = std::max(models.scene.aabb[0][0], std::max(models.scene.aabb[1][1], models.scene.aabb[2][2])); // Center and scale model - float scale = (1.0f / modelSize ) * 0.5f; + float scale = (1.0f / modelSize ) * 2.0f; 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; + translate += -2.0f * glm::vec3(models.scene.aabb[0][0], models.scene.aabb[1][1], models.scene.aabb[2][2]); + translate += -2.0f * settings.bottomCenter; //camera.setPosition(glm::vec3(0, 0, -modelSize - 2)); shaderDataScene.model = glm::mat4(1.0f); @@ -1510,13 +1510,14 @@ PlumageRender::PlumageRender() shaderDataScene.model = glm::rotate(shaderDataScene.model, glm::radians(modelrot), glm::vec3(0, 1, 0)); } - + /* shaderDataScene.camPos = glm::vec3( -camera.position.z * sin(glm::radians(camera.rotation.y)) * cos(glm::radians(camera.rotation.x)), -camera.position.z * sin(glm::radians(camera.rotation.x)), camera.position.z * cos(glm::radians(camera.rotation.y)) * cos(glm::radians(camera.rotation.x)) ); - + */ + shaderDataScene.camPos = settings.cameraTracks[] // Skybox @@ -1544,7 +1545,10 @@ PlumageRender::PlumageRender() camera.type = Camera::CameraType::lookat; - camera.setPerspective(45.0f, (float)settings.width / (float)settings.height, 0.1f, 256.0f); + camera.setProjectionMatrix(settings.fX,settings.fY,settings.cX,settings.cY,1.f, 256.f,settings.calibrationWidth,settings.calibrationHeight,true,true); + //camera.setPerspective(settings.fX, settings.fY, settings.cX, settings.cY, 1.0f, 256.0f); + camera.setTo(settings.bottomCenter); + camera.setUp(settings.bottomNormal); camera.rotationSpeed = 0.25f; camera.movementSpeed = 0.1f;