<?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: Render object flat and semi-opaque in Arnold for Cinema 4D Forum</title>
    <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048904#M9212</link>
    <description>&lt;P&gt;Sometimes code is cheaper than talk &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;PRE&gt;shader flat_transp
( color transp = 0.5, output closure color result = 0 )
{ result = transp*transparent(); }&lt;/PRE&gt;</description>
    <pubDate>Fri, 26 Jan 2018 15:39:24 GMT</pubDate>
    <dc:creator>maxtarpini</dc:creator>
    <dc:date>2018-01-26T15:39:24Z</dc:date>
    <item>
      <title>Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048899#M9207</link>
      <description>&lt;P&gt;I have a rigged model of a 3D man that I'm animating to look like it's drawing on a whiteboard.  I want the model to render as a semi-transparent black silhouette.  This can be easily done in multiple ways if I render the animation in two passes, one for the whiteboard setup and one for the man by himself.&lt;/P&gt;&lt;P&gt;I'm trying to figure out if it's possible to do this in one pass.  The description of the Flat shader describes it as "A simple color shader node which just allows a color and opacity value to be combined, with no other effects.  I can set the color to black, but there's no parameter to make it semi-opaque.&lt;/P&gt;&lt;P&gt;I've included an image showing the look I'm going for.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Shawn Marshall&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="861-black-silhouette-demo.jpg"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1044186i0085047C3AA2DEC8/image-size/large?v=v2&amp;amp;px=999" role="button" title="861-black-silhouette-demo.jpg" alt="861-black-silhouette-demo.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 09:29:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048899#M9207</guid>
      <dc:creator>shawn</dc:creator>
      <dc:date>2018-01-25T09:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048900#M9208</link>
      <description>&lt;P&gt;You'd need to write your own custom shader for that. The transparency should only get evaluated at the first ray hit with the object. You can do this kind of stuff using the message passing API.&lt;/P&gt;&lt;P&gt;It'll be quicker, easier and more controllable to render this out in 2 layers and do the effect in post&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 09:41:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048900#M9208</guid>
      <dc:creator>zenop</dc:creator>
      <dc:date>2018-01-25T09:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048901#M9209</link>
      <description>&lt;P&gt;Yeah, I won't be writing any custom shaders.  Doing it in two passes is no big deal, just wondering whether I was missing something.&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Shawn&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 18:13:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048901#M9209</guid>
      <dc:creator>shawn</dc:creator>
      <dc:date>2018-01-25T18:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048902#M9210</link>
      <description>&lt;P&gt;You do not need custom shader to do this, though it might be more efficient. Simply get the opacity from a lambert shader with weight set to zero, opacity to black. Then mix this with a flat shader and control opacity with the mix amount. See below (note though that opacity should be set to black).&lt;BR /&gt;&lt;BR /&gt;Be sure to unselect "opaque" in your arnold settings, as you would for glass.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="876-screen-shot-2018-01-25-at-115715-am.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1044185i76A3959E6425215B/image-size/large?v=v2&amp;amp;px=999" role="button" title="876-screen-shot-2018-01-25-at-115715-am.png" alt="876-screen-shot-2018-01-25-at-115715-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 19:06:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048902#M9210</guid>
      <dc:creator>Shawn_Kearney1</dc:creator>
      <dc:date>2018-01-25T19:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048903#M9211</link>
      <description>&lt;P&gt;I'm pretty sure you could also just use transmission with thin geometry and no specular if you're using the latest Arnold. If you do not need transmission to accumulate in alpha, then you could do it in earlier versions, also.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 21:34:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048903#M9211</guid>
      <dc:creator>Shawn_Kearney1</dc:creator>
      <dc:date>2018-01-25T21:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048904#M9212</link>
      <description>&lt;P&gt;Sometimes code is cheaper than talk &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;PRE&gt;shader flat_transp
( color transp = 0.5, output closure color result = 0 )
{ result = transp*transparent(); }&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jan 2018 15:39:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048904#M9212</guid>
      <dc:creator>maxtarpini</dc:creator>
      <dc:date>2018-01-26T15:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048905#M9213</link>
      <description>&lt;P&gt;Save it in a flat_transp.osl file and drop it into a folder where other shaders are loaded.&lt;/P&gt;&lt;P&gt;There is just a single param for transp as opposed to ie. flatcolor + opacity because of the way OSL deals with closures and colors.. closures can't be added over simple colors .. and 'flat' constant colors are actually 'emissive' closures .. and if not guarded against other ray evals they of course will illum the scene.. so here to keep it simple you have just a transp color to deal with. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 15:42:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048905#M9213</guid>
      <dc:creator>maxtarpini</dc:creator>
      <dc:date>2018-01-26T15:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048906#M9214</link>
      <description>&lt;P&gt;Add another flat_transp.mtd if you want better GUI, shader being put in the shader folder etc. Here a basic one for Maya not sure what's needed for C4D.&lt;/P&gt;&lt;PRE&gt;[node flat_transp]   
    maya.name               STRING  "flat_transp"
    maya.id                 INT     0x00076543
    maya.classification     STRING  "shader/surface"
    maya.output_name        STRING  "outColor"
    maya.output_shortname   STRING  "out"&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jan 2018 15:55:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048906#M9214</guid>
      <dc:creator>maxtarpini</dc:creator>
      <dc:date>2018-01-26T15:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Render object flat and semi-opaque</title>
      <link>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048907#M9215</link>
      <description>&lt;P&gt;Nice one. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 16:28:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-cinema-4d-forum/render-object-flat-and-semi-opaque/m-p/11048907#M9215</guid>
      <dc:creator>zenop</dc:creator>
      <dc:date>2018-01-26T16:28:18Z</dc:date>
    </item>
  </channel>
</rss>

