<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: OSL Programming tutorial: Let's write a proper Normal Blend Map in Arnold General Rendering Forum</title>
    <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048768#M1676</link>
    <description>&lt;P&gt;really nice&lt;BR /&gt;Maya&lt;span class="lia-inline-image-display-wrapper" image-alt="5360-mtoa-nmb.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046150iBD550B2477E337D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="5360-mtoa-nmb.jpg" alt="5360-mtoa-nmb.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Houdini&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5421-htoa-nmb.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046151i328DC4735DBF5FFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5421-htoa-nmb.jpg" alt="5421-htoa-nmb.jpg" /&gt;&lt;/span&gt;mtd &amp;amp; aeTemplate here:&lt;BR /&gt;&lt;A href="https://answers.arnoldrenderer.com/storage/attachments/5422-normalblend.zip" target="_blank" rel="noopener noreferrer"&gt;NormalBlend.zip&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 Dec 2019 17:35:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-14T17:35:32Z</dc:date>
    <item>
      <title>OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048767#M1675</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5403-normalblend.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046153iDAF7967FA08EA634/image-size/large?v=v2&amp;amp;px=999" role="button" title="5403-normalblend.jpg" alt="5403-normalblend.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Blending normals is not just a question about adding them up in some way, linear blend, overlay tricks or partial derivatives, has been seen through history as attempts to overcome blending multiple normals, while trying to preserve as many details as possible.&lt;BR /&gt;&lt;BR /&gt;These methods does not represent the current front end.&lt;BR /&gt;&lt;BR /&gt;So if you want to blend normals like a BOSS and on the same time, take your first step into writing OSL shaders for Arnold, take a look here and dive in.&lt;BR /&gt;&lt;BR /&gt;The shader is based around an article by Colin Barré-Brisebois and Stephen Hill, where they show many popular blend modes and then their own superior construct called reoiriented normal blending. &lt;A href="https://blog.selfshadow.com/publications/blending-in-detail/"&gt;https://blog.selfshadow.com/publications/blending-in-detail/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;VIDEO:&lt;BR /&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer" href="https://youtu.be/d462neeNXyk" target="_blank"&gt;https://youtu.be/d462neeNXyk&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also put up a perma link on the git.&lt;BR /&gt;&lt;A href="https://github.com/gkmotu/OSL-Shaders/blob/master/NormalBlend.osl"&gt;https://github.com/gkmotu/OSL-Shaders/blob/master/NormalBlend.osl&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you skipped directly to shader download, remember to revise your 2 bitmap loaders gamma space.&lt;BR /&gt;You want to make sure you work in linear space on everything you send into the shader.&lt;BR /&gt;So, and that means, set gamma to 1.0.&lt;BR /&gt;&lt;BR /&gt;Shader should work in any host.&lt;BR /&gt;&lt;BR /&gt;In MAX 2020.3:&lt;BR /&gt;- Viewport in High Quality mode with a Physical Material + Legacy normal map + 2 OSL bitmaps and this RNM shader returns normals on mesh in the viewport.&lt;BR /&gt;- Arnold renders them in a higher quality simultaniously.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any questions or suggestions to updates, corrections of errors and so forth.&lt;BR /&gt;And if you have other blend functions laying around, let's try put them though the shader.&lt;BR /&gt;We can even make a drop down with blend mode types, which I would not realy like &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; But its possible.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Its best to just have the most efficient function in main shader and everything else is legacy instantly and gets pulled from shader chains when the master on disk gets updated by TD folks, which could be huge facility injection or 1 man band, makes no difference, its eaqually easy/hard to update master assembly in both scenarios.&lt;BR /&gt;&lt;BR /&gt;If we put up 50 texture artists for a year on some mission for honor and glory, we would give them new shading tools ad hoc as needs/requests comes in. And their shaders when working with them would update in their scenes when we updated the shader on disk, so all artists active open scenes gets this upgrade automatically, no buttons touched. Small latency delay from TD area to artists Shading node canvas, but nothing serious, mili seconds on good network.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 21:21:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048767#M1675</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-12-13T21:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048768#M1676</link>
      <description>&lt;P&gt;really nice&lt;BR /&gt;Maya&lt;span class="lia-inline-image-display-wrapper" image-alt="5360-mtoa-nmb.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046150iBD550B2477E337D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="5360-mtoa-nmb.jpg" alt="5360-mtoa-nmb.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;Houdini&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5421-htoa-nmb.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046151i328DC4735DBF5FFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5421-htoa-nmb.jpg" alt="5421-htoa-nmb.jpg" /&gt;&lt;/span&gt;mtd &amp;amp; aeTemplate here:&lt;BR /&gt;&lt;A href="https://answers.arnoldrenderer.com/storage/attachments/5422-normalblend.zip" target="_blank" rel="noopener noreferrer"&gt;NormalBlend.zip&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 17:35:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048768#M1676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-14T17:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048769#M1677</link>
      <description>&lt;P&gt;ah so you need some complimentary ui files for those 2 hosts.&lt;BR /&gt;Thanks for the files.&lt;BR /&gt;Ill try ship shaders I am rolling out on my site with these files as well so maya/houdini folks will get these along the downloaded shader.&lt;BR /&gt;&lt;BR /&gt;I may be back to ask for testing or ask for some coop QA for UI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 22:59:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048769#M1677</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-12-14T22:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048770#M1678</link>
      <description>&lt;P&gt;it's a pleasure to test your beautiful shaders&lt;BR /&gt;I'm ready&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 04:04:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048770#M1678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-15T04:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048771#M1679</link>
      <description>&lt;P&gt;Update for c4D&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5423-c4d-nmb.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1046152i61311ECFA44AC2D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="5423-c4d-nmb.jpg" alt="5423-c4d-nmb.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Just add &lt;BR /&gt;&lt;STRONG&gt;ARNOLD_PLUGIN_PATH&lt;/STRONG&gt; in the OS variable&lt;BR /&gt;&lt;A rel="noopener noreferrer noopener noreferrer noopener noreferrer" href="https://answers.arnoldrenderer.com/storage/attachments/5424-normalblend.zip" target="_blank"&gt;NormalBlend.zip&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 04:33:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048771#M1679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-15T04:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048772#M1680</link>
      <description>&lt;P&gt;Perfect, now we got 4 supported ui entries.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 05:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048772#M1680</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-12-15T05:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048773#M1681</link>
      <description>&lt;P&gt;Great.&lt;BR /&gt;I stole your images and will make a 4th for MAX, then submit a post in my OSL Shaders category on my site with some explainations and so on, full credit for the UI file work OFC.&lt;BR /&gt;&lt;BR /&gt;Ill attempt to make a template that other shaders can follow.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 10:04:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048773#M1681</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-12-15T10:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048774#M1682</link>
      <description>&lt;P&gt;Something down this road ~&lt;BR /&gt;&lt;A href="https://www.masd.dk/osl-shaders-normalblend/"&gt;https://www.masd.dk/osl-shaders-normalblend/&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 12:37:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048774#M1682</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-12-15T12:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: OSL Programming tutorial: Let's write a proper Normal Blend Map</title>
      <link>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048775#M1683</link>
      <description>&lt;P&gt;Nice&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 13:22:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-general-rendering-forum/osl-programming-tutorial-let-s-write-a-proper-normal-blend-map/m-p/11048775#M1683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-15T13:22:10Z</dc:date>
    </item>
  </channel>
</rss>

