<?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: how to bake a normal map from a mesh that has rounded edges? in Arnold for Maya Forum</title>
    <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063656#M5902</link>
    <description>&lt;P&gt;I know this ain't a maya screenshot.&lt;BR /&gt;However.&lt;BR /&gt;&lt;BR /&gt;Source the bumped Normal from AOV's back into a shade chain with READ AOV, the most left top.&lt;BR /&gt;Then source the unbumped normal with a state vector N, bottom, and source them to the space transform. See settings on space transform node.&lt;BR /&gt;Then move the entire thing into the correct space 0-1 with the constantbias scale +1 *0.5 Then exit to a WRITE AOV, I call mine test. then flip to it, and this is what I see.&lt;BR /&gt;&lt;BR /&gt;Also, you need to setup the material, its the 2 nodes seperate from the transformation kit, its basically just an Arnold Material with the rounded corner plugined to Normal ( and we read this back into chain which is the first thing I described, top left node )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4799-www.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043060i4375B399A71F5F32/image-size/large?v=v2&amp;amp;px=999" role="button" title="4799-www.png" alt="4799-www.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is basically also what you do if you toy with volumetric displacements using OSL shaders or whatever if they sit in tangent space from the get go, then we can move it into the right space so for example a cloud wont start to shift in a 45 degree angle when displaced, but instead take middle as starting point so volume gets displaced properly in all directions.&lt;BR /&gt;&lt;BR /&gt;I also do this on the OSL flowmap, we paint in 0-1 space and move the data to -1 to 1 so that a paint strokes has 4 directions, eg, we can make circular strokes and the uv offsetting is following the brush, spotless perfection around in a circle.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4800-ddd.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043061iF3B376D5B8592DE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="4800-ddd.png" alt="4800-ddd.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Oct 2019 11:22:06 GMT</pubDate>
    <dc:creator>madsd</dc:creator>
    <dc:date>2019-10-15T11:22:06Z</dc:date>
    <item>
      <title>how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063647#M5893</link>
      <description>&lt;P&gt;New to Arnold so please bare with me.&lt;/P&gt;&lt;P&gt;Trying out some new workflows, to see if I can quickly get a normal map from an asset (in Maya).&lt;/P&gt;&lt;P&gt;So what I've done so far was: &lt;/P&gt;&lt;P&gt;1. Apply a roundcorners node on a aiutilty node (set the shade more to flat and color mode to Normal)&lt;/P&gt;&lt;P&gt;Result in render&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4344-arnold-bake-1.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043062iB1E1145286F99AE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="4344-arnold-bake-1.jpg" alt="4344-arnold-bake-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. Use render to texture an AOV (diffuse) to get the World Space normals.( i assume they are World Space?)&lt;/P&gt;&lt;P&gt;3. Open the exr file convert to 16bit in photoshop and save as a png.(cant save as another file format)&lt;/P&gt;&lt;P&gt;4. Use Handplane to convert the png file from Object space to tangent space (Handplane does not convert World space to tangent space).&lt;/P&gt;&lt;P&gt;5. Take the new converted file and apply it back in Maya as a normal map. &lt;/P&gt;&lt;P&gt;Result (normals are wrong)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4342-arnold-bake-2.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043063i2216F0E543629811/image-size/large?v=v2&amp;amp;px=999" role="button" title="4342-arnold-bake-2.jpg" alt="4342-arnold-bake-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4343-arnold-bake-3.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043064i8880CE60B0988C8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="4343-arnold-bake-3.jpg" alt="4343-arnold-bake-3.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I assume there is no way of getting a normal map directly baked on a texture from an AOV?&lt;/P&gt;&lt;P&gt;Is there a way to get the object space normals instead?&lt;/P&gt;&lt;P&gt;If you can render out a normal map, how should I have my smoothing groups?&lt;/P&gt;&lt;P&gt;How do I control padding? &lt;/P&gt;&lt;P&gt;How do I fix the graininess on the render to texture settings? (Camera settings (AA) were set to 4&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 21:47:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063647#M5893</guid>
      <dc:creator>Mike_Isaakidis</dc:creator>
      <dc:date>2019-08-13T21:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063648#M5894</link>
      <description>&lt;P&gt;I've done this. Add an aov for normals - n. Render that to texture. You will get a world space normal map. You can convert that to tangent space in substance designer in a few steps.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Sep 2019 17:32:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063648#M5894</guid>
      <dc:creator>askinner6CDVL</dc:creator>
      <dc:date>2019-09-29T17:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063649#M5895</link>
      <description>&lt;P&gt;You can convert world space normals to tangent space with the Space Transform node. You also need to move it from -1 to 1 into 0-1 by adding up 1 and multiply with 0.5 afterwards.&lt;BR /&gt;Solution fabricated by Arnold devs, I just forward info, its also what happens under the hood.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4677-eee.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043058i6DC1C013D7A1A452/image-size/large?v=v2&amp;amp;px=999" role="button" title="4677-eee.png" alt="4677-eee.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 11:49:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063649#M5895</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-09-30T11:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063650#M5896</link>
      <description>&lt;P&gt;That's interesting to know. It might actually be less hassle than the method i tried. I will give this a shot. Cheers !&lt;/P&gt;</description>
      <pubDate>Sat, 12 Oct 2019 18:03:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063650#M5896</guid>
      <dc:creator>askinner6CDVL</dc:creator>
      <dc:date>2019-10-12T18:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063651#M5897</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://answers.arnoldrenderer.com/users/533/madsd.html" nodeid="533"&gt;@Mads DrÃ¸schler&lt;/A&gt; Sorry I can't get this to work at all &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Could you elaborate on the steps you took to make this work? I have the shader set up like this - then I do render to texture and still get -ve values in the texture, also I can't get render to texture to render anything other than an exr. I'd like to automate this eventually so it would be good to get this working!&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.arnoldrenderer.com/storage/attachments/4790-01.png"&gt;01.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 20:16:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063651#M5897</guid>
      <dc:creator>askinner6CDVL</dc:creator>
      <dc:date>2019-10-14T20:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063652#M5898</link>
      <description>&lt;P&gt;Here's the viewport and the texture bake in substance, see how there's still black areas that are negative.&lt;/P&gt;&lt;P&gt;&lt;A href="https://answers.arnoldrenderer.com/storage/attachments/4791-02.png"&gt;02.png&lt;/A&gt;&lt;A href="https://answers.arnoldrenderer.com/storage/attachments/4792-03.png"&gt;03.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2019 22:04:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063652#M5898</guid>
      <dc:creator>askinner6CDVL</dc:creator>
      <dc:date>2019-10-14T22:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063653#M5899</link>
      <description>&lt;P&gt;@Aten Skinner add 1 and multiply by .5 now to remap it into 0-1 space&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 02:27:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063653#M5899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-15T02:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063654#M5900</link>
      <description>&lt;P&gt;I'm already doing that in the shader though, see pic01 ^^&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 08:33:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063654#M5900</guid>
      <dc:creator>askinner6CDVL</dc:creator>
      <dc:date>2019-10-15T08:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063655#M5901</link>
      <description>&lt;P&gt;Oh hang on have I got the wrong end of the stick here? You mean +1 and *0.5 as a post process, i.e. in Substance I was thinking you could somehow bake it out like that&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 08:37:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063655#M5901</guid>
      <dc:creator>askinner6CDVL</dc:creator>
      <dc:date>2019-10-15T08:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063656#M5902</link>
      <description>&lt;P&gt;I know this ain't a maya screenshot.&lt;BR /&gt;However.&lt;BR /&gt;&lt;BR /&gt;Source the bumped Normal from AOV's back into a shade chain with READ AOV, the most left top.&lt;BR /&gt;Then source the unbumped normal with a state vector N, bottom, and source them to the space transform. See settings on space transform node.&lt;BR /&gt;Then move the entire thing into the correct space 0-1 with the constantbias scale +1 *0.5 Then exit to a WRITE AOV, I call mine test. then flip to it, and this is what I see.&lt;BR /&gt;&lt;BR /&gt;Also, you need to setup the material, its the 2 nodes seperate from the transformation kit, its basically just an Arnold Material with the rounded corner plugined to Normal ( and we read this back into chain which is the first thing I described, top left node )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4799-www.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043060i4375B399A71F5F32/image-size/large?v=v2&amp;amp;px=999" role="button" title="4799-www.png" alt="4799-www.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;This is basically also what you do if you toy with volumetric displacements using OSL shaders or whatever if they sit in tangent space from the get go, then we can move it into the right space so for example a cloud wont start to shift in a 45 degree angle when displaced, but instead take middle as starting point so volume gets displaced properly in all directions.&lt;BR /&gt;&lt;BR /&gt;I also do this on the OSL flowmap, we paint in 0-1 space and move the data to -1 to 1 so that a paint strokes has 4 directions, eg, we can make circular strokes and the uv offsetting is following the brush, spotless perfection around in a circle.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4800-ddd.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1043061iF3B376D5B8592DE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="4800-ddd.png" alt="4800-ddd.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2019 11:22:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063656#M5902</guid>
      <dc:creator>madsd</dc:creator>
      <dc:date>2019-10-15T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063657#M5903</link>
      <description>&lt;P&gt;Does the round corners work for angles that are not 90 degrees?&lt;/P&gt;&lt;P&gt;(like 60 or 105, 125)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 00:17:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063657#M5903</guid>
      <dc:creator>Mike_Isaakidis</dc:creator>
      <dc:date>2019-10-21T00:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063658#M5904</link>
      <description>&lt;P&gt;Hi did anyone get a final Maya shader that worked with this? The answers are great but still can't get it to work. If anyone could share an image of their setup that would be great thank you&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 21:15:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063658#M5904</guid>
      <dc:creator>3dbenjarn</dc:creator>
      <dc:date>2021-06-16T21:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to bake a normal map from a mesh that has rounded edges?</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063659#M5905</link>
      <description>&lt;P&gt;I'm bumping this - @Ben Moseley - over at the Arnold Support Blog is an ASS Material of the tangent calculation, you can copy the code lines and import the node-setup &lt;A href="https://arnoldsupport.com/2021/02/19/tangent-space-normal-maps/"&gt;https://arnoldsupport.com/2021/02/19/tangent-space-normal-maps/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;its in the same way as Mads did it, but also the actual part how to visualize the Normal AOV is not clarified. I am uncertain, but could be that the part of setting up the (Normal) AOV as Material even differs between DCCs. I couldn't make it work in C4D. It's not clear how to feed / read / loop N from the scene geometry back to the custom Tangent Normal-AOV. Either by a second AOVwrite assigned globally as material or by object mask or aov tags locally? Or by a read/write from a Material on the normal nodes itself? And does the main AOVwrite Node need a Material assigned to the pass-through to actually draw anything at all?&lt;BR /&gt;&lt;BR /&gt;Can anyone share a scene with the complete AOV setup set in place?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 23:58:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/how-to-bake-a-normal-map-from-a-mesh-that-has-rounded-edges/m-p/11063659#M5905</guid>
      <dc:creator>skx555</dc:creator>
      <dc:date>2022-03-21T23:58:01Z</dc:date>
    </item>
  </channel>
</rss>

