<?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: Importing animations with varying vertex/polygon count in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7947570#M7393</link>
    <description>&lt;P&gt;Hello Marcus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for looking into this!&lt;/P&gt;&lt;P&gt;I collected some files that should make my problem reproducible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attachment&amp;nbsp;&lt;EM&gt;testshapes.zip&lt;/EM&gt;&amp;nbsp; contains two files: &lt;EM&gt;testshape.abc&amp;nbsp;&amp;nbsp;&lt;/EM&gt;and &lt;EM&gt;testshape.fbx.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;They were both exported from Houdini at 25 fps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please allow me to quickly walk you through my process. To help with this I put together a&amp;nbsp;zip-file&amp;nbsp;containing screenshots and animation previews:&amp;nbsp;&lt;EM&gt;screenshots.zip&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) &lt;EM&gt;01_testshape_preview.mp4&lt;/EM&gt;&amp;nbsp; and &lt;EM&gt;02_&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;testshape_wireframe_preview.mp4&lt;/EM&gt; show how my animation looks in &lt;/SPAN&gt;&lt;SPAN&gt;Houdini. Note that the Phong-shading is smooth and the polygon count is non-consistent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) &lt;EM&gt;03_export_settings_alembic.JPG&lt;/EM&gt;&amp;nbsp; and &lt;EM&gt;04_export_settings_fbx.JPG&lt;/EM&gt; show my export settings for the alembic file and the fbx file respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My document's&amp;nbsp;framerate is set to 25fps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) To test that my exports actually have the animation in them i imported both to Cinema 4D.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Both played the animation. However, while the alembic looks smooth as it is supposed to, the FBX does not have a smooth surface anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I now believe that this is actually not a problem with the Phong-normals as it turns out that all polygons are disconnected for some reason.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This strikes me as odd as the Windows 10 Explorer actually displays the surface with smooth shading, however without animation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please see attachments &lt;EM&gt;05_c4d_alembic.JPG&lt;/EM&gt;, &lt;EM&gt;06_c4d_fbx.JPG&lt;/EM&gt;, &lt;EM&gt;07_c4d_disconnected_polygons.JPG&lt;/EM&gt; and &lt;EM&gt;08_fbx_display_explorer.JPG &lt;/EM&gt;for visual substanciation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4)&amp;nbsp;&lt;EM&gt;09_VRED_import_alembic.JPG&amp;nbsp;&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;10_VRED_import_fbx.JPG&amp;nbsp;&amp;nbsp;&lt;/EM&gt;show my import settings in VRED.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5)&amp;nbsp;&lt;EM&gt;11_VRED_alemic.JPG&lt;/EM&gt; shows the imported alembic file in VRED with broken phong. The animation is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6)&amp;nbsp;&lt;EM&gt;12_VRED_fbx_frame_0.JPG&lt;/EM&gt;&amp;nbsp; and&amp;nbsp;&lt;EM&gt;13_VRED_fbx_frame_5.JPG&amp;nbsp;&amp;nbsp;&lt;/EM&gt;show the imported fbx file in VRED at frames 0 and 5 respectively. The animation is working but the shading is not smooth and non consistent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope that gives you a good idea of my explorations so far.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you, again, very much for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Julius&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Apr 2018 10:52:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-20T10:52:55Z</dc:date>
    <item>
      <title>Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945511#M7388</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;I'm currently exploring VRED to see if it fits in my pipeline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Short version first:&lt;/P&gt;&lt;P&gt;Is there any way to import an animated object with vertex and polygon counts that change on every frame?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In may daily work it is a common challenge to render animations of objects with&amp;nbsp;changing topology (usually meshed from volume&amp;nbsp;or particle simulations).&lt;/P&gt;&lt;P&gt;Usually I use the alembic file format for exchange of such animations between software packages.&lt;/P&gt;&lt;P&gt;When I tried importing one of my alembics to VRED I got only the first frame of the animation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any other format that supports this?&lt;/P&gt;&lt;P&gt;Am I missing anything?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help with the matter would be highly appreciated.&lt;/P&gt;&lt;P&gt;Thank you all very much in advance for your time and consideration.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 16:44:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945511#M7388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T16:44:37Z</dc:date>
    </item>
    <item>
      <title>Betreff: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945656#M7389</link>
      <description>What’s your source Application? Maya? Would Vertex Cache and FBX an alternative?</description>
      <pubDate>Thu, 19 Apr 2018 17:27:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945656#M7389</guid>
      <dc:creator>seiferp</dc:creator>
      <dc:date>2018-04-19T17:27:36Z</dc:date>
    </item>
    <item>
      <title>Betreff: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945736#M7390</link>
      <description>&lt;P&gt;Hello seiferp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;My source application is usually Houdini or Cinema 4d.&lt;BR /&gt;In the case at hand the file was exported from Houdini to alembic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was my understanding that vertex caches require consistent topology to work properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just tried importing my animation as an fbx.&lt;/P&gt;&lt;P&gt;The animation actually plays, but completely messes up my phong shading (see picture):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="broken_phong.JPG" style="width: 854px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/490806i8D75F6A5D5776A1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="broken_phong.JPG" alt="broken_phong.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know of any way to counteract that behavior?&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 17:41:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945736#M7390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T17:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945881#M7391</link>
      <description>&lt;P&gt;Hi Julius,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FBX vertex cache should work. I will have a look at the alembic issue when I'm in the office tomorrow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 18:16:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7945881#M7391</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-04-19T18:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7947153#M7392</link>
      <description>&lt;P&gt;Alright, we are handling the Alembic import with the FBX SKD, too. But it seems that it's not working as reliable as FBX. Regarding your issues with the normals, could you provide a simple demo file so that we can have a look at it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 07:36:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7947153#M7392</guid>
      <dc:creator>marcus_fritzen</dc:creator>
      <dc:date>2018-04-20T07:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7947570#M7393</link>
      <description>&lt;P&gt;Hello Marcus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for looking into this!&lt;/P&gt;&lt;P&gt;I collected some files that should make my problem reproducible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The attachment&amp;nbsp;&lt;EM&gt;testshapes.zip&lt;/EM&gt;&amp;nbsp; contains two files: &lt;EM&gt;testshape.abc&amp;nbsp;&amp;nbsp;&lt;/EM&gt;and &lt;EM&gt;testshape.fbx.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;They were both exported from Houdini at 25 fps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please allow me to quickly walk you through my process. To help with this I put together a&amp;nbsp;zip-file&amp;nbsp;containing screenshots and animation previews:&amp;nbsp;&lt;EM&gt;screenshots.zip&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) &lt;EM&gt;01_testshape_preview.mp4&lt;/EM&gt;&amp;nbsp; and &lt;EM&gt;02_&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;testshape_wireframe_preview.mp4&lt;/EM&gt; show how my animation looks in &lt;/SPAN&gt;&lt;SPAN&gt;Houdini. Note that the Phong-shading is smooth and the polygon count is non-consistent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) &lt;EM&gt;03_export_settings_alembic.JPG&lt;/EM&gt;&amp;nbsp; and &lt;EM&gt;04_export_settings_fbx.JPG&lt;/EM&gt; show my export settings for the alembic file and the fbx file respectively.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My document's&amp;nbsp;framerate is set to 25fps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) To test that my exports actually have the animation in them i imported both to Cinema 4D.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Both played the animation. However, while the alembic looks smooth as it is supposed to, the FBX does not have a smooth surface anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I now believe that this is actually not a problem with the Phong-normals as it turns out that all polygons are disconnected for some reason.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This strikes me as odd as the Windows 10 Explorer actually displays the surface with smooth shading, however without animation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please see attachments &lt;EM&gt;05_c4d_alembic.JPG&lt;/EM&gt;, &lt;EM&gt;06_c4d_fbx.JPG&lt;/EM&gt;, &lt;EM&gt;07_c4d_disconnected_polygons.JPG&lt;/EM&gt; and &lt;EM&gt;08_fbx_display_explorer.JPG &lt;/EM&gt;for visual substanciation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4)&amp;nbsp;&lt;EM&gt;09_VRED_import_alembic.JPG&amp;nbsp;&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;10_VRED_import_fbx.JPG&amp;nbsp;&amp;nbsp;&lt;/EM&gt;show my import settings in VRED.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;5)&amp;nbsp;&lt;EM&gt;11_VRED_alemic.JPG&lt;/EM&gt; shows the imported alembic file in VRED with broken phong. The animation is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6)&amp;nbsp;&lt;EM&gt;12_VRED_fbx_frame_0.JPG&lt;/EM&gt;&amp;nbsp; and&amp;nbsp;&lt;EM&gt;13_VRED_fbx_frame_5.JPG&amp;nbsp;&amp;nbsp;&lt;/EM&gt;show the imported fbx file in VRED at frames 0 and 5 respectively. The animation is working but the shading is not smooth and non consistent.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope that gives you a good idea of my explorations so far.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you, again, very much for your time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Julius&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 10:52:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7947570#M7393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-20T10:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7957922#M7394</link>
      <description>&lt;P&gt;Probably not what you are looking for but I used&amp;nbsp;@Anonymous&amp;nbsp;´s&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/vred-forum/blendshape-animation-in-vred/m-p/7676242" target="_blank"&gt;MEL Script&lt;/A&gt;&amp;nbsp;to export geometry for every frame in Maya and&amp;nbsp;created an Animated Switch Node in VRED that toggles through every state.&lt;/P&gt;
