<?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: Can I use multiple Intel RealSense cameras in a single Unity3d scene? in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684421#M16024</link>
    <description>&lt;P&gt;i know this is old but it may be useful to someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since I couldn't find a specifically helpful answer anywhere, here's what you do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Worked for me anyway In unity 2019.3.1f1)&lt;/P&gt;&lt;P&gt;1) create one rsdevice and get it working and duplicate it for each sensor you want to add and provide the serial number for each.&amp;nbsp;&lt;/P&gt;&lt;P&gt;keep the original for now for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) create a new mat, shader and processingpipe for each (just duplicate the originals)&lt;/P&gt;&lt;P&gt;3) leave stream index at 0 for all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) swap out the mat and it's shader and processingpipe in each of the duplicate rsdevices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) for each device pay attention to the number and type of profiles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;for example, if you don't use IR remove it from the array of profiles for that device in the editor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;6) disable/remove the original rsdevice you duplicated (or keep it as the first device)&lt;/P&gt;&lt;P&gt;7) you may have to lower the frame rates if you have several devices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't modify any code or have to sync the devices and it worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;good luck and have fun!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 07:51:18 GMT</pubDate>
    <dc:creator>JMcCl6</dc:creator>
    <dc:date>2020-06-12T07:51:18Z</dc:date>
    <item>
      <title>Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684416#M16019</link>
      <description>&lt;P&gt;I want to be able to use multiple cameras in the same Unity3d scene. While I was going through the SDK I saw the RsDevice.cs is a singleton so I'm not sure how multiple cameras will work in the same scene.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:28:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684416#M16019</guid>
      <dc:creator>MZaid</dc:creator>
      <dc:date>2019-01-16T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684417#M16020</link>
      <description>&lt;P&gt;Using multiple cameras in the same Unity scene certainly is possible, and has been done. A user called FrenchTouchXR worked out a way to get around the singleton problem and record multiple streams by making edits to the Unity wrapper's scripting, and provided a YouTube video demonstration (the audio is in French though).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Edit for recording multiple streams&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/issues/2203#issuecomment-412218681"&gt;https://github.com/IntelRealSense/librealsense/issues/2203#issuecomment-412218681&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;YouTube video of multiple camera recording in Unity&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=Zm8ZjLsw-vs"&gt;https://www.youtube.com/watch?v=Zm8ZjLsw-vs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;The code of the RealSenseConfiguration.cs file that frenchtouchXR's method edits&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/IntelRealSense/librealsense/blob/7148f9ae1d78b5d44bee4fc578bf0b8fb9a220c5/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/RealSenseConfiguration.cs"&gt;https://github.com/IntelRealSense/librealsense/blob/7148f9ae1d78b5d44bee4fc578bf0b8fb9a220c5/wrappers/unity/Assets/RealSenseSDK2.0/Scripts/RealSenseConfiguration.cs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:59:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684417#M16020</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-01-16T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684418#M16021</link>
      <description>&lt;P&gt;Hey thank for those links. I see he has a solution for recording from multiple devices. He says he fixed live streaming for multiple as well but no code for that anywhere :(&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 15:08:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684418#M16021</guid>
      <dc:creator>MZaid</dc:creator>
      <dc:date>2019-01-16T15:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684419#M16022</link>
      <description>&lt;P&gt;I had looked for the setup  information myself during researching of your question but was unable to find it.  I recall during the initial conversations with FrenchTouchXR before he worked out his multicam solution, an old unofficial wrapper with multi-cam streaming was being looked at.  A problem with this wrapper was that it became increasingly out of date as the official Unity wrapper's development progressed.  I believe it was FrenchTouchXR's hope to take the bits that he needed from the unofficial wrapper and integrate them into the official one to get the best of both worlds.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.intel.com/s/question/0D50P0000490SEPSA2/unofficial-unity-extension-for-realsense-400-series?language=en_US"&gt;https://forums.intel.com/s/question/0D50P0000490SEPSA2/unofficial-unity-extension-for-realsense-400-series?language=en_US&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 15:25:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684419#M16022</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2019-01-16T15:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684420#M16023</link>
      <description>&lt;P&gt;Cool thanks a lot.. I'll have a look at this wrapper. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking i'll probably just remove the singleton and because I just need the RsStreamTextureRenderer i'll pass it a reference of RsDevice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a bunch !&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 15:27:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684420#M16023</guid>
      <dc:creator>MZaid</dc:creator>
      <dc:date>2019-01-16T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684421#M16024</link>
      <description>&lt;P&gt;i know this is old but it may be useful to someone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;since I couldn't find a specifically helpful answer anywhere, here's what you do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Worked for me anyway In unity 2019.3.1f1)&lt;/P&gt;&lt;P&gt;1) create one rsdevice and get it working and duplicate it for each sensor you want to add and provide the serial number for each.&amp;nbsp;&lt;/P&gt;&lt;P&gt;keep the original for now for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) create a new mat, shader and processingpipe for each (just duplicate the originals)&lt;/P&gt;&lt;P&gt;3) leave stream index at 0 for all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) swap out the mat and it's shader and processingpipe in each of the duplicate rsdevices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) for each device pay attention to the number and type of profiles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;for example, if you don't use IR remove it from the array of profiles for that device in the editor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;6) disable/remove the original rsdevice you duplicated (or keep it as the first device)&lt;/P&gt;&lt;P&gt;7) you may have to lower the frame rates if you have several devices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't modify any code or have to sync the devices and it worked for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;good luck and have fun!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 07:51:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684421#M16024</guid>
      <dc:creator>JMcCl6</dc:creator>
      <dc:date>2020-06-12T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684422#M16025</link>
      <description>&lt;P&gt;&lt;A href="https://community.intel.com/sfdc-users/JMcCl6"&gt;@JMcCl6&lt;/A&gt;​&amp;nbsp; Thanks so much for your great guide!  I have reposted it in full on the current RealSense forum for ease of access.  :)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt; &lt;A href="https://support.intelrealsense.com/hc/en-us/community/posts/360047049173"&gt;https://support.intelrealsense.com/hc/en-us/community/posts/360047049173&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 13:15:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/684422#M16025</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2020-06-12T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use multiple Intel RealSense cameras in a single Unity3d scene?</title>
      <link>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/1520868#M17791</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/35680"&gt;@JMcCl6&lt;/a&gt;&amp;nbsp; Hi, does this method still work in the latest version of Unity? I'm a bit unsure if I did steps 2 and 4 correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 23:12:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/Can-I-use-multiple-Intel-RealSense-cameras-in-a-single-Unity3d/m-p/1520868#M17791</guid>
      <dc:creator>visual</dc:creator>
      <dc:date>2023-09-05T23:12:24Z</dc:date>
    </item>
  </channel>
</rss>

