<?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 Striped patchy baked occlusion in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887581#M5645</link>
    <description>&lt;P&gt;Hi guys - I've seen this on almost every CAD model (Inventor) I've imported into Vred, regardless of import type (STP, INV, DWF etc)&lt;/P&gt;
&lt;P&gt;When I bake the occlusion onto the models, again regardless of quality settings, I get these jet black areas on flat faces which I'm finding impossible to smooth out.&lt;/P&gt;
&lt;P&gt;Are there any optimisation techniques to work around this? These areas are all exposed to the environmental lighting and aren't obscured by other objects, they're all outward facing.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows.png" style="width: 713px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653608i2565CD8D7815FA65/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows.png" alt="Shadows.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows 1.png" style="width: 439px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653609i6FE9809D9891D62E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows 1.png" alt="Shadows 1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows 2.png" style="width: 818px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653610iAE58934D06C87E85/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows 2.png" alt="Shadows 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 11:09:42 GMT</pubDate>
    <dc:creator>Neil_Cross</dc:creator>
    <dc:date>2019-07-03T11:09:42Z</dc:date>
    <item>
      <title>Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887581#M5645</link>
      <description>&lt;P&gt;Hi guys - I've seen this on almost every CAD model (Inventor) I've imported into Vred, regardless of import type (STP, INV, DWF etc)&lt;/P&gt;
&lt;P&gt;When I bake the occlusion onto the models, again regardless of quality settings, I get these jet black areas on flat faces which I'm finding impossible to smooth out.&lt;/P&gt;
&lt;P&gt;Are there any optimisation techniques to work around this? These areas are all exposed to the environmental lighting and aren't obscured by other objects, they're all outward facing.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows.png" style="width: 713px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653608i2565CD8D7815FA65/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows.png" alt="Shadows.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows 1.png" style="width: 439px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653609i6FE9809D9891D62E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows 1.png" alt="Shadows 1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows 2.png" style="width: 818px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653610iAE58934D06C87E85/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows 2.png" alt="Shadows 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 11:09:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887581#M5645</guid>
      <dc:creator>Neil_Cross</dc:creator>
      <dc:date>2019-07-03T11:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887722#M5646</link>
      <description>&lt;P&gt;Hi Neil,&lt;/P&gt;&lt;P&gt;have you tried to activate the subdivision option in the bake light and shadow panel?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-03 135806.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653635i6451FB7B16621D47/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-03 135806.png" alt="Annotazione 2019-07-03 135806.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Same box imported from inventor, the left has baked with subdivision, the right without.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-03 140756.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653643i1ECB31F8C6E74119/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Annotazione 2019-07-03 140756.png" alt="Annotazione 2019-07-03 140756.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 12:08:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887722#M5646</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2019-07-03T12:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887745#M5647</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-03 140220.png" style="width: 135px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653640i8BBBD091B6E5699A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-03 140220.png" alt="Annotazione 2019-07-03 140220.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This could happens if you have shared geometries. if the first bolt to be baked is completely inside the model (so it have no light) the other bolts, if shared, receive the same shadow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 12:05:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8887745#M5647</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2019-07-03T12:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8888165#M5648</link>
      <description>&lt;P&gt;Yea I think they're unshared, I've just went to this node and done an Unshare, Unshare Node and Unshare Subtree on it, then baked the shadows using subdivision (they were before too, I used the car presets) and it still came out like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2019-07-03 152853.jpg" style="width: 605px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653721i9374E765884EA19B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotation 2019-07-03 152853.jpg" alt="Annotation 2019-07-03 152853.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;It definitely looks like a shadow from another object but I don't know how what from, I can isolate that part on its own so it isn't part of a group of objects.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 14:32:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8888165#M5648</guid>
      <dc:creator>Neil_Cross</dc:creator>
      <dc:date>2019-07-03T14:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8888307#M5649</link>
      <description>&lt;P&gt;So I just cleared the shadows from an object, ran it again with the below settings and got this unusual effect.&amp;nbsp; This doesn't look like shadows from another shared object?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shadows.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653742i92875ED3549CE4FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Shadows.jpg" alt="Shadows.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 15:27:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8888307#M5649</guid>
      <dc:creator>Neil_Cross</dc:creator>
      <dc:date>2019-07-03T15:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8888344#M5650</link>
      <description>&lt;P&gt;It doesn't seems to be a shared object.. but check the scenegraph&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-03 173445.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653748iA65CE6AD8554EFC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-03 173445.png" alt="Annotazione 2019-07-03 173445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the image you see the icons for shared nodes.&lt;/P&gt;&lt;P&gt;Could you share a part of your model to make some test?&lt;/P&gt;&lt;P&gt;... another maybe stupid question. Have you checked the normals?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 15:38:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8888344#M5650</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2019-07-03T15:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8889124#M5651</link>
      <description>&lt;P&gt;The model is too big to attach, if I delete parts the shadows don't behave in the same way! I'll try and get something put together though.&lt;/P&gt;
