{"id":4765,"date":"2018-05-18T12:40:06","date_gmt":"2018-05-18T04:40:06","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=4765"},"modified":"2018-05-18T12:40:06","modified_gmt":"2018-05-18T04:40:06","slug":"quadtree","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2018\/05\/18\/quadtree\/","title":{"rendered":"Quadtree"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"4766\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2018\/05\/18\/quadtree\/unity-quadtree\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2018\/05\/unity-quadtree.gif?fit=310%2C308&amp;ssl=1\" data-orig-size=\"310,308\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"unity-quadtree\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2018\/05\/unity-quadtree.gif?fit=310%2C308&amp;ssl=1\" class=\"alignnone size-full wp-image-4766\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2018\/05\/unity-quadtree.gif?resize=310%2C308&#038;ssl=1\" alt=\"\" width=\"310\" height=\"308\" \/><\/p>\n<p>Converted this <a href=\"https:\/\/github.com\/CodingTrain\/QuadTree\" target=\"_blank\" rel=\"noopener\">javascript quadtree (by The Coding Train)<\/a> to Unity using texture2d<br \/>\n*not complete with all the features yet though, but can add points by clicking texture with mouse.<\/p>\n<p><strong>Unity Project<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/unitycoder\/UnityQuadtreeInTexture\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/unitycoder\/UnityQuadtreeInTexture<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Original source<\/strong><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=OJxEcs0w_kE\" target=\"_blank\" rel=\"noopener\">https:\/\/www.youtube.com\/watch?v=OJxEcs0w_kE<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converted this javascript quadtree (by The Coding Train) to Unity using texture2d *not complete with all the features yet though, but can add points by clicking texture with mouse. Unity Project https:\/\/github.com\/unitycoder\/UnityQuadtreeInTexture &nbsp; Original source https:\/\/www.youtube.com\/watch?v=OJxEcs0w_kE &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":4766,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Quadtree","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[804,3],"tags":[65,1044],"class_list":["post-4765","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripts","category-unity3d","tag-2d","tag-quadtree"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2018\/05\/unity-quadtree.gif?fit=310%2C308&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/s1KTaT-quadtree","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=4765"}],"version-history":[{"count":1,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4765\/revisions"}],"predecessor-version":[{"id":4767,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/4765\/revisions\/4767"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/4766"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=4765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=4765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=4765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}