<?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 Loading state to ScenePerception module in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Loading-state-to-ScenePerception-module/m-p/1121536#M76241</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;Trying to extend the sample application for Scene Perception in Unity with a feature to save and load state of the ScenePerception module. I can successfully save state using SaveCurrentState(), but when I try to load the state in the next session the function reports success but it doesn't seem to do anything.&lt;/P&gt;

&lt;P&gt;What are the prerequisites for loading state? I have set up a SenseManager instance and call LoadState before i do Init(). Do I need to do anything else to load the mesh into Unity before I can start meshing in DepthFusion?&lt;/P&gt;

&lt;P&gt;Tried to read up in the SDK documentation but it was quite terse on the subject. Any pointers much appreciated!&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Anders&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2016 22:36:04 GMT</pubDate>
    <dc:creator>Anders_L</dc:creator>
    <dc:date>2016-07-09T22:36:04Z</dc:date>
    <item>
      <title>Loading state to ScenePerception module</title>
      <link>https://community.intel.com/t5/Software-Archive/Loading-state-to-ScenePerception-module/m-p/1121536#M76241</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;

&lt;P&gt;Trying to extend the sample application for Scene Perception in Unity with a feature to save and load state of the ScenePerception module. I can successfully save state using SaveCurrentState(), but when I try to load the state in the next session the function reports success but it doesn't seem to do anything.&lt;/P&gt;

&lt;P&gt;What are the prerequisites for loading state? I have set up a SenseManager instance and call LoadState before i do Init(). Do I need to do anything else to load the mesh into Unity before I can start meshing in DepthFusion?&lt;/P&gt;

&lt;P&gt;Tried to read up in the SDK documentation but it was quite terse on the subject. Any pointers much appreciated!&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Anders&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2016 22:36:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Loading-state-to-ScenePerception-module/m-p/1121536#M76241</guid>
      <dc:creator>Anders_L</dc:creator>
      <dc:date>2016-07-09T22:36:04Z</dc:date>
    </item>
    <item>
      <title>Alright,</title>
      <link>https://community.intel.com/t5/Software-Archive/Loading-state-to-ScenePerception-module/m-p/1121537#M76242</link>
      <description>&lt;P&gt;Alright,&lt;/P&gt;

&lt;P&gt;So I figured this out. Turns out I need to call LoadState before Init but after QueryScenePerception and EnableScenePerception.&lt;/P&gt;

&lt;P&gt;Now, I can save and load the state of the ScenePerception module, but some interesting things pop up.&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;The maximum number of block meshes that can be loaded is 16384, roughly equivalent to a space of 2x2x2m, even though I was able to capture a mesh that was considerably larger than that (6x8x2m).&lt;/LI&gt;
	&lt;LI&gt;The save file is larger for scenes that have more information than 2x2x2m, suggesting that some data is in fact saved.&lt;/LI&gt;
	&lt;LI&gt;While the meshing/reconstruction does not seem to be able to recover state from large scenes, the tracking clearly does! For instance, it can correctly track position in spaces that were meshed in a previous session.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Is there a way to overcome this limitation of 16384 block meshes, for instance by requesting block meshes in chunks by setting one 2x2x2m area at a time with SetMeshingRegion?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2016 08:31:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Loading-state-to-ScenePerception-module/m-p/1121537#M76242</guid>
      <dc:creator>Anders_L</dc:creator>
      <dc:date>2016-07-11T08:31:04Z</dc:date>
    </item>
  </channel>
</rss>

