{"id":277562,"date":"2016-04-04T08:57:02","date_gmt":"2016-04-04T04:57:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=277562"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=277562","title":{"rendered":"\u042d\u0444\u0444\u0435\u043a\u0442 \u043a\u043e\u0444\u0442\u044b \u043d\u0430 \u0448\u0435\u0439\u0434\u0435\u0440\u0430\u0445 \u0434\u043b\u044f \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432"},"content":{"rendered":"<br \/>\n<h2>\u041f\u0440\u043e\u043b\u043e\u0433<\/h2>\n<p>  \u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a! \u041f\u043e\u0441\u043b\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e <a href=\"https:\/\/habrahabr.ru\/post\/280674\/\">\u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430(Quad-tree)<\/a>, \u043c\u0435\u043d\u044f \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0448\u0435\u0439\u0434\u0435\u0440\u0430, \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u00ab\u043a\u043e\u0444\u0442\u0443\u00bb.<\/p>\n<p>  <iframe loading=\"lazy\" width=\"420\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/Wjmnh9lIuEM?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e, \u0434\u0430\u0432\u0430\u0439 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0430\u043d\u043d\u0443\u044e \u043c\u0435\u0442\u043e\u0434\u0438\u043a\u0443.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>  \u0414\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u0430 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0430 \u0441\u043e \u0441\u0442\u0435\u0436\u043a\u0430\u043c\u0438 \u043a\u043e\u0444\u0442\u044b. \u041e\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9dc\/13f\/c15\/9dc13fc15a4b4f2b96557edd18ad9b8c.png\"\/><\/p>\n<p>  \u0422\u0435\u043a\u0441\u0442\u0443\u0440\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 30 \u0441\u0442\u0435\u0436\u043a\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0439 \u0448\u0438\u0440\u0438\u043d\u044b \u0432 30 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439. \u0412 \u0438\u0442\u043e\u0433\u0435, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u044d\u0442\u0443 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0443 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d, \u043c\u0435\u043d\u044f \u0446\u0432\u0435\u0442 \u0441\u0442\u0435\u0436\u043a\u0430 \u043f\u043e\u0434 \u043d\u0443\u0436\u043d\u044b\u0439 \u0446\u0432\u0435\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u0438 \u0441\u0442\u0435\u0436\u043a\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c.<\/p>\n<p>  \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043b\u044f \u0448\u0435\u0439\u0434\u0435\u0440\u0430, \u044f\u0437\u044b\u043a\u043e\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0431\u0443\u0434\u0435\u0442 C# \u0438 GLSL \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0432\u0435\u043d\u043d\u043e.<\/p>\n<pre><code class=\"cs\">override public void OnScaleUpdated(float scale) { \tVector2 screenSize = ScreenTool.GetViewportSize (); \tTexture2D stitchTexture = textureLoader.texture;  \tfloat resolutionH = Mathf.Clamp((Mathf.RoundToInt(screenSize.x\/(float)itemWidth * scale) * 2), 1, 2048); \tfloat resolutionV = Mathf.Clamp((Mathf.RoundToInt(screenSize.y\/(float)stitchTexture.height * scale) * 2), 1, 2048); \tresolution = new Vector4 (resolutionH, resolutionV, 0f, 0f);  \tfloat amountH = (float)(resolutionH * itemWidth) \/ (2.0f * (float)stitchTexture.width); \tfloat amountV = (float)resolutionV \/ 2.0f; \tVector4 amount = new Vector4 (amountH, amountV, 0f, 0f);  \tmaterial.SetTexture (&quot;_ItemTex&quot;, \tstitchTexture); \tmaterial.SetVector (&quot;_Resolution&quot;, \tresolution); \tmaterial.SetVector (&quot;_ItemsAmount&quot;, amount); } <\/code><\/pre>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u043a\u043e\u044d\u0444\u0444\u0438\u0446\u0438\u0435\u043d\u0442\u0430 \u0441\u043a\u0430\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043d\u0435\u0439 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0435\u043a\u0441\u0442\u0443\u0440 \u0441\u043e \u0441\u0442\u0435\u0436\u043a\u0430\u043c\u0438.  <\/p>\n<ul>\n<li><b>Amount<\/b> \u2014 \u044d\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0442\u0435\u043a\u0441\u0442\u0443\u0440, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u043b\u0435\u0437\u0435\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d;<\/li>\n<li>\u2028<b>itemWidth<\/b> \u2014 \u0448\u0438\u0440\u0438\u043d\u0430 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0442\u044f\u0436\u043a\u0430;<\/li>\n<\/ul>\n<p>  \u0412 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 amountH \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 2, \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u043e\u0434\u0438\u043d \u0441\u0442\u0435\u0436\u043e\u043a \u043f\u043e \u043f\u043e\u043b\u0430\u043c \u0438 \u043c\u0435\u043d\u044f\u0442\u044c \u0446\u0432\u0435\u0442 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043a\u0438 \u0441\u0442\u0435\u0436\u043a\u0430.<\/p>\n<p>  \u041f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0448\u0435\u0439\u0434\u0435\u0440\u0430.<br \/>  \u041d\u0430 \u0448\u0435\u0439\u0434\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u043d\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441 \u043a\u0430\u043c\u0435\u0440\u044b, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0431\u043b\u043e\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u044b \u0432 \u0441\u0442\u0435\u0436\u043a\u0438.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/162\/827\/389\/162827389f1948f29397a14d411357ec.png\"\/><\/p>\n<p>  \u041f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432 \u043a\u0430\u043a\u043e\u043c \u0431\u043b\u043e\u043a\u0435 \u043c\u044b \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0430\u0445\u043e\u0434\u0438\u043c\u0441\u044f. \u0411\u043b\u043e\u043a\u0438 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u044b \u0442\u0435\u043c, \u0447\u0442\u043e \u043d\u0430\u0448\u0435 \u0443\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u043d\u043e\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043c \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u0442\u044b\u043c \u0434\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0438\u043a\u0441\u0435\u043b\u044c \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0431\u043b\u043e\u043a \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u043e\u0434\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430.<\/p>\n<pre><code class=\"cs\">float2 colorBlock = floor(input.tex * _Resolution); <\/code><\/pre>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u044d\u0442\u0430\u043f \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0441\u0430\u043c\u044b\u043c \u0441\u043b\u043e\u0436\u043d\u044b\u043c, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u0431\u043b\u043e\u043a, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0439 \u0441\u0442\u0435\u0436\u043e\u043a \u0438\u0437 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b.  <\/p>\n<pre><code class=\"cs\">float2 stichUV = float2(frac(_ItemsAmount.x * (input.tex.x + pow(colorBlock.y, 2.0) \/ _Resolution.x*2)), frac(_ItemsAmount.y * input.tex.y)); <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0431\u0435\u0440\u0451\u043c \u0446\u0432\u0435\u0442 \u0431\u043b\u043e\u043a\u0430, \u0446\u0432\u0435\u0442 \u0441\u0442\u0435\u0436\u043a\u0430 \u0438 \u0446\u0432\u0435\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0431\u043b\u043e\u043a\u0430. \u0426\u0432\u0435\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0431\u043b\u043e\u043a\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0440\u0430\u0442\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u0441\u0442\u0435\u0436\u043a\u0438 \u0432\u044b\u0445\u043e\u0434\u044f\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u0441\u0432\u043e\u0438\u0445 \u0431\u043b\u043e\u043a\u043e\u0432.  <\/p>\n<pre><code class=\"cs\">fixed4 color = tex2D(_MainTex, input.tex); fixed4 newColor = tex2D(_ItemTex, stichUV); fixed4 prevColor = tex2D(_MainTex, float2(input.tex.x, input.tex.y + 1.0\/_Resolution.y)); <\/code><\/pre>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/83d\/502\/13e\/83d50213e43e4c2282c15255b4783750.png\"\/><\/p>\n<p>  \u041d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0438 \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0443\u043a\u0430\u0437\u0430\u043d \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0431\u043b\u043e\u043a, \u0430 \u0437\u0435\u043b\u0451\u043d\u044b\u0439 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439, \u043d\u043e \u0447\u0430\u0441\u0442\u044c \u0441\u0442\u0435\u0436\u043a\u0430 \u043e\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u0430\u044f \u0432 \u0437\u0435\u043b\u0451\u043d\u044b\u0439 \u0446\u0432\u0435\u0442 \u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u043c\u0435\u0442\u044c \u043a\u0440\u0430\u0441\u043d\u0443\u044e \u043e\u043a\u0440\u0430\u0441\u043a\u0443, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0438\u0441\u043a \u0446\u0432\u0435\u0442\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0433\u043e \u0431\u043b\u043e\u043a\u0430.<\/p>\n<pre><code>if (stichUV.y &gt; 0.5)  { \tnewColor *= color; \tfloat2 topStichUV = frac(float2(_ItemsAmount.x * (input.tex.x + pow(colorBlock.y + 1, 2) \/ _Resolution.x*2), _ItemsAmount.y*input.tex.y - 0.5)); \tfixed4 otherStich = tex2D(_ItemTex, topStichUV) * prevColor; \t\t  \t\t\t \tif (otherStich.a &gt; 0.05) \t{ \t\tnewColor = lerp(newColor, otherStich, 1 - newColor.a); \t} } <\/code><\/pre>\n<p>  \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u043c \u0446\u0432\u0435\u0442 \u0441\u0442\u0435\u0436\u043a\u0430 \u0441 \u0446\u0432\u0435\u0442\u043e\u043c \u0431\u043b\u043e\u043a\u0430, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0441\u0442\u0435\u0436\u043e\u043a, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0434 \u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e \u0438 \u043f\u043e\u0442\u043e\u043c \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u043c \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438 \u0441\u0442\u0435\u0436\u043a\u0430.<\/p>\n<p>  \u041d\u0438\u0436\u043d\u044f\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e (\u0437\u0435\u043b\u0451\u043d\u0430\u044f):  <\/p>\n<pre><code>else { \tstichUV = float2(frac(_ItemsAmount.x * (input.tex.x + pow(colorBlock.y + 1, 2) \/ _Resolution.x*2)), frac(_ItemsAmount.y*input.tex.y)); \tnewColor = tex2D(_ItemTex, stichUV); \tnewColor *= prevColor; \tfloat2 bottomStichUV = float2(frac(_ItemsAmount.x * (input.tex.x + pow(colorBlock.y, 2) \/ _Resolution.x*2)), frac(_ItemsAmount.y*input.tex.y + 0.5)); \tfixed4 otherStich = tex2D(_ItemTex, bottomStichUV) * color; \t  \t\t\t\t \tif (otherStich.a &gt; 0.7) \t{ \t\tnewColor = lerp(otherStich, newColor, 1 - prevColor.a); \t} } <\/code><\/pre>\n<h2>\u042d\u043f\u0438\u043b\u043e\u0433<\/h2>\n<p>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0448\u0443\u0441\u0442\u0440\u044b\u0439 \u0448\u0435\u0439\u0434\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u0441\u0442\u0430\u0440\u044b\u0445 Android (\u043d\u0430 iOS \u043e\u043d \u0443\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e). \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u044d\u0444\u0444\u0435\u043a\u0442\u0430, \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0432\u044b\u0448\u0438\u0432\u043a\u0430 \u043a\u0440\u0435\u0441\u0442\u0438\u043a\u043e\u043c.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/280804\/\"> https:\/\/habrahabr.ru\/post\/280804\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<br \/>\n<h2>\u041f\u0440\u043e\u043b\u043e\u0433<\/h2>\n<p>  \u0414\u043e\u0431\u0440\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a! \u041f\u043e\u0441\u043b\u0435 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043e <a href=\"https:\/\/habrahabr.ru\/post\/280674\/\">\u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430(Quad-tree)<\/a>, \u043c\u0435\u043d\u044f \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u044c\u044e, \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0448\u0435\u0439\u0434\u0435\u0440\u0430, \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u044f\u0449\u0435\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u00ab\u043a\u043e\u0444\u0442\u0443\u00bb.<\/p>\n<p>  <iframe loading=\"lazy\" width=\"420\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/Wjmnh9lIuEM?feature=oembed\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>  \u0422\u0430\u043a \u0447\u0442\u043e, \u0434\u0430\u0432\u0430\u0439 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0430\u043d\u043d\u0443\u044e \u043c\u0435\u0442\u043e\u0434\u0438\u043a\u0443.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-277562","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277562"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/277562\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277562"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}