&lt;P&gt;But yea here's the nodes and normals...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.jpg" style="width: 838px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653907i66F69D5A5CEAE20F/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.jpg" alt="1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.jpg" style="width: 870px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/653906i88B7B1C655CF2FD1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.jpg" alt="2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 20:58:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8889124#M5651</guid>
      <dc:creator>Neil_Cross</dc:creator>
      <dc:date>2019-07-03T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8889622#M5652</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the issue arises when your tessellation is too low. The calculation for the subdivision works by inspecting the results of the two vertices on an edge. If both have the same value, no subdivision is done. So in these cases I suspect that the vertices of the triangles are completely occluded and therefore the triangle will be black, even though there are regions of the triangle that should be lit.&lt;/P&gt;
&lt;P&gt;You can try to enable the highest subdivision level to fix this. In this case the middle of the edge is also evaluated, so you increase the chance of detecting these scenarios.&lt;/P&gt;
&lt;P&gt;If that also fails, the only solution is to increase the tessellation on these objects or just add some additional subdivisions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 05:31:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8889622#M5652</guid>
      <dc:creator>michael_nikelsky</dc:creator>
      <dc:date>2019-07-04T05:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8889689#M5653</link>
      <description>&lt;P&gt;I tied to reproduce what you say, Mychael, in a typical mechanical geometry from inventor.&lt;/P&gt;&lt;P&gt;The problem is that regardless of the tessellation level you use, you have always the same type of triangles.&lt;/P&gt;&lt;P&gt;The first plate is imported with Coarse, the second with High.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-04 075451.png" style="width: 646px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/654015iC5ED1DF323868E9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-04 075451.png" alt="Annotazione 2019-07-04 075451.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and this is from Dwf&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-04 081130.png" style="width: 683px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/654016iB54B92E64B888464/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-04 081130.png" alt="Annotazione 2019-07-04 081130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this type of geometry, very common in mechanical design, almost every triangle has a vertex on a hole. And the hole normally has a bolt inside... so explained the black plates...&lt;/P&gt;&lt;P&gt;Testing the subdivision level, as you told, i think that to keep the model simple but with good shadows, for me the best options is to keep tessellation low and do the subdivision with the highest quality only on the parts that have the problem.&lt;/P&gt;&lt;P&gt;1° row = low tessellation on import&lt;/P&gt;&lt;P&gt;2°row = high tessellation on import&lt;/P&gt;&lt;P&gt;2° column = no subdivision&lt;/P&gt;&lt;P&gt;3° column = subdivision low&lt;/P&gt;&lt;P&gt;4° column = subdivision high&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotazione 2019-07-04 080334.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/654018i36154DB460CEEBE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="Annotazione 2019-07-04 080334.png" alt="Annotazione 2019-07-04 080334.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 06:23:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8889689#M5653</guid>
      <dc:creator>Christian_Garimberti</dc:creator>
      <dc:date>2019-07-04T06:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Striped patchy baked occlusion</title>
      <link>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8890048#M5654</link>
      <description>&lt;P&gt;The model I'm working with now is a DWF import (it was by far the best performance even after the optimisation dance) but there are no tesselation choices on import for DWF.&amp;nbsp; However, if I subdivide a problematic part using a max edge length of around 5, then use medium subdivision on baking, it seems to resolve the patchy shadows for the parts I've gone over so far.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem with that being I've got around 40,000 parts in this scene! Not every one suffers from this issue but there's too many to do it part by part, but if I focus on the ones that are clearly in view it should be good enough!&lt;/P&gt;
&lt;P&gt;Thanks again guys.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 09:24:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/striped-patchy-baked-occlusion/m-p/8890048#M5654</guid>
      <dc:creator>Neil_Cross</dc:creator>
      <dc:date>2019-07-04T09:24:51Z</dc:date>
    </item>
  </channel>
</rss>

