Items with no label
3338 Discussions

Changing resolution and FPS of D435 in Unity

ACast36
Beginner
1,164 Views

Hi,

 

In Unity realsense wrapper, I do not find an option to change the depth and color resolution and FPS. Could someone please point me towards how this can be done in Unity ?

 

 

0 Kudos
1 Reply
MartyG
Honored Contributor III
814 Views

You can set up an 'RsDevice' component inside an object in a Unity project that contains these settings in the Inspector under the 'Live' option tab.

 

1.png

 

 

 

The Unity RealSense wrapper has some pre-made example scenes. You can also set up your own RealSense stream management object with the relevant SDK wrapper scripts inside.

 

In my own project I have an Empty GameObject I have named RsDevice, with 'RsDevice' and 'RsDeviceInspector' components. Attached to this object are Empty Child objects (one for each of the number of Profiles that I defined in 'RsDevice'), and these child object contain an 'RsStreamTextureRenderer' component.

 

2.png

 

3.png

 

4.png

0 Kudos
Reply