{"id":169,"date":"2020-08-18T14:25:52","date_gmt":"2020-08-18T14:25:52","guid":{"rendered":"http:\/\/half4.xyz\/?p=169"},"modified":"2024-01-25T10:12:23","modified_gmt":"2024-01-25T10:12:23","slug":"introduction-setting-up","status":"publish","type":"post","link":"https:\/\/half4.xyz\/index.php\/2020\/08\/18\/introduction-setting-up\/","title":{"rendered":"Introduction: Setting Up"},"content":{"rendered":"<h2 class=\"wp-block-heading\">Getting Python<\/h2>\n<p>We\u2019re going to use Python for our producing out LUT. The code can be written in any language, if you prefer. Python was just my preference for prototyping the initial work with, and I stuck with it.<\/p>\n<p>You\u2019ll need a version of Python that is 3.0 or higher. This was all written in Python 3.8, so if you wish to avoid potential issues from incompatilbities, use that version.<\/p>\n<p>The other important thing is that you need to install and run the 64-bit version. Monte Carlo simulations benefit from the precision, as we can deal with incredibly small numbers.<\/p>\n<p>Make sure when installing it, that you add python to your PATH variable. All this does is enable you to call \u201cpython\u201d in the command line from any directory on your PC.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-171\" src=\"https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/1-1-Installer.png\" sizes=\"(max-width: 906px) 100vw, 906px\" srcset=\"https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/1-1-Installer.png 906w, https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/1-1-Installer-300x188.png 300w, https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/1-1-Installer-768x481.png 768w\" alt=\"\" width=\"906\" height=\"567\" \/><\/p>\n<h2 class=\"wp-block-heading\">Getting Packages<\/h2>\n<p>The next thing we need to do is grab a Python package. We\u2019ll discuss later what we use this particular package for, but for now, let\u2019s just make sure we\u2019ve got it ready.<\/p>\n<p>Open a command line by pressing the Start icon and searching for \u201ccmd\u201d<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" class=\"wp-image-172\" src=\"https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image.png\" sizes=\"(max-width: 968px) 100vw, 968px\" srcset=\"https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image.png 968w, https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image-300x244.png 300w, https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image-768x625.png 768w\" alt=\"\" width=\"968\" height=\"788\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Then type the following and press return:<\/p>\n<pre class=\"wp-block-code\"><code>python -m pip install --upgrade Pillow<\/code><code><\/code><\/pre>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" class=\"wp-image-173\" src=\"https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image-1.png\" sizes=\"(max-width: 400px) 100vw, 400px\" srcset=\"https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image-1.png 400w, https:\/\/half4.xyz\/wp-content\/uploads\/2020\/07\/image-1-300x22.png 300w\" alt=\"\" width=\"400\" height=\"29\" \/><figcaption>Like this!<\/figcaption><\/figure>\n<\/div>\n<p>This command runs the pip program that came bundled with Python. It is a package manager and will install the Pillow package. Pillow is a package we will use to generate out LUT image file later.<\/p>\n<h2 class=\"wp-block-heading\">Getting Unreal Engine 4<\/h2>\n<p>Next, get yourself a copy of Unreal Engine 4. You need to head to:<\/p>\n<p>You will need to get the Epic Games Launcher from there \u2013 you will also need an Epic Games account if you don\u2019t have one.<\/p>\n<p>Once you have Epic Games Launcher, open it up. Head to \u201cUnreal Engine\u201d on the left navigation pane, click the Library tab and add a new Engine Version if you need one.<\/p>\n<p>You can read the full installation docs here if you have an issue:<\/p>\n<p>I used 4.25.1 for this tutorial. If you want to use the same version, grab that.<\/p>\n<p>We\u2019ll get the correct project files later, in Part 4.<\/p>\n<h2 class=\"wp-block-heading\">Just want the finished projects?<\/h2>\n<p>If you <em>just<\/em> want the complete, finished project files you can find that here:<\/p>\n<p>&lt;missing link &#8211; will re-up!&gt;<\/p>\n<p>Ready to continue?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Getting Python We\u2019re going to use Python for our producing out LUT. The code can be written in any language, if you prefer. Python was just my preference for prototyping the initial work with, and I stuck with it. You\u2019ll need a version of Python that is 3.0 or higher. This was all written in Python 3.8, so if you wish to avoid potential issues from incompatilbities, use that version. The other important thing is that you need to install and run the 64-bit version. Monte Carlo simulations benefit from the precision, as we can deal with incredibly small numbers. Make sure when installing it, that you add python to your PATH variable. All this does is enable you to call \u201cpython\u201d in the command line from any directory on your PC. Getting Packages The next thing we need to do is grab a Python package. We\u2019ll discuss later what we use this particular package for, but for now, let\u2019s just make sure we\u2019ve got it ready. Open a command line by pressing the Start icon and searching for \u201ccmd\u201d &nbsp; &nbsp; Then type the following and press return: python -m pip install &#8211;upgrade Pillow Like this! This command runs the pip program that came bundled with Python. It is a package manager and will install the Pillow package. Pillow is a package we will use to generate out LUT image file later. Getting Unreal Engine 4 Next, get yourself a copy of Unreal Engine 4. You need to head to: You will need to get the Epic Games Launcher from there \u2013 you will also need an Epic Games account if you don\u2019t have one. Once you have Epic Games Launcher, open it up. Head to \u201cUnreal Engine\u201d on the left navigation pane, click the Library tab and add a new Engine Version if you need one. You can read the full installation docs here if you have an issue: I used 4.25.1 for this tutorial. If you want to use the same version, grab that. We\u2019ll get the correct project files later, in Part 4. Just want the finished projects? If you just want the complete, finished project files you can find that here: &lt;missing link &#8211; will re-up!&gt; Ready to continue?<\/p>\n","protected":false},"author":1,"featured_media":171,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8,7],"class_list":["post-169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-lut","tag-skin"],"_links":{"self":[{"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/posts\/169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":16,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":1278,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/posts\/169\/revisions\/1278"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/media\/171"}],"wp:attachment":[{"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/half4.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}