{"id":694,"date":"2020-02-25T15:25:00","date_gmt":"2020-02-25T23:25:00","guid":{"rendered":"http:\/\/www.toadstorm.com\/blog\/?p=694"},"modified":"2020-03-01T12:45:50","modified_gmt":"2020-03-01T20:45:50","slug":"an-idiots-guide-to-aces","status":"publish","type":"post","link":"https:\/\/www.toadstorm.com\/blog\/?p=694","title":{"rendered":"An Idiot&#8217;s Guide to ACES"},"content":{"rendered":"\n<p>I&#8217;ve been putting off working in ACES for years now, because almost every explanation of the system I&#8217;ve tried to read online has been either extraordinarily technical and long-winded, or read like a sales pitch with no useful information about implementation. It takes a certain amount of training and understanding to get a team of artists to work with ACES reliably, and so to save my own sanity I just stuck with the usual &#8220;linear workflow&#8221; and tried not to worry about it. Now that I&#8217;m running a much smaller team at my current job, I decided it was time to actually try to implement ACES for real, and this is my attempt at writing down what I&#8217;ve learned into a practical guide for why and how you should implement ACES in your own work. I&#8217;m probably (definitely) over-simplifying plenty of details, but that&#8217;s what all the long and boring technical guides that smarter people have written are for. Feel free to yell at me in the comments if you like.<\/p>\n\n\n\n<p>An important note: I&#8217;m a (technical) 3D production artist, not a color scientist. The &#8220;Idiot&#8221; in this Idiot&#8217;s Guide is me. I&#8217;m just trying to translate a lot of difficult jargon and theory into something that&#8217;s practical for use by normal humans, because I could barely make any sense out of it myself. I&#8217;m likely taking shortcuts and making compromises in certain places that would make a Real Color Scientist&#8217;s eyes bleed, but that&#8217;s the nature of production&#8230; sometimes you have to break the rules to get the image the client wants.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WTF is ACES?<\/h3>\n\n\n\n<p>ACES is a color system that&#8217;s meant to standardize how color is managed from all kinds of input sources (film, CG, etc), and provide a future-proof working space for artists to work in at every stage of the production pipeline. Whatever your images are coming from, you smoosh them into the ACES color standard, and now your whole team is on the same page.<\/p>\n\n\n\n<p>For CG artists, a big benefit is the <strong>ACEScg <\/strong>color gamut, which is a nice big gamut that allows for a lot more colors than ye olde sRGB. Even if you&#8217;re working in a linear colorspace with floating-point renders, the so-called &#8220;linear workflow&#8221;, your <em>color primaries<\/em> (what defines &#8220;red&#8221;, &#8220;green&#8221; and &#8220;blue&#8221;) are likely still sRGB, and that limits the number of colors you can accurately represent. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"910\" height=\"865\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/gamut_srgb_vs_acescg-2.png\" alt=\"\" class=\"wp-image-695\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/gamut_srgb_vs_acescg-2.png 910w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/gamut_srgb_vs_acescg-2-300x285.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/gamut_srgb_vs_acescg-2-768x730.png 768w\" sizes=\"(max-width: 910px) 100vw, 910px\" \/><figcaption>Who&#8217;s got the biggest gamut? Who does? Is it you, ACEScg? Yes, it is! Who&#8217;s a good gamut?<\/figcaption><\/figure>\n\n\n\n<p>What we typically think of as &#8220;linear&#8221; versus &#8220;sRGB&#8221; is a bit of a misnomer\u2026 a linear colorspace can use sRGB primaries, which is what most of us outside of ACES are dealing with when we&#8217;re working with &#8220;linear&#8221; textures or renders. What we usually call &#8220;sRGB&#8221; is also using the sRGB primaries, but with a 2.2 gamma curve applied in order to make it display properly on typical monitors. ACEScg, on the other hand, uses its own set of primaries called &#8220;AP1&#8221;, which allows for that nice big triangle o&#8217; colors in the diagram above. Remember that the sRGB \/ Rec. 709 standard was developed back when we were still using CRT monitors and wearing acid washed jeans. It&#8217;s time to put away your NKOTB World Tour t-shirt.  <\/p>\n\n\n\n<p>Here&#8217;s a quick example showing you the difference between a render in your typical sRGB &#8220;linear&#8221; workflow, and an ACES workflow. You can tell right away that the colors you get are significantly more &#8220;real&#8221;, especially at the extremes of brightness and saturation.<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-2 is-cropped wp-block-gallery-1 is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB.png\"><img decoding=\"async\" loading=\"lazy\" width=\"1017\" height=\"1019\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB.png\" alt=\"\" data-id=\"704\" data-full-url=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB.png\" data-link=\"https:\/\/www.toadstorm.com\/blog\/?attachment_id=704\" class=\"wp-image-704\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB.png 1017w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB-300x300.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB-150x150.png 150w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_sRGB-768x770.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/a><figcaption class=\"blocks-gallery-item__caption\">The typical &#8220;linear&#8221; workflow. Look at those super-saturated colors!<\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg.png\"><img decoding=\"async\" loading=\"lazy\" width=\"1017\" height=\"1019\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg.png\" alt=\"\" data-id=\"703\" data-full-url=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg.png\" data-link=\"https:\/\/www.toadstorm.com\/blog\/?attachment_id=703\" class=\"wp-image-703\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg.png 1017w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg-300x300.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg-150x150.png 150w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/cornell_acescg-768x770.png 768w\" sizes=\"(max-width: 1017px) 100vw, 1017px\" \/><\/a><figcaption class=\"blocks-gallery-item__caption\">The same exact scene, with the colors first converted to ACEScg, displayed with the ACES sRGB LUT.<\/figcaption><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>ACEScg is the ACES color space of choice to use for CG artists because it&#8217;s linearly encoded (as opposed to logarithmically, which tends to be how non-CG people like to think about exposure), so your render engine and compositing program of choice will play nicely with it. There are other color spaces defined in the ACES specification, including the ACES 2065-1 space for archival and interchange purposes, but as a CG artist the only one you really need to worry about for now is ACESCG.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The Viewer LUT<\/h3>\n\n\n\n<p>So, we know we have ACESCG as the color space we want to work in. However, your crappy monitor can&#8217;t display this whole space. Even if you have a nice monitor, it can probably only accurately display the DCI-P3 gamut, which is still not as big as ACESCG. The other space you need to define, then, is your &#8220;viewing&#8221; space. This is kind of like when you&#8217;re looking at a linear render and everything appears way too dark until you hit the &#8220;sRGB&#8221; or &#8220;gamma 2.2&#8221; button\u2026 the image needs to be transformed from whatever color space it&#8217;s rendered in to a space that your monitor likes. This viewing space is dependent on your own monitor situation, but if you&#8217;re not on a fancy monitor, it&#8217;s probably either sRGB or Rec. 709 (the two are very very similar). You&#8217;ll need to make sure that when you&#8217;re viewing or compositing your renders that you&#8217;re looking through the right viewer LUT that transforms your renders from ACESCG to sRGB or Rec. 709 or Rec. 1886 or whatever you&#8217;re into. <\/p>\n\n\n\n<p>One other thing&#8230; the &#8220;Output&#8221; color spaces in ACES have something called an &#8220;RRT&#8221; involved, which stands for &#8220;Reference Rendering Transform&#8221;. This is an overly-technical way of saying that there is an extra transformation happening between your ACEScg scene and your sRGB or Rec 709 viewer space! The RRT is similar to your typical S-curve that you&#8217;d apply to renders or footage to get nice deep blacks and rolled-off highlights. It looks great, but it can introduce complexities later on when you&#8217;re trying to get <em>exact<\/em> output colors from a matching input&#8230; which frequently is a necessity in commercials when you&#8217;re matching brand colors or compositing screens onto objects. More on this in a bit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Converting Input Textures<\/h3>\n\n\n\n<p>You&#8217;ll also need to make sure that any <em>applicable<\/em> color textures you&#8217;re using are converted into the ACEScg color space. This part can be tricky, because textures can come from a wide variety of sources. You&#8217;ll need to apply what&#8217;s called an &#8220;input device transform&#8221;, or &#8220;IDT&#8221;, to these textures. Most textures you download from the internet are going to be in the sRGB color space, which you&#8217;ll see in OCIO as &#8220;Utility &#8211; sRGB &#8211; Texture&#8221;. If you have nice linear EXR textures or renders, your IDT would instead be Utility &#8211; Linear &#8211; sRGB. The naming here is of course confusing, because everything about color is confusing, but the Linear &#8211; sRGB there means that you&#8217;re dealing with an image that is rendered with linear values, i.e. no tonemapping curve, but using sRGB primaries. Your typical JPEG is also using sRGB primaries, but it has an input gamma curve of 2.2, so it&#8217;s not linear. <\/p>\n\n\n\n<p><mark>When in doubt, if the image isn&#8217;t floating-point, use Utility &#8211; sRGB &#8211; Texture. If it is floating-point, use Utility &#8211; Linear &#8211; sRGB.<\/mark><\/p>\n\n\n\n<p>Color swatches are no different! You&#8217;ll need to make sure that the values you&#8217;re inputting, if you&#8217;re not converting them directly through an OCIO transform node in your software of choice, are in the ACEScg space. <\/p>\n\n\n\n<p>Now, above I used the qualifiers &#8220;applicable&#8221; and &#8220;color&#8221; when describing textures that you need to convert to the ACEScg color space. What I mean by this is that you only want to convert textures that describe <em>color<\/em>, and not textures that describe <em>data<\/em>. A diffuse or albedo texture map describes <em>color<\/em> and needs to be color-corrected. A normal, displacement, or roughness map describes <em>data<\/em> and should NOT be converted. It&#8217;s important to keep this distinction in mind when color-correcting your input textures!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"483\" height=\"245\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/map_types.png\" alt=\"\" class=\"wp-image-701\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/map_types.png 483w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/map_types-300x152.png 300w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/><figcaption><strong>Left<\/strong>: a color texture that directly describes the &#8220;color&#8221; of a material in some way (diffuse or albedo). Convert these textures. <strong>Right<\/strong>: a data texture that numerically describes surface properties (normals, or roughness, or height). DO NOT CONVERT!<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">How to actually set up ACES<\/h3>\n\n\n\n<p>First off, you need to download the actual definition of these fancy ACES color spaces. The easiest way to do this is to use the OpenColorIO (OCIO) configuration. You can download it here:  <a href=\"https:\/\/github.com\/colour-science\/OpenColorIO-Configs\">https:\/\/github.com\/colour-science\/OpenColorIO-Configs<\/a> <\/p>\n\n\n\n<p>Inside you&#8217;ll find several different ACES configurations. I&#8217;m using v1.0.3 here. In the aces_1.0.3 folder, you&#8217;ll find a file called &#8220;config.ocio&#8221;\u2026 this is the main file you&#8217;ll be pointing to in other applications that can use ACES. Some applications like Fusion have in-app controls to allow you to specify an OCIO configuration file, but in general the easy way is to set up the OCIO system environment variable. You just need to set OCIO=\/path\/to\/config.ocio, depending on where you&#8217;re storing the config.ocio file. On Windows, you can do this through Control Panel &gt; System Properties &gt; Advanced &gt; Environment Variables. On Linux or OSX, you want to use the &#8220;export&#8221; shell command like so: <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">export OCIO=\/path\/to\/config.ocio<\/pre>\n\n\n\n<p>If you want this to apply permanently, you can add the line to your user&#8217;s &#8220;.bash_profile&#8221; file, found at ~\/.bash_profile, using any text editor. Start a new shell or logout\/login again to apply the change.<\/p>\n\n\n\n<p>Most relevant 3D and compositing applications will recognize this OCIO variable automatically, and so you can move onto configuring the exact color spaces you want to use per-application.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring your applications<\/h3>\n\n\n\n<p>Next, you need to configure your application. This is where things can start to get complicated, because the exact setup procedure is different depending on what app you&#8217;re using, and what render engine you&#8217;re using. I&#8217;ll include a few examples of common applications here.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Maya<\/h4>\n\n\n\n<p>Maya has built-in color management now, though not every supported render engine is compatible with it (I&#8217;m looking at you, Redshift!) To use it, go to Maya&#8217;s preferences, Settings &gt; Color Management, and check Enable Color Management and Use OCIO Configuration. If the OCIO Config Path isn&#8217;t filled in, set it to the path of the config.ocio file you downloaded earlier. Once that&#8217;s set up, you can define your &#8220;Rendering Space&#8221; and your &#8220;View Transform&#8221;. The Rendering Space should be our new friend ACEScg. The View Transform is your &#8220;viewer&#8221; space\u2026 for most of you this is sRGB or Rec. 709, depending on your monitor. Finally, you can set up a list of default rules for how you want Maya to handle input textures, based on the file extension or the path on disk. Remember that these rules are just guesses, and will not be smart enough to tell the difference between a color texture (convert this!) and a data texture (do not convert this!) unless you set up your file path structure on disk to enforce these rules! You&#8217;ll likely have to manually adjust the color transform settings on your File nodes on certain textures. The important part is to just be aware of the input color space of your textures, and don&#8217;t rely on the automated rules to do this thinking for you.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"795\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/maya_aces_config-1024x795.png\" alt=\"\" class=\"wp-image-696\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/maya_aces_config-1024x795.png 1024w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/maya_aces_config-300x233.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/maya_aces_config-768x596.png 768w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/maya_aces_config.png 1416w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>An example Maya OCIO config for ACES.<\/figcaption><\/figure>\n\n\n\n<p>Finally, you need to configure your Render View to display your renders through the correct LUT. This is different per-render engine. In Redshift, this is configured in the &#8220;Redshift Post Effects&#8221; settings, available via Render Settings &gt; Color Management, or from the Redshift Render View by clicking the gear icon at the upper right of the Render View window (expand the window if you can&#8217;t see it), then looking for the Color Management dropdown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"813\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/redshift_aces_confg-1024x813.png\" alt=\"\" class=\"wp-image-702\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/redshift_aces_confg-1024x813.png 1024w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/redshift_aces_confg-300x238.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/redshift_aces_confg-768x610.png 768w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/redshift_aces_confg.png 1527w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>The Redshift Render View color configuration. If you can&#8217;t see that gear icon, expand your window a little.<\/figcaption><\/figure>\n\n\n\n<p>Of course, Redshift (and probably some other render engines I don&#8217;t use) don&#8217;t yet support Maya&#8217;s internal color management system. In cases like this, you&#8217;ll want to <em>disable<\/em> Maya&#8217;s color management, and you&#8217;ll have to convert your textures manually outside of Maya. The two easiest ways to handle this are the &#8220;ocioconvert&#8221; tool that comes packaged with OpenImageIO (https:\/\/github.com\/OpenImageIO\/oiio), or a compositing application like Blackmagic Fusion or Nuke. The rules are otherwise the same\u2026 transform the input texture from the appropriate input space (Utility &#8211; blah blah blah) to the ACEScg space, then save the file.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Houdini<\/h4>\n\n\n\n<p>If you&#8217;ve set the OCIO environment variable, Houdini&#8217;s Render View should automatically show a list of available ACES display LUTs at the bottom, along with the exposure and channel masking controls (these are hidden by default; just click the little ridge at the bottom of the render view window if you don&#8217;t see them). You can use the OCIO Color Transform VOP to transform input textures from the appropriate input spaces to ACEScg.<\/p>\n\n\n\n<p>Again, some render engines may not natively support the OCIO Color Transform VOP, and in these cases you&#8217;ll have to color correct your textures manually. Since you have Houdini, you can use COPs to transform your textures natively rather than relying on OpenImageIO or an external compositing program to convert them. Redshift currently doesn&#8217;t support it, and Mantra&#8217;s built-in ubershaders (the Principled and Classic shaders) have their own built-in color correction assumptions that don&#8217;t seem to lend themselves to in-line color transforms in the MAT context. It&#8217;s probably safest (and fastest) to pre-convert your textures into ACEScg before rendering.<\/p>\n\n\n\n<p>Something to keep in mind specifically when using the File COP in Houdini is that it tries to linearize your textures for you! You can either change your OCIO Transform VOP&#8217;s input space to Utility &#8211; Linear &#8211; sRGB, or uncheck &#8220;Linearize Non-Linear Images&#8221; on the File COP. You&#8217;ll also want to change the &#8220;File Raster Depth&#8221; to be &#8220;Specific Depth&#8221; and set the Depth to either 16- or 32-bit floating point. You don&#8217;t want to be writing 8-bit images in ACEScg.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"576\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs-2-1024x576.png\" alt=\"\" class=\"wp-image-706\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs-2-1024x576.png 1024w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs-2-300x169.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs-2-768x432.png 768w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs-2-1536x864.png 1536w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs-2-2048x1152.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Settings for the File COP (above) and the OCIO Transform VOP (below) to convert a typical sRGB texture to ACEScg space. Be sure that you&#8217;re overriding the bit depth on the File COP to floating point!<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Fusion<\/h4>\n\n\n\n<p>If the OCIO environment variable is set, Fusion should automatically list the &#8220;OCIO ColorSpace ViewLUT&#8221; in the list of available LUTs at the bottom of each viewer. Click the &#8220;LUT&#8221; button to enable a viewer LUT, then click the arrow next to it and select the OCIO ColorSpace ViewLUT, then go to Edit\u2026 to set your source and output spaces. Your source space is always going to be ACES &#8211; ACEScg. Your output space, as always, depends on your monitor\u2026 this will likely be &#8220;Output &#8211; Rec. 709&#8221; or &#8220;Output &#8211; sRGB&#8221;.<\/p>\n\n\n\n<p>With these settings, you can just import ACEScg renders and composite like you normally would, since ACEScg is a linear space. However, if you have other footage going into the comp that is not ACEScg, you&#8217;ll need to use the OCIOColorspace node to transform the footage from the appropriate space to ACEScg. You can use the same rule of thumb for most footage\u2026 if it&#8217;s an LDR image, it&#8217;s probably &#8220;Utility &#8211; sRGB &#8211; Texture&#8221;, and if it&#8217;s HDR it&#8217;s probably &#8220;Utility &#8211; Linear &#8211; sRGB&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"703\" height=\"838\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/fusion_aces_lut.png\" alt=\"\" class=\"wp-image-698\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/fusion_aces_lut.png 703w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/fusion_aces_lut-252x300.png 252w\" sizes=\"(max-width: 703px) 100vw, 703px\" \/><figcaption>Configuring the viewer LUT in Fusion. If you&#8217;ve set the OCIO environment variable, the OCIO Config File might appear blank, but you should still see all the ACES transforms available.<\/figcaption><\/figure>\n\n\n\n<p>Finally, when writing your comp to disk, you&#8217;ll likely need to do another color transform. The space to write to is dependent on your own local color pipeline. If you&#8217;re delivering to the web, mobile, or typical TVs, you&#8217;ll probably be converting to Rec. 709. If you&#8217;re delivering an HDR spot, you might be converting to Rec. 2020. If you&#8217;re trying to write out final images to DI and they want to be super-ACES-compliant, you&#8217;ll render to the archival ACES2065-1 space. If in doubt, ask your colorist. Use the OCIOColorspace node to transform to the output color space before your Saver node. If the image looks weird when you preview this node, it&#8217;s because your viewer LUT is still enabled\u2026 you can disable it to check your colors before writing if you&#8217;re paranoid.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Nuke<\/h4>\n\n\n\n<p>You can set your working color space in Nuke under Project Settings &gt; Color. Your working space is ACEScg. Your &#8220;monitor&#8221; space is the same as your &#8220;viewer&#8221; space mentioned above\u2026 this will likely be &#8220;sRGB&#8221; or &#8220;Rec. 709&#8221; if you have a typical monitor. You can set presets for incoming footage below\u2026 8-bit files should default to &#8220;Utility &#8211; sRGB &#8211; Texture&#8221;, and float files to ACEScg. Just remember that if you&#8217;re importing float files that didn&#8217;t come from one of your ACEScg renders, you&#8217;ll need to use an OCIOFileTransform node to convert from the appropriate space (probably &#8220;Utility &#8211; Linear &#8211; sRGB&#8221;) to ACEScg. <\/p>\n\n\n\n<p>Before writing final images to disk, use the OCIOFileTransform node to convert your comp into the appropriate delivery color space. See the &#8220;Fusion&#8221; section above for hints on what color space you might want to write to. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Annoying ACES gotchas<\/h3>\n\n\n\n<p>Of course, aside from having to read articles like this one, there are certain annoyances with the ACES system, especially for those of us that are frequently rendering things that aren&#8217;t necessarily &#8220;realistic&#8221;. The biggest problem I&#8217;ve run into is trying to get the result of an ACES render or comp to match a reference image&#8230; for example, a matte painting or a phone screen that needs to be tracked onto a device, or anything self-illuminated that isn&#8217;t actually acting like a light. If you just apply the usual sRGB -&gt; ACEScg conversion, you&#8217;ll notice that your self-illuminated material appears muted in renders.<\/p>\n\n\n\n<p>In situations like this, you have a couple of options, depending on where in the process you are. If you need a self-illuminated material in 3D to appear in renders exactly as it appears when you view the texture outside of ACES, you need to convert the texture to ACEScg, but from the OUTPUT space rather than the usual input space. This means that if your viewer is using the &#8220;Output &#8211; sRGB&#8221; space, you want to use this as your texture&#8217;s input space. This will ensure that, perceptually, the <em>opposite<\/em> of your viewer LUT, including the RRT S-curve tonemapping mentioned earlier, will be applied to your texture, so it will look exactly the same coming out the other side of ACES. This means that your output color values might come out pretty weird! Take a look at this screenshot and pay close attention to both the OCIO Transform settings and the color info window that appears over the render on the left.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"576\" src=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs_RRT-1024x576.png\" alt=\"\" class=\"wp-image-707\" srcset=\"https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs_RRT-1024x576.png 1024w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs_RRT-300x169.png 300w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs_RRT-768x432.png 768w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs_RRT-1536x864.png 1536w, https:\/\/www.toadstorm.com\/blog\/wp-content\/uploads\/2020\/02\/houdini_aces_COPs_RRT-2048x1152.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Check out the color values there when analyzing the &#8220;white&#8221; of the Houdini logo&#8230; the value is a little above 16.0!<\/figcaption><\/figure>\n\n\n\n<p>In the above screenshot, what you&#8217;re seeing as &#8220;white&#8221; is actually a value of about 16. Other colors might also be affected in strange ways by this process, especially when dealing with very bright or saturated colors. Keep numbers like this in mind when debugging issues with global illumination or weird reflections or other render glitches, or when grading these renders after rendering!<\/p>\n\n\n\n<p>On the compositing side, your best option for solving this same problem is simply exiting ACEScg space temporarily. This is best done near the end of your comp, for obvious reasons. Use the OCIO transform tools to convert from ACEScg to sRGB, change your viewer LUT to view in standard sRGB, then comp in your sRGB elements like screens, subtitles, end cards, etc. This has the advantage of avoiding the aforementioned wacky color values, but can cause problems down the line if you&#8217;re trying to output to an HDR delivery target, and you&#8217;ll need to make sure that your colors don&#8217;t screw up if you have to output to Rec. 2020 or ACES2065-1 or ACEScc or whatever. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Closing Thoughts<\/h3>\n\n\n\n<p>Even for what&#8217;s supposed to be a quick and practical guide, this is obviously a bit of reading. The ACES system is a good idea, but its implementation is still difficult and counter-intuitive, and it requires that everyone on your art team has an understanding of what color spaces to convert to and when to convert (or when not to). I hope this write-up at least gets you to understanding the basics of the system, and when you&#8217;re ready for the deep dive, I highly recommend you read the following guides:<\/p>\n\n\n\n<p>ACES Primer: <a href=\"https:\/\/acescentral.com\/uploads\/default\/original\/1X\/6ad8b74b085ac8945c1e638cbbd8fdf687b7f60e.pdf\">https:\/\/acescentral.com\/uploads\/default\/original\/1X\/6ad8b74b085ac8945c1e638cbbd8fdf687b7f60e.pdf<\/a><\/p>\n\n\n\n<p>Chris Brejon&#8217;s ACES Guide: <a href=\"https:\/\/chrisbrejon.com\/cg-cinematography\/chapter-1-5-academy-color-encoding-system-aces\/\">https:\/\/chrisbrejon.com\/cg-cinematography\/chapter-1-5-academy-color-encoding-system-aces\/<\/a><\/p>\n\n\n\n<p>Special thanks goes to Hernan Santander, Joe Pistono, Lewis Saunders, and Robert LaPlante for helping me make sense of all this ridiculous color business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been putting off working in ACES for years now, because almost every explanation of the system I&#8217;ve tried to read online has been either extraordinarily technical and long-winded, or read like a sales pitch with no useful information about implementation. It takes a certain amount of training and understanding [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/694"}],"collection":[{"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=694"}],"version-history":[{"count":14,"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions"}],"predecessor-version":[{"id":720,"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/694\/revisions\/720"}],"wp:attachment":[{"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.toadstorm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}