&lt;PRE&gt;$x=0;&lt;BR /&gt;&lt;BR /&gt;//Adjust the loop for the length of your animation
for( $i=0; $i&amp;lt;50; ++$i )
		{    
		    string $filename = ("C:/Users/USER/Desktop/Frame" +$x+".obj");
			currentTime (`currentTime -q`+1);
			file -op "" -typ "OBJexport" -pr -es $filename;
			$x++;
};&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Cheers&lt;/P&gt;
&lt;P&gt;Pascal&lt;/P&gt;</description>
      <pubDate>Wed, 25 Apr 2018 09:31:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7957922#M7394</guid>
      <dc:creator>seiferp</dc:creator>
      <dc:date>2018-04-25T09:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Importing animations with varying vertex/polygon count</title>
      <link>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7973865#M7395</link>
      <description>&lt;P&gt;Hello Pascal.&lt;/P&gt;&lt;P&gt;Sorry for not answering in the last week. I was out of office.&lt;/P&gt;&lt;P&gt;And thank you very much for your solution.&lt;/P&gt;&lt;P&gt;I'm not familiar with maya and mel but the sequence export is easy enough to replicate in Houdini.&lt;/P&gt;&lt;P&gt;I'm such a noob that i didn't know about the switch object &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You really helped me out a lot!&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;</description>
      <pubDate>Wed, 02 May 2018 10:36:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/importing-animations-with-varying-vertex-polygon-count/m-p/7973865#M7395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T10:36:06Z</dc:date>
    </item>
  </channel>
</rss>

