{"id":12138,"date":"2022-01-16T20:27:16","date_gmt":"2022-01-16T19:27:16","guid":{"rendered":"http:\/\/www.keris-studio.fr\/blog\/?p=12138"},"modified":"2022-01-17T09:04:17","modified_gmt":"2022-01-17T08:04:17","slug":"photogrammetry-from-drone-part2","status":"publish","type":"post","link":"https:\/\/www.keris-studio.fr\/blog\/?p=12138","title":{"rendered":"Photogrammetry from drone Part2"},"content":{"rendered":"<h1>Preparation<\/h1>\n<p>Exporting the 3D model, drawing the contour lines will be our goal. First we remove the trees and buildings from the original 3D.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1451\" height=\"822\" class=\"wp-image-12139\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1347.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1347.png 1451w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1347-300x170.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1347-1024x580.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1347-768x435.png 768w\" sizes=\"auto, (max-width: 1451px) 100vw, 1451px\" \/><\/p>\n<p><!--more-->Cleaning<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1372\" height=\"685\" class=\"wp-image-12140\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1348.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1348.png 1372w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1348-300x150.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1348-1024x511.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1348-768x383.png 768w\" sizes=\"auto, (max-width: 1372px) 100vw, 1372px\" \/><\/p>\n<p>Filling holes, removing trees and buildings creates holes. It can be filled with Metashape.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"700\" class=\"wp-image-12141\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1349.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1349.png 1348w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1349-300x156.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1349-1024x532.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1349-768x399.png 768w\" sizes=\"auto, (max-width: 1348px) 100vw, 1348px\" \/><\/p>\n<p>Retexturing, recreates a nice texture over the filled parts.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1378\" height=\"666\" class=\"wp-image-12142\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1350.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1350.png 1378w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1350-300x145.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1350-1024x495.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1350-768x371.png 768w\" sizes=\"auto, (max-width: 1378px) 100vw, 1378px\" \/><\/p>\n<p>Exporting<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"413\" height=\"473\" class=\"wp-image-12143\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1351.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1351.png 413w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1351-262x300.png 262w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/p>\n<h1>Post-processing in Rhino-Grasshopper<\/h1>\n<p>We will show how to draw contour-line very easily with Grasshopper.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"2076\" height=\"1263\" class=\"wp-image-12144\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352.png\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352.png 2076w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352-300x183.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352-1024x623.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352-768x467.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352-1536x934.png 1536w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1352-2048x1246.png 2048w\" sizes=\"auto, (max-width: 2076px) 100vw, 2076px\" \/><\/p>\n<p>Import the mesh.<\/p>\n<p>Then, Mesh to Quad mesh to SubD , Fill holes in SubD <img loading=\"lazy\" decoding=\"async\" width=\"37\" height=\"29\" class=\"wp-image-12145\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1353.png\"> and finally QuadMesh<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12146 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1354.png\" alt=\"\" width=\"1384\" height=\"792\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1354.png 1384w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1354-300x172.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1354-1024x586.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1354-768x439.png 768w\" sizes=\"auto, (max-width: 1384px) 100vw, 1384px\" \/><\/p>\n<p>In Grasshopper<\/p>\n<p>Input Mesh<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12147 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355.png\" alt=\"\" width=\"1857\" height=\"647\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355.png 1857w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355-300x105.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355-1024x357.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355-768x268.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1355-1536x535.png 1536w\" sizes=\"auto, (max-width: 1857px) 100vw, 1857px\" \/><\/a><\/p>\n<p>Create a vertical line<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12148 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356.png\" alt=\"\" width=\"1971\" height=\"528\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356.png 1971w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356-300x80.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356-1024x274.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356-768x206.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1356-1536x411.png 1536w\" sizes=\"auto, (max-width: 1971px) 100vw, 1971px\" \/><\/a><\/p>\n<p>Divide the line into distances with a Slider, so that it can be changed<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12149 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357.png\" alt=\"\" width=\"1836\" height=\"495\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357.png 1836w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357-300x81.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357-1024x276.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357-768x207.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1357-1536x414.png 1536w\" sizes=\"auto, (max-width: 1836px) 100vw, 1836px\" \/><\/a><\/p>\n<p>Create planes from the divided line<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12150 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358.png\" alt=\"\" width=\"2127\" height=\"591\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358.png 2127w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358-300x83.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358-1024x285.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358-768x213.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358-1536x427.png 1536w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1358-2048x569.png 2048w\" sizes=\"auto, (max-width: 2127px) 100vw, 2127px\" \/><\/a><\/p>\n<p>Intersect with the Mesh<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12151 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359.png\" alt=\"\" width=\"2273\" height=\"605\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359.png 2273w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359-300x80.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359-1024x273.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359-768x204.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359-1536x409.png 1536w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1359-2048x545.png 2048w\" sizes=\"auto, (max-width: 2273px) 100vw, 2273px\" \/><\/a><\/p>\n<p>You get your contour lines<\/p>\n<p>Add heights<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12152 size-full\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360.png\" alt=\"\" width=\"2334\" height=\"632\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360.png 2334w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360-300x81.png 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360-1024x277.png 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360-768x208.png 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360-1536x416.png 1536w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/word-image-1360-2048x555.png 2048w\" sizes=\"auto, (max-width: 2334px) 100vw, 2334px\" \/><\/a><\/p>\n<p>By changing the number of planes, you get more presision<\/p>\n<p>This is every 20cm<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/contour-lines.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12154\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/contour-lines.gif\" alt=\"\" width=\"814\" height=\"330\"><\/a><\/p>\n<p>Interactive result<\/p>\n<p>Will add colors depending to Heights. (<em>Click on the image for a readable view<\/em>).<\/p>\n<p><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12160\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient.jpg\" alt=\"\" width=\"1604\" height=\"201\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient.jpg 1604w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient-300x38.jpg 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient-1024x128.jpg 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient-768x96.jpg 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/Def-gradient-1536x192.jpg 1536w\" sizes=\"auto, (max-width: 1604px) 100vw, 1604px\" \/><\/a><\/p>\n\n\n<p>It gives this nice result<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/contourlines2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"478\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/contourlines2-1024x478.jpg\" alt=\"\" class=\"wp-image-12158\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/contourlines2-1024x478.jpg 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/contourlines2-300x140.jpg 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/contourlines2-768x359.jpg 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/contourlines2.jpg 1317w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"343\" src=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale-1024x343.jpg\" alt=\"\" class=\"wp-image-12165\" srcset=\"https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale-1024x343.jpg 1024w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale-300x100.jpg 300w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale-768x257.jpg 768w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale-1536x514.jpg 1536w, https:\/\/www.keris-studio.fr\/blog\/wp-content\/def_totale-2048x686.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Click to enlarge<\/figcaption><\/figure>\n\n\n\n        <div class=\"modelViewerBlock\" data-attributes='{&quot;align&quot;:&quot;center&quot;,&quot;uniqueId&quot;:&quot;model12172&quot;,&quot;currentViewer&quot;:&quot;modelViewer&quot;,&quot;multiple&quot;:false,&quot;O3DVSettings&quot;:{&quot;isFullscreen&quot;:true,&quot;isPagination&quot;:false,&quot;isNavigation&quot;:false,&quot;camera&quot;:null,&quot;mouseControl&quot;:true,&quot;zoom&quot;:true},&quot;environmentImage&quot;:null,&quot;lazyLoad&quot;:false,&quot;loading&quot;:&quot;auto&quot;,&quot;autoplay&quot;:false,&quot;shadow&quot;:1,&quot;autoRotate&quot;:true,&quot;zoomLevel&quot;:null,&quot;zoom&quot;:true,&quot;isPagination&quot;:false,&quot;isNavigation&quot;:false,&quot;hotspotStyle&quot;:&quot;style-1&quot;,&quot;preload&quot;:&quot;auto&quot;,&quot;rotationPerSecond&quot;:&quot;30&quot;,&quot;mouseControl&quot;:true,&quot;lockXAxisRotation&quot;:false,&quot;lockYAxisRotation&quot;:false,&quot;fullscreen&quot;:true,&quot;zoomInOutBtn&quot;:false,&quot;cameraBtn&quot;:false,&quot;variant&quot;:false,&quot;loadingPercentage&quot;:false,&quot;progressBar&quot;:true,&quot;rotate&quot;:false,&quot;rotateDelay&quot;:3000,&quot;rotateAlongX&quot;:&quot;0&quot;,&quot;rotateAlongY&quot;:&quot;75&quot;,&quot;exposure&quot;:null,&quot;stylesheet&quot;:null,&quot;additional&quot;:{&quot;ID&quot;:&quot;&quot;,&quot;Class&quot;:&quot;&quot;,&quot;CSS&quot;:null},&quot;animation&quot;:false,&quot;woo&quot;:false,&quot;selectedAnimation&quot;:&quot;&quot;,&quot;placement&quot;:&quot;shortcode&quot;,&quot;styles&quot;:{&quot;width&quot;:&quot;400px&quot;,&quot;height&quot;:&quot;320px&quot;,&quot;bgColor&quot;:&quot;transparent&quot;,&quot;progressBarColor&quot;:null},&quot;model&quot;:{&quot;modelUrl&quot;:&quot;http:\\\/\\\/www.keris-studio.fr\\\/blog\\\/wp-content\\\/terrain.gltf&quot;,&quot;poster&quot;:&quot;&quot;},&quot;models&quot;:[]}'>\n            <div class=\"bp3d_backup_view\" style=\"display: none;height:350px;\">\n                <model-viewer camera-controls src=\"http:\/\/www.keris-studio.fr\/blog\/wp-content\/terrain.gltf\" style=\"height: 350px;\"><\/model-viewer>\n            <\/div>\n            <script>\n                setTimeout(() => {\n                    let backupModels = document.querySelectorAll('.bp3d_backup_view');\n                    if(backupModels.length > 0){\n                        backupModels.forEach(element => {\n                            if(element){\n                                element.style.display = 'block';\n                                setTimeout(() => {\n                                    let adminMessages = document.querySelectorAll('.bp3d_admin_message');\n                                    if(adminMessages.length > 0){\n                                        adminMessages.forEach(adminMessage => {\n                                            if(adminMessage){\n                                                adminMessage.style.display = 'block';\n                                            }\n                                        });\n                                    }\n                                }, 5000);\n                            }\n                        });\n                    }\n                }, 5000);\n            <\/script>\n        <\/div>\n\n        \n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Preparation Exporting the 3D model, drawing the contour lines will be our goal. First we remove the trees and buildings from the original 3D.<\/p>\n","protected":false},"author":2,"featured_media":12158,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,190,25,448,8,147],"tags":[57,485,175,484,276,451],"class_list":["post-12138","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d","category-architecture-2","category-etats-de-lart","category-grasshopper","category-methodologie","category-photomodelisation","tag-architecture","tag-contour-lines","tag-grasshopper","tag-mautitius","tag-photogrammetry","tag-rhino"],"_links":{"self":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12138"}],"version-history":[{"count":9,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12138\/revisions"}],"predecessor-version":[{"id":12177,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/posts\/12138\/revisions\/12177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=\/wp\/v2\/media\/12158"}],"wp:attachment":[{"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.keris-studio.fr\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}