{"id":180,"date":"2019-09-23T00:21:41","date_gmt":"2019-09-22T23:21:41","guid":{"rendered":"https:\/\/ben.stevuliak.net\/?p=180"},"modified":"2019-10-25T13:29:24","modified_gmt":"2019-10-25T12:29:24","slug":"3d-for-vfx-week-two","status":"publish","type":"post","link":"https:\/\/ben.stevuliak.net\/index.php\/2019\/09\/23\/3d-for-vfx-week-two\/","title":{"rendered":"3D For VFX &#8211; Week Two"},"content":{"rendered":"\n<p>This week, I began tracking my DLR shot.  The following days, I was focusing on this process.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">Loading the footage<\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/camera.png\" alt=\"\" class=\"wp-image-200\" width=\"374\" height=\"518\" srcset=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/camera.png 608w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/camera-217x300.png 217w\" sizes=\"(max-width: 374px) 100vw, 374px\" \/><figcaption>Loading the footage into 3DEqualizer<\/figcaption><\/figure><\/div>\n\n\n\n<p>I exported the footage first as a .dpx sequence, which I brought into 3DEqualizer. I found out this was a wrong decision, as .dpx colour space is different from SRGb and thus it did not display correctly. That is why I used .png sequence later, which worked well.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Tracking the camera<\/h4>\n\n\n\n<ul class=\"wp-block-gallery aligncenter columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/parametradjw.png\"><img decoding=\"async\" width=\"505\" height=\"835\" src=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/parametradjw.png\" alt=\"\" data-id=\"203\" data-link=\"https:\/\/ben.stevuliak.net\/index.php\/2019\/09\/23\/3d-for-vfx-week-two\/parametradjw\/\" class=\"wp-image-203\" srcset=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/parametradjw.png 505w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/parametradjw-181x300.png 181w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/a><figcaption>Parameter adjustment window<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/pngcolorspace-1024x578.png\"><img decoding=\"async\" width=\"1024\" height=\"578\" src=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/pngcolorspace-1024x578.png\" alt=\"\" data-id=\"201\" data-link=\"https:\/\/ben.stevuliak.net\/index.php\/2019\/09\/23\/3d-for-vfx-week-two\/pngcolorspace\/\" class=\"wp-image-201\" srcset=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/pngcolorspace-1024x578.png 1024w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/pngcolorspace-300x169.png 300w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/pngcolorspace-768x434.png 768w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/pngcolorspace.png 1289w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Original source image<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/09\/undistorted-1024x576.png\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/09\/undistorted-1024x576.png\" alt=\"\" data-id=\"205\" data-link=\"https:\/\/ben.stevuliak.net\/index.php\/2019\/09\/23\/3d-for-vfx-week-two\/undistorted\/\" class=\"wp-image-205\" srcset=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/09\/undistorted-1024x576.png 1024w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/09\/undistorted-300x169.png 300w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/09\/undistorted-768x432.png 768w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/09\/undistorted.png 1367w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Undistorted image<br><\/figcaption><\/figure><\/li><\/ul>\n\n\n\n<p style=\"text-align:center\">Click to expand.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>I used about 150 manual tracking points in conjunction with filtered autotracked points. The result was very good in the first stage, so the only thing I focused on in the next stage was calculating the focal length and lens distortion properly. I used the Parameter Adjustment Window to adjust these details. First, I used wide range and brute force method to guess the numbers, and then Fine with Adaptive method. The results were good and the lens distortion was not visible afterwards. Then, I exported this as a .mel file for use in Maya, and rendered the first matchmove playblast, which I included below. I also modeled some geometry, which is I will use later on in comp for rough roto work.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Survey points<\/h4>\n\n\n\n<p>Survey points indicate the scene scale and the position of scene origin (point that has zero X,Y,Z values). I used data from Google Earth to survey the camera. It works by clicking on the point, then choosing &#8216;Exactly Surveyed&#8217; under survey type. The point in the image would be my scene origin.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"591\" height=\"376\" src=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/survey-point.png\" alt=\"\" class=\"wp-image-211\" srcset=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/survey-point.png 591w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/survey-point-300x191.png 300w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><figcaption>Survey point settings<\/figcaption><\/figure><\/div>\n\n\n\n<p>After setting the scene origin, I selected another point which I assumed would be further back on Z axis. I roughly estimated the distance of the point, lined up the horizon line correctly and exported the scene into Maya. I then used measurements from Google Earth to scale my scene to real world scale inside Maya. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/horizon-line-1024x390.png\" alt=\"\" class=\"wp-image-212\" width=\"1136\" height=\"433\" srcset=\"https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/horizon-line-1024x390.png 1024w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/horizon-line-300x114.png 300w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/horizon-line-768x293.png 768w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/horizon-line-1568x597.png 1568w, https:\/\/ben.stevuliak.net\/wp-content\/uploads\/2019\/10\/horizon-line.png 1979w\" sizes=\"(max-width: 1136px) 100vw, 1136px\" \/><figcaption>Second survey point line up, horizon line correction<\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">First matchmove submission<\/h4>\n\n\n\n<figure class=\"wp-block-embed-vimeo aligncenter wp-block-embed is-type-video is-provider-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"DLR Matchmoving V01 Playblast\" src=\"https:\/\/player.vimeo.com\/video\/368409768?dnt=1&amp;app_id=122963\" width=\"640\" height=\"360\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\"><\/iframe>\n<\/div><figcaption>First Matchmove playblast<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This week, I began tracking my DLR shot. The following days, I was focusing on this process. Loading the footage I exported the footage first as a .dpx sequence, which I brought into 3DEqualizer. I found out this was a wrong decision, as .dpx colour space is different from SRGb and thus it did not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-180","post","type-post","status-publish","format-standard","hentry","category-3d-vx5001","category-yr2","entry"],"_links":{"self":[{"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/posts\/180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":10,"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":213,"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/posts\/180\/revisions\/213"}],"wp:attachment":[{"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ben.stevuliak.net\/index.php\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}